yarn/mappings/net
yyny 839e771f38
Complete StairsBlock mapping (#1936)
```java
BlockState otherState = world.getBlockState(pos.offset(dir));
return !isStairs(otherState)
        || otherState.get(StairsBlock.FACING) != state.get(StairsBlock.FACING)
        || otherState.get(StairsBlock.HALF) != state.get(StairsBlock.HALF);
```

Pretty self-explanatory.

The `isStairs(otherState)` case is irrelevant and only exists to avoid exceptions, this function should only receive other stair blocks.
I don't see a need for `isDifferentlyOrientatedStair` because of this.
2020-12-25 23:25:43 +00:00
..
minecraft Complete StairsBlock mapping (#1936) 2020-12-25 23:25:43 +00:00