lithium-fabric
lithium-fabric copied to clipboard
Latest Lithium version breaks Clientcommands enchantment manipulation
Version Information
lithium-fabric-mc1.17.1-0.7.5.jar
Expected Behavior
Clientcommands’ /cenchant command works.
Actual Behavior
Clientcommands’ /cenchant command does not work - it tells you the info on how many bookshelves you need, and which slot the enchantment will be in, but after enchanting, you do not get the enchantment you tried to get.
Reproduction Steps
- Install the latest versions of fabric and Earthcomputer/clientcommands.
- Try to do enchantment manipulation.
- Notice that it works.
- Install lithium as well.
- Notice that enchantment manipulation does not work.
Other Information
Clientcommands issue reports: /Earthcomputer/clientcommands/issues/327 /Earthcomputer/clientcommands/issues/336
Lithium does not keep parity with the number or order of RNG calls. Not sure whether this is a won't fix but I can probably create a list of optimizations that should be disabled when relying on internal RNG state
Is this about the player entity rng?
I believe so
disabling mixin.ai.nearby_entity_tracking fixes it
I am not able to replicate this issue. Does it require you to be on a server, I'm going to guess that it requires entities
@DragonEggBedrockBreaking Are you absolutely sure that mixin.ai.nearby_entity_tracking=false fixes it AND mixin.ai.nearby_entity_tracking=true breaks it again?
A lot of things can alter the player RNG:
- Item dropping (which is what it used to manipulate the value)
- Any sounds playing from the player
- Any particles spawning from the player
- Shoulder-mounted entities (parrots)
- Damage taken (thorns, knockback resist)
@DragonEggBedrockBreaking Are you absolutely sure that
mixin.ai.nearby_entity_tracking=falsefixes it ANDmixin.ai.nearby_entity_tracking=truebreaks it again?A lot of things can alter the player RNG:
- Item dropping (which is what it used to manipulate the value)
- Any sounds playing from the player
- Any particles spawning from the player
- Shoulder-mounted entities (parrots)
- Damage taken (thorns, knockback resist)
Yes
I am not able to replicate this issue. Does it require you to be on a server, I'm going to guess that it requires entities
It is a 1.17 issue, seems to be fixed in 1.18