mirror of https://github.com/FabricMC/yarn.git
839e771f38
```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. |
||
---|---|---|
.. | ||
minecraft |