pastefile1
@@ -0,0 +1,36 @@
+name: "mineriumore"
+item:
+ material: GOLD_BLOCK
+ displayName: '&eMinerai de Minerium'
+
+canBeUsedGenerically: false
+canBePlaced: true
+
+block:
+ generation:
+ -
+ method: ore
+ worlds:
+ - world
+ continueChance: 0
+ generationChance: 0.3
+ amountPerChunk: 1
+ minY: 0
+ maxY: 8
+handlers:
+ blockBreak:
+ actions:
+ -
+ invertIfResult: true
+ ifItemInHand:
+ - "minecraft:diamond_pickaxe"
+ - "mineriumpickaxe"
+ action: cancel
+ elseActions:
+ -
+ action: playerAddLevels
+ amount : 1
+ -
+ action: setDrops
+ items:
+ - "mineriumfragment"
\ No newline at end of file