Skip to content

Commit 918c997

Browse files
committed
Fix explosives
1 parent bff697a commit 918c997

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

src/main/java/gtexpert/integration/deda/recipes/DraconicMaterialsRecipe.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,25 +131,25 @@ public static void init() {
131131
.input(DEFeatures.dragonHeart, 1)
132132
.input(block, GTEMaterials.Draconium, 4)
133133
.output(block, GTEMaterials.AwakenedDraconium, 3)
134-
.explosivesType(new ItemStack(MetaBlocks.POWDERBARREL, 8))
134+
.explosives(new ItemStack(MetaBlocks.POWDERBARREL, 8))
135135
.buildAndRegister();
136136
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
137137
.input(DEFeatures.dragonHeart, 1)
138138
.input(block, GTEMaterials.Draconium, 4)
139139
.output(block, GTEMaterials.AwakenedDraconium, 3)
140-
.explosivesAmount(4)
140+
.explosives(4)
141141
.buildAndRegister();
142142
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
143143
.input(DEFeatures.dragonHeart, 1)
144144
.input(block, GTEMaterials.Draconium, 4)
145145
.output(block, GTEMaterials.AwakenedDraconium, 3)
146-
.explosivesType(MetaItems.DYNAMITE.getStackForm(2))
146+
.explosives(MetaItems.DYNAMITE.getStackForm(2))
147147
.buildAndRegister();
148148
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
149149
.input(DEFeatures.dragonHeart, 1)
150150
.input(block, GTEMaterials.Draconium, 4)
151151
.output(block, GTEMaterials.AwakenedDraconium, 3)
152-
.explosivesType(new ItemStack(MetaBlocks.ITNT))
152+
.explosives(new ItemStack(MetaBlocks.ITNT))
153153
.buildAndRegister();
154154
GTERecipeMaps.ELECTRIC_IMPLOSION_COMPRESSOR_RECIPES.recipeBuilder()
155155
.input(DEFeatures.dragonHeart, 1)

src/main/java/gtexpert/loaders/recipe/handlers/GTEMaterialRecipeHandler.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ public static void addImplosionRecipes(Material inputMaterial, Material outputMa
2020
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
2121
.input(dust, inputMaterial, 4)
2222
.output(gem, outputMaterial, 3)
23-
.explosivesType(new ItemStack(MetaBlocks.POWDERBARREL, 8))
23+
.explosives(new ItemStack(MetaBlocks.POWDERBARREL, 8))
2424
.chancedOutput(dust, Materials.DarkAsh, 2500, 0)
2525
.buildAndRegister();
2626
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
2727
.input(dust, inputMaterial, 4)
2828
.output(gem, outputMaterial, 3)
29-
.explosivesAmount(4)
29+
.explosives(4)
3030
.chancedOutput(dust, Materials.DarkAsh, 2500, 0)
3131
.buildAndRegister();
3232
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
3333
.input(dust, inputMaterial, 4)
3434
.output(gem, outputMaterial, 3)
35-
.explosivesType(MetaItems.DYNAMITE.getStackForm(2))
35+
.explosives(MetaItems.DYNAMITE.getStackForm(2))
3636
.chancedOutput(dust, Materials.DarkAsh, 2500, 0)
3737
.buildAndRegister();
3838
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
3939
.input(dust, inputMaterial, 4)
4040
.output(gem, outputMaterial, 3)
41-
.explosivesType(new ItemStack(MetaBlocks.ITNT))
41+
.explosives(new ItemStack(MetaBlocks.ITNT))
4242
.chancedOutput(dust, Materials.DarkAsh, 2500, 0)
4343
.buildAndRegister();
4444
GTERecipeMaps.ELECTRIC_IMPLOSION_COMPRESSOR_RECIPES.recipeBuilder()
@@ -52,25 +52,25 @@ public static void addImplosionRecipes(Material inputMaterial, ItemStack outputS
5252
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
5353
.input(dust, inputMaterial, 4)
5454
.outputs(GTUtility.copy(3, outputStack))
55-
.explosivesType(new ItemStack(MetaBlocks.POWDERBARREL, 8))
55+
.explosives(new ItemStack(MetaBlocks.POWDERBARREL, 8))
5656
.chancedOutput(dust, Materials.DarkAsh, 2500, 0)
5757
.buildAndRegister();
5858
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
5959
.input(dust, inputMaterial, 4)
6060
.outputs(GTUtility.copy(3, outputStack))
61-
.explosivesAmount(4)
61+
.explosives(4)
6262
.chancedOutput(dust, Materials.DarkAsh, 2500, 0)
6363
.buildAndRegister();
6464
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
6565
.input(dust, inputMaterial, 4)
6666
.outputs(outputStack)
67-
.explosivesType(MetaItems.DYNAMITE.getStackForm(2))
67+
.explosives(MetaItems.DYNAMITE.getStackForm(2))
6868
.chancedOutput(dust, Materials.DarkAsh, 2500, 0)
6969
.buildAndRegister();
7070
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
7171
.input(dust, inputMaterial, 4)
7272
.outputs(GTUtility.copy(3, outputStack))
73-
.explosivesType(new ItemStack(MetaBlocks.ITNT))
73+
.explosives(new ItemStack(MetaBlocks.ITNT))
7474
.chancedOutput(dust, Materials.DarkAsh, 2500, 0)
7575
.buildAndRegister();
7676
GTERecipeMaps.ELECTRIC_IMPLOSION_COMPRESSOR_RECIPES.recipeBuilder()
@@ -84,25 +84,25 @@ public static void addImplosionRecipes(String inputOreDict, ItemStack outputStac
8484
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
8585
.input(inputOreDict, 4)
8686
.outputs(GTUtility.copy(3, outputStack))
87-
.explosivesType(new ItemStack(MetaBlocks.POWDERBARREL, 8))
87+
.explosives(new ItemStack(MetaBlocks.POWDERBARREL, 8))
8888
.chancedOutput(dust, Materials.DarkAsh, 2500, 0)
8989
.buildAndRegister();
9090
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
9191
.input(inputOreDict, 4)
9292
.outputs(GTUtility.copy(3, outputStack))
93-
.explosivesAmount(4)
93+
.explosives(4)
9494
.chancedOutput(dust, Materials.DarkAsh, 2500, 0)
9595
.buildAndRegister();
9696
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
9797
.input(inputOreDict, 4)
9898
.outputs(GTUtility.copy(3, outputStack))
99-
.explosivesType(MetaItems.DYNAMITE.getStackForm(2))
99+
.explosives(MetaItems.DYNAMITE.getStackForm(2))
100100
.chancedOutput(dust, Materials.DarkAsh, 2500, 0)
101101
.buildAndRegister();
102102
RecipeMaps.IMPLOSION_RECIPES.recipeBuilder()
103103
.input(inputOreDict, 4)
104104
.outputs(GTUtility.copy(3, outputStack))
105-
.explosivesType(new ItemStack(MetaBlocks.ITNT))
105+
.explosives(new ItemStack(MetaBlocks.ITNT))
106106
.chancedOutput(dust, Materials.DarkAsh, 2500, 0)
107107
.buildAndRegister();
108108
GTERecipeMaps.ELECTRIC_IMPLOSION_COMPRESSOR_RECIPES.recipeBuilder()

0 commit comments

Comments
 (0)