|
60 | 60 | import static com.gregtechceu.gtceu.common.data.GTMachines.*; |
61 | 61 | import static com.gregtechceu.gtceu.common.data.GTMaterials.DrillingFluid; |
62 | 62 | import static com.gregtechceu.gtceu.common.data.GTRecipeModifiers.*; |
| 63 | +import static com.gregtechceu.gtceu.common.data.GTRecipeTypes.COMPRESSOR_RECIPES; |
63 | 64 | import static com.gregtechceu.gtceu.common.data.GTRecipeTypes.DUMMY_RECIPES; |
64 | 65 | import static com.gregtechceu.gtceu.common.data.machines.GTMachineUtils.*; |
65 | 66 | import static com.gregtechceu.gtceu.common.data.models.GTMachineModels.*; |
@@ -131,6 +132,31 @@ public class GTMultiMachines { |
131 | 132 | .build()) |
132 | 133 | .register(); |
133 | 134 |
|
| 135 | + public static final MultiblockMachineDefinition TEST = REGISTRATE |
| 136 | + .multiblock("large_steam_compressor", (holder) -> new SteamParallelMultiblockMachine(holder, 4)) |
| 137 | + .rotationState(RotationState.NON_Y_AXIS) |
| 138 | + .recipeType(COMPRESSOR_RECIPES) |
| 139 | + .recipeModifier((machine, recipe) -> SteamParallelMultiblockMachine.recipeModifier(machine, recipe), true) |
| 140 | + .pattern(definition -> FactoryBlockPattern.start() |
| 141 | + .aisle("BCCCB", "BBCBB", "BBCBB", "BBBBB", "BBBBB") |
| 142 | + .aisle("CDDDC", "BDBDB", "BDEDB", "BBDBB", "BBBBB") |
| 143 | + .aisle("CDDDC", "CBBBC", "CEFEC", "BDDDB", "BBGBB") |
| 144 | + .aisle("CDDDC", "BDBDB", "BDEDB", "BBDBB", "BBBBB") |
| 145 | + .aisle("BCCCB", "BBHBB", "BBCBB", "BBBBB", "BBBBB") |
| 146 | + .where('B', Predicates.any()) |
| 147 | + .where('C', Predicates.blocks(GTBlocks.CASING_BRONZE_BRICKS.get()).setMinGlobalLimited(10) |
| 148 | + .or(Predicates.abilities(PartAbility.STEAM_IMPORT_ITEMS).setMaxGlobalLimited(1)) |
| 149 | + .or(Predicates.abilities(PartAbility.STEAM).setMaxGlobalLimited(1)) |
| 150 | + .or(Predicates.abilities(PartAbility.STEAM_EXPORT_ITEMS).setMaxGlobalLimited(1))) |
| 151 | + .where("D", Predicates.blocks(GCYMBlocks.CASING_INDUSTRIAL_STEAM.get())) |
| 152 | + .where("E", Predicates.blocks(GTBlocks.BRONZE_BRICKS_HULL.get())) |
| 153 | + .where("F", Predicates.blocks(GTBlocks.FIREBOX_BRONZE.get())) |
| 154 | + .where("G", Predicates.blocks(GTBlocks.BRONZE_HULL.get())) |
| 155 | + .where('H', Predicates.controller(Predicates.blocks(definition.get()))) |
| 156 | + .build()) |
| 157 | + .workableCasingModel(GTCEu.id("block/casings/steam/bronze/bottom"), |
| 158 | + GTCEu.id("block/machines/compressor")) |
| 159 | + .register(); |
134 | 160 | public static final MultiblockMachineDefinition ELECTRIC_BLAST_FURNACE = REGISTRATE |
135 | 161 | .multiblock("electric_blast_furnace", CoilWorkableElectricMultiblockMachine::new) |
136 | 162 | .rotationState(RotationState.ALL) |
|
0 commit comments