Skip to content

Commit

Permalink
feat: fix coagulation tank glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
bruberu committed Oct 11, 2024
1 parent 6c9e4e3 commit 5284a82
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,13 @@ public MetaTileEntity createMetaTileEntity(IGregTechTileEntity tileEntity) {

protected BlockPattern createStructurePattern() {
return FactoryBlockPattern.start()
.aisle(new String[]{"XXX", "XXX", "XXX"})
.aisle(new String[]{"XXX", "XIX", "X#X"}).setRepeatable(1, 4)
.aisle(new String[]{"XXX", "XSX", "XXX"})
.aisle("XXX", "XSX", "XXX")
.aisle("XXX", "XIX", "X#X")
.aisle("XXX", "XXX", "XXX")
.where('X',
states(new IBlockState[]{SuSyBlocks.COAGULATION_TANK_WALL
.getState(BlockCoagulationTankWall.CoagulationTankWallType.WOODEN_COAGULATION_TANK_WALL)})
.or(abilities(MultiblockAbility.EXPORT_ITEMS)
.setMaxGlobalLimited(1))
.or(abilities(MultiblockAbility.IMPORT_FLUIDS)
.setMaxGlobalLimited(1)))
.or(abilities(MultiblockAbility.EXPORT_ITEMS, MultiblockAbility.IMPORT_FLUIDS)))
.where('#', air())
.where('I', isIndicatorPredicate())
.where('S', this.selfPredicate()).build();
Expand Down

0 comments on commit 5284a82

Please sign in to comment.