From 3f27c2e92083453568a346eea6ce8d793f43fcaf Mon Sep 17 00:00:00 2001 From: Sollace Date: Fri, 13 Oct 2023 20:37:00 +0100 Subject: [PATCH] Fix for weather vane selection box --- .../minelittlepony/unicopia/block/WeatherVaneBlock.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/block/WeatherVaneBlock.java b/src/main/java/com/minelittlepony/unicopia/block/WeatherVaneBlock.java index c726a764..14d39f7f 100644 --- a/src/main/java/com/minelittlepony/unicopia/block/WeatherVaneBlock.java +++ b/src/main/java/com/minelittlepony/unicopia/block/WeatherVaneBlock.java @@ -20,10 +20,10 @@ import net.minecraft.world.BlockView; import net.minecraft.world.World; public class WeatherVaneBlock extends BlockWithEntity { - /*private static final VoxelShape SHAPE = VoxelShapes.union( + private static final VoxelShape SHAPE = VoxelShapes.union( Block.createCuboidShape(7.5F, 0, 7.5F, 8.5F, 14, 8.5F), Block.createCuboidShape(7, 0, 7, 9, 1, 9) - );*/ + ); protected WeatherVaneBlock(Settings settings) { super(settings); @@ -32,10 +32,7 @@ public class WeatherVaneBlock extends BlockWithEntity { @Deprecated @Override public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) { - return VoxelShapes.union( - Block.createCuboidShape(7.5F, 0, 7.5F, 8.5F, 14, 8.5F), - Block.createCuboidShape(7, 0, 7, 9, 1, 9) - ); + return SHAPE; } @Override