Add minor create integration
This commit is contained in:
parent
a892ccf1a2
commit
f504c30e77
4 changed files with 14 additions and 5 deletions
|
@ -33,8 +33,7 @@ public class TVBlock extends HorizontalFacingBlock implements BlockEntityProvide
|
|||
|
||||
@Override
|
||||
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext ctx) {
|
||||
Direction dir = state.get(FACING);
|
||||
return switch (dir) {
|
||||
return switch (state.get(FACING)) {
|
||||
case NORTH -> SHAPE.north();
|
||||
case SOUTH -> SHAPE.south();
|
||||
case EAST -> SHAPE.east();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue