Registrate icon indicating copy to clipboard operation
Registrate copied to clipboard

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

Open TelepathicGrunt opened this issue 8 months ago • 0 comments

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

TelepathicGrunt avatar Nov 02 '23 23:11 TelepathicGrunt