Skip to content

Commit 093f01f

Browse files
committed
consistent char vs string in aisle
1 parent 15dc265 commit 093f01f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/main/java/com/gregtechceu/gtceu/common/data/machines/GTMultiMachines.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
import static com.gregtechceu.gtceu.common.data.GTMachines.*;
6161
import static com.gregtechceu.gtceu.common.data.GTMaterials.DrillingFluid;
6262
import static com.gregtechceu.gtceu.common.data.GTRecipeModifiers.*;
63+
import static com.gregtechceu.gtceu.common.data.GTRecipeTypes.COMPRESSOR_RECIPES;
6364
import static com.gregtechceu.gtceu.common.data.GTRecipeTypes.DUMMY_RECIPES;
6465
import static com.gregtechceu.gtceu.common.data.machines.GTMachineUtils.*;
6566
import static com.gregtechceu.gtceu.common.data.models.GTMachineModels.*;
@@ -131,6 +132,31 @@ public class GTMultiMachines {
131132
.build())
132133
.register();
133134

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();
134160
public static final MultiblockMachineDefinition ELECTRIC_BLAST_FURNACE = REGISTRATE
135161
.multiblock("electric_blast_furnace", CoilWorkableElectricMultiblockMachine::new)
136162
.rotationState(RotationState.ALL)

0 commit comments

Comments
 (0)