mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fix for weather vane selection box
This commit is contained in:
parent
b4a595550a
commit
47a6a8e7da
1 changed files with 3 additions and 6 deletions
|
@ -20,10 +20,10 @@ import net.minecraft.world.BlockView;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
public class WeatherVaneBlock extends BlockWithEntity {
|
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.5F, 0, 7.5F, 8.5F, 14, 8.5F),
|
||||||
Block.createCuboidShape(7, 0, 7, 9, 1, 9)
|
Block.createCuboidShape(7, 0, 7, 9, 1, 9)
|
||||||
);*/
|
);
|
||||||
|
|
||||||
protected WeatherVaneBlock(Settings settings) {
|
protected WeatherVaneBlock(Settings settings) {
|
||||||
super(settings);
|
super(settings);
|
||||||
|
@ -32,10 +32,7 @@ public class WeatherVaneBlock extends BlockWithEntity {
|
||||||
@Deprecated
|
@Deprecated
|
||||||
@Override
|
@Override
|
||||||
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
|
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
|
||||||
return VoxelShapes.union(
|
return SHAPE;
|
||||||
Block.createCuboidShape(7.5F, 0, 7.5F, 8.5F, 14, 8.5F),
|
|
||||||
Block.createCuboidShape(7, 0, 7, 9, 1, 9)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue