File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,4 +125,8 @@ public class GTERecipeMaps {
125125 .progressBar (GuiTextures .PROGRESS_BAR_CIRCUIT_ASSEMBLER , ProgressWidget .MoveType .HORIZONTAL )
126126 .sound (GTSoundEvents .ASSEMBLER )
127127 .build ();
128+
129+ public static void init () {
130+ RecipeMaps .VACUUM_RECIPES .setMaxFluidOutputs (2 );
131+ }
128132}
Original file line number Diff line number Diff line change 44import static gtexpert .GTExpertMod .createItemBlock ;
55import static gtexpert .common .blocks .GTEMetaBlocks .*;
66
7+ import gtexpert .api .recipes .GTERecipeMaps ;
8+
79import net .minecraft .block .Block ;
810import net .minecraft .item .Item ;
911import net .minecraft .item .ItemBlock ;
@@ -73,6 +75,8 @@ public void preInit(FMLPreInitializationEvent event) {
7375 GTEMetaItems .init ();
7476 GTEToolItems .init ();
7577
78+ GTERecipeMaps .init ();
79+
7680 /* Start API Block Registration */
7781 for (GTEBlockWireCoil .GTECoilType type : GTEBlockWireCoil .GTECoilType .values ()) {
7882 HEATING_COILS .put (GTE_WIRE_COIL .getState (type ), type );
@@ -101,9 +105,6 @@ public void registerBlocks(RegistryEvent.Register<Block> event) {
101105 public void registerItems (RegistryEvent .Register <Item > event ) {
102106 IForgeRegistry <Item > registry = event .getRegistry ();
103107
104- // TODO Add preLoad to RecipeManager
105- RecipeMaps .VACUUM_RECIPES .setMaxFluidOutputs (2 );
106-
107108 registry .register (createItemBlock (GTE_WIRE_COIL , VariantItemBlock ::new ));
108109 registry .register (createItemBlock (GTE_METAL_CASING , VariantItemBlock ::new ));
109110 registry .register (createItemBlock (BLOCK_SAWMILL_CONVEYOR , ItemBlock ::new ));
You can’t perform that action at this time.
0 commit comments