From 850297f77738d0471b80db936ec69c9d57a39999 Mon Sep 17 00:00:00 2001 From: grimmauld Date: Sat, 10 Oct 2020 18:16:28 +0200 Subject: [PATCH] Switch valve handles back to crank shapes as those fit better to the new model --- src/main/java/com/simibubi/create/AllShapes.java | 2 -- .../contraptions/components/crank/ValveHandleBlock.java | 5 ----- 2 files changed, 7 deletions(-) diff --git a/src/main/java/com/simibubi/create/AllShapes.java b/src/main/java/com/simibubi/create/AllShapes.java index f8b275fe1..232a0e9d6 100644 --- a/src/main/java/com/simibubi/create/AllShapes.java +++ b/src/main/java/com/simibubi/create/AllShapes.java @@ -47,8 +47,6 @@ public class AllShapes { .forDirectional(), CRANK = shape(5, 0, 5, 11, 6, 11).add(1, 3, 1, 15, 8, 15) .forDirectional(), - VALVE_HANDLE = shape(1, 0, 1, 15, 5, 15) - .forDirectional(), CART_ASSEMBLER = shape(0, 12, 0, 16, 16, 16).add(-2, 0, 1, 18, 14, 15) .forHorizontalAxis(), STOCKPILE_SWITCH = shape(0, 0, 0, 16, 2, 16).add(1, 0, 1, 15, 16, 15) diff --git a/src/main/java/com/simibubi/create/content/contraptions/components/crank/ValveHandleBlock.java b/src/main/java/com/simibubi/create/content/contraptions/components/crank/ValveHandleBlock.java index e93a929eb..7484ed1eb 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/components/crank/ValveHandleBlock.java +++ b/src/main/java/com/simibubi/create/content/contraptions/components/crank/ValveHandleBlock.java @@ -33,11 +33,6 @@ public class ValveHandleBlock extends HandCrankBlock { super.fillItemGroup(group, p_149666_2_); } - @Override - public VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context) { - return AllShapes.VALVE_HANDLE.get(state.get(FACING)); - } - @Override @OnlyIn(Dist.CLIENT) public AllBlockPartials getRenderedHandle() {