Leaves no-decay and check-decay flags are the wrong way round #4789
Labels
Category: Core
Related to internal functionality
Category: Gameplay
Related to Minecraft gameplay experience
Status: Debugged
Cause of the bug has been found, but not fixed
Issue description
Java uses 0x08 for check-decay and 0x04 for no-decay. Bedrock uses the opposite.
PM currently implements the Java way, which is problematic when importing worlds from vanilla, since it means that player-placed leaves will decay on world load.
This is further complicated by the inability to distinguish between a converted Java world and a converted Bedrock world in PM 4.0, since this makes it impossible to determine how the states should be decoded.
This problem was discovered during blockstates migration.
Several possible solutions come to mind:
There doesn't seem to be any good solution to this problem.
Steps to reproduce the issue
OS and versions
The text was updated successfully, but these errors were encountered: