17
17
import java .util .Arrays ;
18
18
import java .util .List ;
19
19
20
- import net .minecraft .item .ItemStack ;
21
20
import net .minecraftforge .fluids .FluidRegistry ;
22
21
23
22
import com .dreammaster .gthandler .CustomItemList ;
34
33
import gregtech .api .enums .TierEU ;
35
34
import gregtech .api .util .GTModHandler ;
36
35
import gregtech .api .util .GTOreDictUnificator ;
37
- import gregtech .api .util .GTUtility ;
38
- import gtPlusPlus .core .item .chemistry .GenericChem ;
39
36
import gtPlusPlus .core .material .MaterialsAlloy ;
40
- import gtPlusPlus .xmod .forestry .bees .items .FRItemRegistry ;
41
37
import gtPlusPlus .xmod .gregtech .api .enums .GregtechItemList ;
42
38
43
39
public class ScriptGregtechPlusPlus implements IScriptLoader {
@@ -117,9 +113,8 @@ public void loadRecipes() {
117
113
.itemOutputs (GTOreDictUnificator .get ("dustShirabon" , 64 ), ItemList .Timepiece .get (1 ))
118
114
.fluidInputs (MaterialsUEVplus .PrimordialMatter .getFluid (1152 ))
119
115
.fluidOutputs (MaterialsUEVplus .Eternity .getMolten (9216 ), MaterialsUEVplus .Time .getMolten (18432 ))
120
- .metadata (QFT_CATALYST , GTUtility .copyAmount (0 , GenericChem .TemporalHarmonyCatalyst ))
121
- .metadata (QFT_FOCUS_TIER , 4 ).duration (20 * SECONDS ).eut (TierEU .RECIPE_UMV )
122
- .addTo (quantumForceTransformerRecipes );
116
+ .metadata (QFT_CATALYST , GregtechItemList .TemporalHarmonyCatalyst .get (0 )).metadata (QFT_FOCUS_TIER , 4 )
117
+ .duration (20 * SECONDS ).eut (TierEU .RECIPE_UMV ).addTo (quantumForceTransformerRecipes );
123
118
addForestryRecipes ();
124
119
}
125
120
@@ -133,9 +128,8 @@ private void addForestryRecipes() {
133
128
GTOreDictUnificator .get (OrePrefixes .stick , Materials .WoodSealed , 4 ),
134
129
GTModHandler .getModItem (Minecraft .ID , "paper" , 1 , 0 , missing ),
135
130
GTModHandler .getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ))
136
- .fluidInputs (Materials .Redstone .getMolten (576 ))
137
- .itemOutputs (new ItemStack (FRItemRegistry .hiveFrameArborist )).duration (30 * SECONDS )
138
- .eut (TierEU .RECIPE_HV ).addTo (assemblerRecipes );
131
+ .fluidInputs (Materials .Redstone .getMolten (576 )).itemOutputs (GregtechItemList .HiveFrameArborist .get (1 ))
132
+ .duration (30 * SECONDS ).eut (TierEU .RECIPE_HV ).addTo (assemblerRecipes );
139
133
140
134
// Stabilization Frame
141
135
GTValues .RA .stdBuilder ()
@@ -144,9 +138,8 @@ private void addForestryRecipes() {
144
138
GTOreDictUnificator .get (OrePrefixes .stick , Materials .Osmiridium , 4 ),
145
139
GTOreDictUnificator .get (OrePrefixes .foil , Materials .Osmiridium , 1 ),
146
140
GTModHandler .getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ))
147
- .fluidInputs (Materials .Redstone .getMolten (576 ))
148
- .itemOutputs (new ItemStack (FRItemRegistry .hiveFrameStalilize )).duration (30 * SECONDS )
149
- .eut (TierEU .RECIPE_HV ).addTo (assemblerRecipes );
141
+ .fluidInputs (Materials .Redstone .getMolten (576 )).itemOutputs (GregtechItemList .HiveFrameStabilize .get (1 ))
142
+ .duration (30 * SECONDS ).eut (TierEU .RECIPE_HV ).addTo (assemblerRecipes );
150
143
151
144
// Slowing Frame
152
145
GTValues .RA .stdBuilder ()
@@ -155,9 +148,8 @@ private void addForestryRecipes() {
155
148
MaterialsAlloy .TUMBAGA .getRod (4 ),
156
149
GTOreDictUnificator .get (OrePrefixes .foil , Materials .Electrum , 1 ),
157
150
GTModHandler .getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ))
158
- .fluidInputs (Materials .Redstone .getMolten (576 ))
159
- .itemOutputs (new ItemStack (FRItemRegistry .hiveFrameSlow , 1 , 0 )).duration (30 * SECONDS )
160
- .eut (TierEU .RECIPE_HV ).addTo (assemblerRecipes );
151
+ .fluidInputs (Materials .Redstone .getMolten (576 )).itemOutputs (GregtechItemList .HiveFrameSlow .get (1 ))
152
+ .duration (30 * SECONDS ).eut (TierEU .RECIPE_HV ).addTo (assemblerRecipes );
161
153
162
154
// Decaying Frame
163
155
GTValues .RA .stdBuilder ()
@@ -166,9 +158,8 @@ private void addForestryRecipes() {
166
158
GTOreDictUnificator .get (OrePrefixes .stick , Materials .WroughtIron , 4 ),
167
159
GTOreDictUnificator .get (OrePrefixes .foil , Materials .WroughtIron , 1 ),
168
160
GTModHandler .getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ))
169
- .fluidInputs (Materials .Redstone .getMolten (576 ))
170
- .itemOutputs (new ItemStack (FRItemRegistry .hiveFrameDecay )).duration (30 * SECONDS ).eut (TierEU .RECIPE_HV )
171
- .addTo (assemblerRecipes );
161
+ .fluidInputs (Materials .Redstone .getMolten (576 )).itemOutputs (GregtechItemList .HiveFrameDecay .get (1 ))
162
+ .duration (30 * SECONDS ).eut (TierEU .RECIPE_HV ).addTo (assemblerRecipes );
172
163
173
164
// Working Frame
174
165
GTValues .RA .stdBuilder ()
@@ -177,7 +168,7 @@ private void addForestryRecipes() {
177
168
GTOreDictUnificator .get (OrePrefixes .stick , Materials .BlueSteel , 4 ),
178
169
GTOreDictUnificator .get (OrePrefixes .gem , Materials .NetherStar , 1 ),
179
170
GTModHandler .getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ))
180
- .fluidInputs (Materials .Redstone .getMolten (576 )).itemOutputs (new ItemStack ( FRItemRegistry . hiveFrameBusy ))
171
+ .fluidInputs (Materials .Redstone .getMolten (576 )).itemOutputs (GregtechItemList . HiveFrameBusy . get ( 1 ))
181
172
.duration (30 * SECONDS ).eut (TierEU .RECIPE_HV ).addTo (assemblerRecipes );
182
173
183
174
// Mutagenic Frame
@@ -187,9 +178,8 @@ private void addForestryRecipes() {
187
178
GTOreDictUnificator .get (OrePrefixes .stick , Materials .Plutonium241 , 4 ),
188
179
GTOreDictUnificator .get (OrePrefixes .foil , Materials .Plutonium241 , 1 ),
189
180
GTModHandler .getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ))
190
- .fluidInputs (Materials .Redstone .getMolten (576 ))
191
- .itemOutputs (new ItemStack (FRItemRegistry .hiveFrameMutagenic )).duration (30 * SECONDS )
192
- .eut (TierEU .RECIPE_HV ).addTo (assemblerRecipes );
181
+ .fluidInputs (Materials .Redstone .getMolten (576 )).itemOutputs (GregtechItemList .HiveFrameMutagenic .get (1 ))
182
+ .duration (30 * SECONDS ).eut (TierEU .RECIPE_HV ).addTo (assemblerRecipes );
193
183
194
184
// Accelerated Frame
195
185
GTValues .RA .stdBuilder ()
@@ -199,15 +189,15 @@ private void addForestryRecipes() {
199
189
GTOreDictUnificator .get (OrePrefixes .foil , Materials .Electrum , 1 ),
200
190
GTModHandler .getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ))
201
191
.fluidInputs (Materials .Redstone .getMolten (576 ))
202
- .itemOutputs (new ItemStack ( FRItemRegistry . hiveFrameAccelerated )).duration (30 * SECONDS )
203
- .eut ( TierEU . RECIPE_HV ). addTo (assemblerRecipes );
192
+ .itemOutputs (GregtechItemList . HiveFrameAccelerated . get ( 1 )).duration (30 * SECONDS ). eut ( TierEU . RECIPE_HV )
193
+ .addTo (assemblerRecipes );
204
194
205
- addShapelessRecipe (CustomItemList .CoinBeesI .get (16L ), new ItemStack ( FRItemRegistry . hiveFrameVoid ));
195
+ addShapelessRecipe (CustomItemList .CoinBeesI .get (16L ), GregtechItemList . HiveFrameVoid . get ( 1 ));
206
196
RecipeManagers .carpenterManager .addRecipe (
207
197
60 ,
208
198
FluidRegistry .getFluidStack ("molten.redstone" , 576 ),
209
199
getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ),
210
- new ItemStack ( FRItemRegistry . hiveFrameAccelerated , 1 , 0 ),
200
+ GregtechItemList . HiveFrameAccelerated . get ( 1 ),
211
201
"abc" ,
212
202
"def" ,
213
203
"ghi" ,
@@ -233,7 +223,7 @@ private void addForestryRecipes() {
233
223
60 ,
234
224
FluidRegistry .getFluidStack ("molten.redstone" , 576 ),
235
225
getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ),
236
- new ItemStack ( FRItemRegistry . hiveFrameMutagenic , 1 , 0 ),
226
+ GregtechItemList . HiveFrameMutagenic . get ( 1 ),
237
227
"abc" ,
238
228
"def" ,
239
229
"ghi" ,
@@ -259,7 +249,7 @@ private void addForestryRecipes() {
259
249
60 ,
260
250
FluidRegistry .getFluidStack ("molten.redstone" , 576 ),
261
251
getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ),
262
- new ItemStack ( FRItemRegistry . hiveFrameBusy ),
252
+ GregtechItemList . HiveFrameBusy . get ( 1 ),
263
253
"abc" ,
264
254
"def" ,
265
255
"ghi" ,
@@ -285,7 +275,7 @@ private void addForestryRecipes() {
285
275
60 ,
286
276
FluidRegistry .getFluidStack ("molten.redstone" , 576 ),
287
277
getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ),
288
- new ItemStack ( FRItemRegistry . hiveFrameDecay ),
278
+ GregtechItemList . HiveFrameDecay . get ( 1 ),
289
279
"abc" ,
290
280
"def" ,
291
281
"ghi" ,
@@ -311,7 +301,7 @@ private void addForestryRecipes() {
311
301
60 ,
312
302
FluidRegistry .getFluidStack ("molten.redstone" , 576 ),
313
303
getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ),
314
- new ItemStack ( FRItemRegistry . hiveFrameSlow ),
304
+ GregtechItemList . HiveFrameSlow . get ( 1 ),
315
305
"abc" ,
316
306
"def" ,
317
307
"ghi" ,
@@ -337,7 +327,7 @@ private void addForestryRecipes() {
337
327
60 ,
338
328
FluidRegistry .getFluidStack ("molten.redstone" , 576 ),
339
329
getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ),
340
- new ItemStack ( FRItemRegistry . hiveFrameStalilize ),
330
+ GregtechItemList . HiveFrameStabilize . get ( 1 ),
341
331
"abc" ,
342
332
"def" ,
343
333
"ghi" ,
@@ -363,7 +353,7 @@ private void addForestryRecipes() {
363
353
60 ,
364
354
FluidRegistry .getFluidStack ("molten.redstone" , 576 ),
365
355
getModItem (Forestry .ID , "frameImpregnated" , 1 , 0 , missing ),
366
- new ItemStack ( FRItemRegistry . hiveFrameArborist ),
356
+ GregtechItemList . HiveFrameArborist . get ( 1 ),
367
357
"abc" ,
368
358
"def" ,
369
359
"ghi" ,
0 commit comments