Skip to content
New issue

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

[1.20.1] Creative menu items registered through Registrate will randomize order every time Minecraft is relaunched #65

Open
TelepathicGrunt opened this issue Nov 2, 2023 · 0 comments

Comments

@TelepathicGrunt
Copy link

This issue is easily seen by playing with Tropicraft. Launch the game. Check the order of their items in the creative menu. Then close game and relaunch. Notice the order is different.

Tropicraft specifies their creative tab here to Registrates
https://github.com/Tropicraft/Tropicraft/blob/e5d50a20cb027f14870d1789ea5e5b643b1ebbc4/src/main/java/net/tropicraft/Tropicraft.java#L76

The multimap here seems like it could be the issue as the map is not ordered. Ideally, the items would show in the creative tab in the same order that they were registered in as most mods usually register similar items together
https://github.com/tterrag1098/Registrate/blob/1.20/src/main/java/com/tterrag/registrate/AbstractRegistrate.java#L1831

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant