
LevelZ Refabricated
Unofficial port of LevelZ by Globox_Z for newest minecraft versions
Список изменений
Fixes
Fix 1 — XP progression formula
Fixed incorrect level-up loop in ServerPlayerEntityMixin.java where the XP cost
was read before and after addExperienceLevels(1) in the wrong order, causing
overflow XP to be scaled incorrectly. This made levels cost significantly less
than configured, allowing players to level up much faster than intended.
Fix 2 — Server config not applied on client
The client always used its own local ConfigInit.CONFIG to calculate and display
XP requirements, completely ignoring the server's configuration. Added
ConfigSyncPacket which is sent to the client on join, overwriting the local
XP-related config values (xpBaseCost, xpCostMultiplicator, xpExponent,
xpMaxCost, overallMaxLevel) with the server's values.
