From 138cb1a2d02887b78d1dcd8c302fb1501acdeb39 Mon Sep 17 00:00:00 2001 From: Adrien1106 Date: Fri, 16 Feb 2024 20:04:21 +0100 Subject: [PATCH] all stairs shape finally done --- .../reframed/block/ReFramedStairsBlock.java | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/main/java/fr/adrien1106/reframed/block/ReFramedStairsBlock.java b/src/main/java/fr/adrien1106/reframed/block/ReFramedStairsBlock.java index a5e08f8..e403eee 100644 --- a/src/main/java/fr/adrien1106/reframed/block/ReFramedStairsBlock.java +++ b/src/main/java/fr/adrien1106/reframed/block/ReFramedStairsBlock.java @@ -458,7 +458,28 @@ public class ReFramedStairsBlock extends WaterloggableReFramedBlock implements M GBlockstate.when(FACING, NORTH_DOWN, SHAPE, OUTER_RIGHT), GBlockstate.when(FACING, DOWN_EAST, SHAPE, OUTER_LEFT), GBlockstate.when(FACING, NORTH_EAST, SHAPE, OUTER_RIGHT)), - GBlockstate.variant(double_outer_id, true, R0, R270)); + GBlockstate.variant(double_outer_id, true, R0, R270)) + /* OUTER BOTTOM */ + .with(When.anyOf( + GBlockstate.when(FACING, UP_NORTH, SHAPE, OUTER_RIGHT), + GBlockstate.when(FACING, EAST_UP, SHAPE, OUTER_LEFT), + GBlockstate.when(FACING, NORTH_EAST, SHAPE, OUTER_LEFT)), + GBlockstate.variant(double_outer_id, true, R180, R0)) + .with(When.anyOf( + GBlockstate.when(FACING, SOUTH_UP, SHAPE, OUTER_RIGHT), + GBlockstate.when(FACING, EAST_UP, SHAPE, OUTER_RIGHT), + GBlockstate.when(FACING, EAST_SOUTH, SHAPE, OUTER_LEFT)), + GBlockstate.variant(double_outer_id, true, R180, R90)) + .with(When.anyOf( + GBlockstate.when(FACING, SOUTH_UP, SHAPE, OUTER_LEFT), + GBlockstate.when(FACING, UP_WEST, SHAPE, OUTER_RIGHT), + GBlockstate.when(FACING, SOUTH_WEST, SHAPE, OUTER_LEFT)), + GBlockstate.variant(double_outer_id, true, R180, R90)) + .with(When.anyOf( + GBlockstate.when(FACING, UP_NORTH, SHAPE, OUTER_LEFT), + GBlockstate.when(FACING, UP_WEST, SHAPE, OUTER_LEFT), + GBlockstate.when(FACING, WEST_NORTH, SHAPE, OUTER_LEFT)), + GBlockstate.variant(double_outer_id, true, R270, R90)); } static {