fix: block shape of CTS

This commit is contained in:
xtex 2023-07-27 16:22:42 +08:00
parent ad66862620
commit a48b793b7e
Signed by: xtex
GPG Key ID: B918086ED8045B91

View File

@ -54,12 +54,12 @@ object CTSBlock : HorizontalDirectionalBlock(
when (state.getValue(FACING)) { when (state.getValue(FACING)) {
Direction.WEST, Direction.EAST -> Shapes.or( Direction.WEST, Direction.EAST -> Shapes.or(
box(0.0, 0.0, 0.0, 16.0, 12.0, 16.0), box(0.0, 0.0, 0.0, 16.0, 12.0, 16.0),
box(6.0, 13.0, 7.0, 10.0, 15.0, 9.0), box(7.0, 13.0, 6.0, 9.0, 15.0, 10.0),
) )
Direction.SOUTH, Direction.NORTH -> Shapes.or( Direction.SOUTH, Direction.NORTH -> Shapes.or(
box(0.0, 0.0, 0.0, 16.0, 12.0, 16.0), box(0.0, 0.0, 0.0, 16.0, 12.0, 16.0),
box(7.0, 13.0, 6.0, 9.0, 15.0, 10.0), box(6.0, 13.0, 7.0, 10.0, 15.0, 9.0),
) )
else -> throw IllegalStateException(state.getValue(FACING).name) else -> throw IllegalStateException(state.getValue(FACING).name)