Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
made grinding wheel fasing get set upon structure validating them
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Jun 25, 2024
1 parent 7535a22 commit 489d57e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion common/src/main/java/muramasa/gregtech/data/Structures.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,10 @@ public static void init() {
LARGE_MACERATOR.setStructure(BlockEntityLargeMacerator.class, b -> b.part("main")
.of("CCCCC", "CGGGC", "CGGGC", "CGGGC", "CCCCC").of(0).of("CC~CC", "CCCCC", "CCCCC", "CCCCC", "CCCCC").build()
.at('C', GregTechBlocks.TUNGSTENSTEEL_WALL, HATCH_ITEM_I, HATCH_ITEM_O, HATCH_ENERGY)
.at('G', GregTechBlocks.GRINDING_WHEELS)
.atElement('G', onElementPass((el, t, w, x, y, z) -> {
BlockState state = w.getBlockState(new BlockPos(x, y, z));
w.setBlock(new BlockPos(x, y, z), state.setValue(BlockStateProperties.HORIZONTAL_FACING, t.getFacing()), 3);
}, ofBlock(GregTechBlocks.GRINDING_WHEELS)))
.offset(2, 2, 0).min(1, HATCH_ENERGY, HATCH_ITEM_I, HATCH_ITEM_O).build()
);
LARGE_ORE_WASHER.setStructure(BlockEntityLargeOreWasher.class, b -> b.part("main")
Expand Down

0 comments on commit 489d57e

Please sign in to comment.