fix: fixed incorrect hitbox for racks
@@ -55,10 +55,10 @@ public class RackBlock extends TetraWaterloggedBlock {
public static final DirectionProperty facingProp = HorizontalBlock.HORIZONTAL_FACING;
private static final Map<Direction, VoxelShape> shapes = Maps.newEnumMap(ImmutableMap.of(
- Direction.NORTH, Block.makeCuboidShape(5.5, 3.0, 11.0, 10.5, 13.0, 16.0),
- Direction.SOUTH, Block.makeCuboidShape(5.5, 3.0, 0.0, 10.5, 13.0, 5.0),
- Direction.WEST, Block.makeCuboidShape(11.0, 3.0, 5.5, 16.0, 13.0, 10.5),
- Direction.EAST, Block.makeCuboidShape( 0.0, 12.0, 5.5, 1.0, 15.0, 10.5)));
+ Direction.NORTH, Block.makeCuboidShape(0.0, 11.0, 14.0, 16.0, 14.0, 16.0),
+ Direction.SOUTH, Block.makeCuboidShape(0.0, 11.0, 0.0, 16.0, 14.0, 2.0),
+ Direction.WEST, Block.makeCuboidShape(14.0, 11.0, 0.0, 16.0, 14.0, 16.0),
+ Direction.EAST, Block.makeCuboidShape( 0.0, 11.0, 0.0, 2.0, 14.0, 16.0)));
public RackBlock() {
