2
2
3
3
import static com .jaquadro .minecraft .storagedrawers .StorageDrawers .config ;
4
4
import static gregtech .api .recipe .RecipeMaps .assemblerRecipes ;
5
- import static gregtech .api .util .GT_RecipeBuilder .MINUTES ;
6
- import static gregtech .api .util .GT_RecipeBuilder .SECONDS ;
5
+ import static gregtech .api .util .GTRecipeBuilder .MINUTES ;
6
+ import static gregtech .api .util .GTRecipeBuilder .SECONDS ;
7
7
import static net .minecraftforge .fluids .FluidRegistry .getFluidStack ;
8
8
9
9
import net .minecraft .init .Blocks ;
19
19
20
20
import cpw .mods .fml .common .registry .GameRegistry ;
21
21
import cpw .mods .fml .common .registry .GameRegistry .UniqueIdentifier ;
22
- import gregtech .api .enums .GT_Values ;
22
+ import gregtech .api .enums .GTValues ;
23
23
import gregtech .api .enums .Materials ;
24
24
import gregtech .api .enums .TierEU ;
25
- import gregtech .api .util .GT_Utility ;
25
+ import gregtech .api .util .GTUtility ;
26
26
27
27
public class ModRecipes {
28
28
@@ -78,11 +78,11 @@ public class ModRecipes {
78
78
private static final ItemStack chest2 = new ItemStack (Blocks .chest , 2 );
79
79
private static final ItemStack chest4 = new ItemStack (Blocks .chest , 4 );
80
80
private static final ItemStack chest5 = new ItemStack (Blocks .chest , 5 );
81
- private static final ItemStack integratedCircuit1 = GT_Utility .getIntegratedCircuit (1 );
82
- private static final ItemStack integratedCircuit2 = GT_Utility .getIntegratedCircuit (2 );
83
- private static final ItemStack integratedCircuit4 = GT_Utility .getIntegratedCircuit (4 );
84
- private static final ItemStack integratedCircuit12 = GT_Utility .getIntegratedCircuit (12 );
85
- private static final ItemStack integratedCircuit14 = GT_Utility .getIntegratedCircuit (14 );
81
+ private static final ItemStack integratedCircuit1 = GTUtility .getIntegratedCircuit (1 );
82
+ private static final ItemStack integratedCircuit2 = GTUtility .getIntegratedCircuit (2 );
83
+ private static final ItemStack integratedCircuit4 = GTUtility .getIntegratedCircuit (4 );
84
+ private static final ItemStack integratedCircuit12 = GTUtility .getIntegratedCircuit (12 );
85
+ private static final ItemStack integratedCircuit14 = GTUtility .getIntegratedCircuit (14 );
86
86
87
87
// Ingredients for Framed Drawers recipes
88
88
private static final ItemStack carpentersBlock8 = GameRegistry
@@ -219,7 +219,7 @@ private static void fullDrawers1Recipes() {
219
219
220
220
// Oak Drawer Full 1x1 Gregtech Assembler recipes
221
221
for (ItemStack slabWood8W : slabWood8WList )
222
- GT_Values .RA .stdBuilder ().itemInputs (slabWood8W , chest1 , integratedCircuit1 ).itemOutputs (fullDrawer1 )
222
+ GTValues .RA .stdBuilder ().itemInputs (slabWood8W , chest1 , integratedCircuit1 ).itemOutputs (fullDrawer1 )
223
223
.duration (10 * SECONDS ).eut (16 ).addTo (assemblerRecipes );
224
224
225
225
// Framed Drawer Full 1x1
@@ -232,7 +232,7 @@ private static void fullDrawers1Recipes() {
232
232
new ShapedOreRecipe (fullCustom1 , "bbb" , "bcb" , "bbb" , 'b' , carpentersBlock1 , 'c' , ORE_chestWood ));
233
233
234
234
// Framed Drawer Full 1x1 Gregtech Assembler recipe
235
- GT_Values .RA .stdBuilder ().itemInputs (carpentersBlock8 , chest1 , integratedCircuit1 ).itemOutputs (fullCustom1 )
235
+ GTValues .RA .stdBuilder ().itemInputs (carpentersBlock8 , chest1 , integratedCircuit1 ).itemOutputs (fullCustom1 )
236
236
.duration (10 * SECONDS ).eut (16 ).addTo (assemblerRecipes );
237
237
}
238
238
@@ -250,7 +250,7 @@ private static void fullDrawers2Recipes() {
250
250
251
251
// Oak Drawer Full 1x2 Gregtech Assembler recipes
252
252
for (ItemStack slabWood7W : slabWood7WList )
253
- GT_Values .RA .stdBuilder ().itemInputs (slabWood7W , chest2 , integratedCircuit2 ).itemOutputs (fullDrawers2 )
253
+ GTValues .RA .stdBuilder ().itemInputs (slabWood7W , chest2 , integratedCircuit2 ).itemOutputs (fullDrawers2 )
254
254
.duration (10 * SECONDS ).eut (16 ).addTo (assemblerRecipes );
255
255
256
256
// Framed Drawer Full 1x2
@@ -263,7 +263,7 @@ private static void fullDrawers2Recipes() {
263
263
new ShapedOreRecipe (fullCustom2 , "bcb" , "bbb" , "bcb" , 'b' , carpentersBlock1 , 'c' , ORE_chestWood ));
264
264
265
265
// Framed Drawer Full 1x2 Gregtech Assembler recipe
266
- GT_Values .RA .stdBuilder ().itemInputs (carpentersBlock7 , chest2 , integratedCircuit2 ).itemOutputs (fullCustom2 )
266
+ GTValues .RA .stdBuilder ().itemInputs (carpentersBlock7 , chest2 , integratedCircuit2 ).itemOutputs (fullCustom2 )
267
267
.duration (10 * SECONDS ).eut (16 ).addTo (assemblerRecipes );
268
268
}
269
269
@@ -281,7 +281,7 @@ private static void fullDrawers4Recipes() {
281
281
282
282
// Oak Drawer Full 2x2 Gregtech Assembler recipes
283
283
for (ItemStack slabWood5W : slabWood5WList )
284
- GT_Values .RA .stdBuilder ().itemInputs (slabWood5W , chest4 , integratedCircuit4 ).itemOutputs (fullDrawers4 )
284
+ GTValues .RA .stdBuilder ().itemInputs (slabWood5W , chest4 , integratedCircuit4 ).itemOutputs (fullDrawers4 )
285
285
.duration (10 * SECONDS ).eut (16 ).addTo (assemblerRecipes );
286
286
287
287
// Framed Drawer Full 2x2
@@ -294,7 +294,7 @@ private static void fullDrawers4Recipes() {
294
294
new ShapedOreRecipe (fullCustom4 , "cbc" , "bbb" , "cbc" , 'b' , carpentersBlock1 , 'c' , ORE_chestWood ));
295
295
296
296
// Framed Drawer Full 2x2 Gregtech Assembler recipe
297
- GT_Values .RA .stdBuilder ().itemInputs (carpentersBlock5 , chest4 , integratedCircuit4 ).itemOutputs (fullCustom4 )
297
+ GTValues .RA .stdBuilder ().itemInputs (carpentersBlock5 , chest4 , integratedCircuit4 ).itemOutputs (fullCustom4 )
298
298
.duration (10 * SECONDS ).eut (16 ).addTo (assemblerRecipes );
299
299
}
300
300
@@ -312,7 +312,7 @@ private static void halfDrawers2Recipes() {
312
312
313
313
// Oak Drawer Half 1x2 Gregtech Assembler recipes
314
314
for (ItemStack slabWood7W : slabWood7WList )
315
- GT_Values .RA .stdBuilder ().itemInputs (slabWood7W , chest2 , integratedCircuit12 ).itemOutputs (halfDrawers2 )
315
+ GTValues .RA .stdBuilder ().itemInputs (slabWood7W , chest2 , integratedCircuit12 ).itemOutputs (halfDrawers2 )
316
316
.duration (10 * SECONDS ).eut (16 ).addTo (assemblerRecipes );
317
317
318
318
// Framed Drawer Half 1x2
@@ -325,7 +325,7 @@ private static void halfDrawers2Recipes() {
325
325
new ShapedOreRecipe (halfCustom2 , "bbb" , "cbc" , "bbb" , 'b' , carpentersBlock1 , 'c' , ORE_chestWood ));
326
326
327
327
// Framed Drawer Half 1x2 Gregtech Assembler recipe
328
- GT_Values .RA .stdBuilder ().itemInputs (carpentersBlock7 , chest2 , integratedCircuit12 ).itemOutputs (halfCustom2 )
328
+ GTValues .RA .stdBuilder ().itemInputs (carpentersBlock7 , chest2 , integratedCircuit12 ).itemOutputs (halfCustom2 )
329
329
.duration (10 * SECONDS ).eut (16 ).addTo (assemblerRecipes );
330
330
}
331
331
@@ -342,7 +342,7 @@ private static void halfDrawers4Recipes() {
342
342
new ShapedOreRecipe (halfDrawers4 , "csc" , "scs" , "csc" , 's' , ORE_slabWood , 'c' , ORE_chestWood ));
343
343
344
344
for (ItemStack slabWood4W : slabWood4WList )
345
- GT_Values .RA .stdBuilder ().itemInputs (slabWood4W , chest5 , integratedCircuit14 ).itemOutputs (halfDrawers4 )
345
+ GTValues .RA .stdBuilder ().itemInputs (slabWood4W , chest5 , integratedCircuit14 ).itemOutputs (halfDrawers4 )
346
346
.duration (10 * SECONDS ).eut (16 ).addTo (assemblerRecipes );
347
347
348
348
// Framed Drawer Half 2x2
@@ -355,7 +355,7 @@ private static void halfDrawers4Recipes() {
355
355
new ShapedOreRecipe (halfCustom4 , "cbc" , "bcb" , "cbc" , 'b' , carpentersBlock1 , 'c' , ORE_chestWood ));
356
356
357
357
// Framed Drawer Half 2x2 Gregtech Assembler recipe
358
- GT_Values .RA .stdBuilder ().itemInputs (carpentersBlock4 , chest5 , integratedCircuit14 ).itemOutputs (halfCustom4 )
358
+ GTValues .RA .stdBuilder ().itemInputs (carpentersBlock4 , chest5 , integratedCircuit14 ).itemOutputs (halfCustom4 )
359
359
.duration (10 * SECONDS ).eut (16 ).addTo (assemblerRecipes );
360
360
}
361
361
@@ -372,7 +372,7 @@ private static void trimRecipes() {
372
372
373
373
// Oak Trim Gregtech Assembler recipe
374
374
for (ItemStack slabWood5W : slabWood5WList )
375
- GT_Values .RA .stdBuilder ().itemInputs (slabWood5W , stick4 , integratedCircuit1 ).itemOutputs (trim )
375
+ GTValues .RA .stdBuilder ().itemInputs (slabWood5W , stick4 , integratedCircuit1 ).itemOutputs (trim )
376
376
.duration (10 * SECONDS ).eut (16 ).addTo (assemblerRecipes );
377
377
378
378
// Framed Trim
@@ -385,7 +385,7 @@ private static void trimRecipes() {
385
385
new ShapedOreRecipe (trimCustom , "tbt" , "bbb" , "tbt" , 'b' , carpentersBlock1 , 't' , ORE_stickWood ));
386
386
387
387
// Framed Trim Gregtech Assembler recipe
388
- GT_Values .RA .stdBuilder ().itemInputs (carpentersBlock5 , stick4 , integratedCircuit1 ).itemOutputs (trimCustom )
388
+ GTValues .RA .stdBuilder ().itemInputs (carpentersBlock5 , stick4 , integratedCircuit1 ).itemOutputs (trimCustom )
389
389
.duration (10 * SECONDS ).eut (16 ).addTo (assemblerRecipes );
390
390
}
391
391
@@ -490,7 +490,7 @@ private static void upgradeTemplateRecipes() {
490
490
't' ,
491
491
ORE_craftingToolScrewdriver ));
492
492
493
- for (ItemStack drawer : drawerBasicW ) GT_Values .RA .stdBuilder ().itemInputs (drawer , piston )
493
+ for (ItemStack drawer : drawerBasicW ) GTValues .RA .stdBuilder ().itemInputs (drawer , piston )
494
494
.itemOutputs (upgradeTemplate ).duration (1 * MINUTES ).eut (16 ).addTo (assemblerRecipes );
495
495
}
496
496
@@ -743,7 +743,7 @@ private static void shroudKeyUpgradeRecipes() {
743
743
if (!config .cache .enableShroudUpgrades ) return ;
744
744
745
745
// Concealment Key
746
- GT_Values .RA .stdBuilder ().itemInputs (upgradeLock , new ItemStack (Items .ender_eye ))
746
+ GTValues .RA .stdBuilder ().itemInputs (upgradeLock , new ItemStack (Items .ender_eye ))
747
747
.itemOutputs (new ItemStack (ModItems .shroudKey )).duration (5 * SECONDS ).eut (TierEU .RECIPE_LV )
748
748
.addTo (assemblerRecipes );
749
749
}
@@ -752,7 +752,7 @@ private static void personalKeyUpgradeRecipes() {
752
752
if (!config .cache .enablePersonalUpgrades ) return ;
753
753
754
754
// Storage Personal Key
755
- GT_Values .RA .stdBuilder ().itemInputs (upgradeLock , new ItemStack (Items .name_tag ))
755
+ GTValues .RA .stdBuilder ().itemInputs (upgradeLock , new ItemStack (Items .name_tag ))
756
756
.itemOutputs (new ItemStack (ModItems .personalKey )).duration (5 * SECONDS ).eut (TierEU .RECIPE_LV )
757
757
.addTo (assemblerRecipes );
758
758
}
@@ -761,11 +761,11 @@ private static void packingTapeRecipes() {
761
761
if (!config .cache .enableTape ) return ;
762
762
763
763
// Packing Tape
764
- GT_Values .RA .stdBuilder ().itemInputs (new ItemStack (Items .paper ), integratedCircuit1 )
764
+ GTValues .RA .stdBuilder ().itemInputs (new ItemStack (Items .paper ), integratedCircuit1 )
765
765
.fluidInputs (getFluidStack ("glue" , 144 )).itemOutputs (new ItemStack (ModItems .tape ))
766
766
.duration (10 * SECONDS ).eut (TierEU .RECIPE_LV ).addTo (assemblerRecipes );
767
767
768
- GT_Values .RA .stdBuilder ().itemInputs (new ItemStack (Items .paper ), integratedCircuit1 )
768
+ GTValues .RA .stdBuilder ().itemInputs (new ItemStack (Items .paper ), integratedCircuit1 )
769
769
.fluidInputs (Materials .Glue .getFluid (144 )).itemOutputs (new ItemStack (ModItems .tape ))
770
770
.duration (10 * SECONDS ).eut (TierEU .RECIPE_LV ).addTo (assemblerRecipes );
771
771
}
0 commit comments