Create

Create

86M Downloads

[API Suggest] `IWrenchable#getRotatedBlockState` doesn't call `BlockBehaviour.BlockStateBase.rotate`, reducing compability and increasing boilerplate

Phoupraw opened this issue ยท 0 comments

commented

Describe the Suggestion

IWrenchable#getRotatedBlockState just checks fixed a few Property, rather than calls BlockBehaviour.BlockStateBase.rotate, which means blocks which has special rotation needs to override IWrenchable#getRotatedBlockState for boilerplate. Also, if developer forgets this point (only overrides BlockBehaviour.rotate but not IWrenchable#getRotatedBlockState), there isn't any warning, leaving a bug.

Screenshots and Videos

No response

Additional Context

No response