Add minor create integration

This commit is contained in:
Andrew-71 2023-10-06 18:11:42 +03:00
parent a892ccf1a2
commit f504c30e77
4 changed files with 14 additions and 5 deletions

View file

@ -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();

View file

@ -0,0 +1,9 @@
{
"replace": false,
"values": [
"new_soviet:blue_iron_bars",
"new_soviet:rusty_blue_iron_bars",
"new_soviet:vintage_iron_bars",
"new_soviet:handrail"
]
}