diff options
Diffstat (limited to 'groovy/postInit/tools.groovy')
| -rw-r--r-- | groovy/postInit/tools.groovy | 25 | 
1 files changed, 11 insertions, 14 deletions
| diff --git a/groovy/postInit/tools.groovy b/groovy/postInit/tools.groovy index 95ce29f..0e35faf 100644 --- a/groovy/postInit/tools.groovy +++ b/groovy/postInit/tools.groovy @@ -1,6 +1,3 @@ - - -  for (def i in [  	item("minecraft:stone_sword"),  	item("minecraft:iron_sword"), @@ -27,8 +24,8 @@ for (def i in [  	item("minecraft:golden_hoe"),  	item("minecraft:diamond_hoe")  ]) { -	crafting.removeByOutput(i); -	mods.jei.ingredient.yeet(i); +	crafting.removeByOutput(i) +	mods.jei.ingredient.yeet(i)  }  for (def i in [ @@ -41,7 +38,7 @@ for (def i in [  	item("gregtech:spade"),  	item("gregtech:scythe")  ]) { -	crafting.removeByOutput(i); +	crafting.removeByOutput(i)  }  for (def i in [ @@ -73,27 +70,27 @@ for (def i in [  		[null, i.value, null],  		[null, i.value, null],  		[null, ore("stickWood"), null] -	]); +	])  	crafting.addShaped(item("gregtech:pickaxe").withNbt(["GT.Tool": ["Material": i.key]]), [  		[i.value, i.value, i.value],  		[null, ore("stickWood"), null],  		[null, ore("stickWood"), null] -	]); +	])  	crafting.addShaped(item("gregtech:axe").withNbt(["GT.Tool": ["Material": i.key]]), [  		[i.value, i.value, null],  		[i.value, ore("stickWood"), null],  		[null, ore("stickWood"), null] -	]); +	])  	crafting.addShaped(item("gregtech:shovel").withNbt(["GT.Tool": ["Material": i.key]]), [  		[null, i.value, null],  		[null, ore("stickWood"), null],  		[null, ore("stickWood"), null] -	]); +	])  	crafting.addShaped(item("gregtech:hoe").withNbt(["GT.Tool": ["Material": i.key]]), [  		[i.value, i.value, null],  		[null, ore("stickWood"), null],  		[null, ore("stickWood"), null] -	]); +	])  	if (i.key!="gregtech:flint") {  		crafting.addShaped(item("gregtech:mining_hammer").withNbt([  		"GT.Behaviours": [ @@ -110,7 +107,7 @@ for (def i in [  			[i.value, i.value, i.value],  			[i.value, ore("stickWood"), i.value],  			[null, ore("stickWood"), null] -		]); +		])  		crafting.addShaped(item("gregtech:spade").withNbt([  		"GT.Behaviours": [  			"AoELayer": 0, @@ -125,7 +122,7 @@ for (def i in [  			[null, i.value, null],  			[i.value, ore("stickWood"), i.value],  			[null, ore("stickWood"), null] -		]); +		])  		crafting.addShaped(item("gregtech:scythe").withNbt([  		"GT.Behaviours": [  			"AoELayer": 2, @@ -140,7 +137,7 @@ for (def i in [  			[i.value, i.value, i.value],  			[null, null, ore("stickWood")],  			[null, null, ore("stickWood")] -		]); +		])  	}  }  item("gregtech:mining_hammer").withNbt(["GT.Behaviours": ["AoELayer": 0, "MaxAoELayer": 0, "TorchPlacing": (byte) 1, "AoERow": 1, "AoEColumn": 1, "MaxAoERow": 1, "MaxAoEColumn": 1], "HideFlags": 2, "GT.Tool": ["MaxDurability": 767, "ToolSpeed": 4.8F, "AttackDamage": 3.5F, "Durability": 0, "Material": "gregtech:iron", "HarvestLevel": 2, "AttackSpeed": -3.2F]]) | 
