Various JSON files needlessly change each update
The bug
This has been happening for a long time. The affected files are the "all_effects" and "all_potions" advancement files, as well as the "shipwreck_supply" loot table.
The order of status effects in these files changes between most snapshots and updates.
Also worth noting that the block model for redstone wire has a similar issue.
Code analysis
1.17-pre2, Mojang names
The following maps use HashMap instead of LinkedHashMap, the order of their entries is therefore arbitrary and can change between versions.
- net.minecraft.world.level.storage.loot.functions.SetStewEffectFunction.Builder.effectDurationMap
- net.minecraft.data.models.blockstates.Condition.TerminalCondition.terms
2020-03-11, 09:07 PM
2022-05-15, 12:01 AM
2022-05-15, 12:01 AM
6
2
-