We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In blocks.json, the list of states for various blocks is in incorrect order.
For example, the states for oak_door are listed in the order: "half", "facing", "open", "hinge", "powered"
"half", "facing", "open", "hinge", "powered"
minecraft-data/data/pc/1.20/blocks.json
Lines 5919 to 5979 in 6068208
But in Minecraft, the actual order is: "facing", "half", "hinge", "open", "powered"
"facing", "half", "hinge", "open", "powered"
This is breaking compatibility with e.g. prismarine-block's block.getProperties()
Other blocks that have an incorrect state order include trapdoors, fence gates, buttons, redstone and pistons.
Previous versions don't have the incorrect ordering, I checked versions between 1.16.0 - 1.19.4, and all of the blocks have the correct order.
The text was updated successfully, but these errors were encountered:
cc @u9g, do you know how the extractor for this works? Does it do any sorting or keep the vanilla order? Maybe we could add a test for this.
Sorry, something went wrong.
https://github.com/PrismarineJS/minecraft-data-generator-server/blob/83fca6907591ce30458334620bfd5386df6d8f98/src/main/java/dev/u9g/minecraftdatagenerator/generators/BlocksDataGenerator.java#L84
Might be worth looking at this with a debugger or even looking how the minecraft server does it
Successfully merging a pull request may close this issue.
In blocks.json, the list of states for various blocks is in incorrect order.
For example, the states for oak_door are listed in the order:
"half", "facing", "open", "hinge", "powered"
minecraft-data/data/pc/1.20/blocks.json
Lines 5919 to 5979 in 6068208
But in Minecraft, the actual order is:
"facing", "half", "hinge", "open", "powered"
This is breaking compatibility with e.g. prismarine-block's block.getProperties()
Other blocks that have an incorrect state order include trapdoors, fence gates, buttons, redstone and pistons.
Previous versions don't have the incorrect ordering, I checked versions between 1.16.0 - 1.19.4, and all of the blocks have the correct order.
The text was updated successfully, but these errors were encountered: