mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-11 13:04:05 +01:00
Switch valve handles back to crank shapes as those fit better to the new model
This commit is contained in:
parent
cb135df649
commit
850297f777
@ -47,8 +47,6 @@ public class AllShapes {
|
|||||||
.forDirectional(),
|
.forDirectional(),
|
||||||
CRANK = shape(5, 0, 5, 11, 6, 11).add(1, 3, 1, 15, 8, 15)
|
CRANK = shape(5, 0, 5, 11, 6, 11).add(1, 3, 1, 15, 8, 15)
|
||||||
.forDirectional(),
|
.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)
|
CART_ASSEMBLER = shape(0, 12, 0, 16, 16, 16).add(-2, 0, 1, 18, 14, 15)
|
||||||
.forHorizontalAxis(),
|
.forHorizontalAxis(),
|
||||||
STOCKPILE_SWITCH = shape(0, 0, 0, 16, 2, 16).add(1, 0, 1, 15, 16, 15)
|
STOCKPILE_SWITCH = shape(0, 0, 0, 16, 2, 16).add(1, 0, 1, 15, 16, 15)
|
||||||
|
@ -33,11 +33,6 @@ public class ValveHandleBlock extends HandCrankBlock {
|
|||||||
super.fillItemGroup(group, p_149666_2_);
|
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
|
@Override
|
||||||
@OnlyIn(Dist.CLIENT)
|
@OnlyIn(Dist.CLIENT)
|
||||||
public AllBlockPartials getRenderedHandle() {
|
public AllBlockPartials getRenderedHandle() {
|
||||||
|
Loading…
Reference in New Issue
Block a user