roots-3.0.0.jar
Curse Maven Snippet
What's new
Roots v3.0.0 — Changelog
Critical Bug Fixes
Fixed: When changing races, effects from the previous race were not removed correctly.
Fixed: JSON races did not appear on the client's selection screen upon connecting to the server.
Fixed: SyncRacesPacket sent an empty list of passives — JSON races had no functional effects on the client side.
Fixed: The scroll was consumed even if the player closed the GUI without selecting a race.
Fixed: wrapText incorrectly measured text width when including formatting codes (§X).
Fixed: Upon reconnecting to the world, effects from previous races persisted incorrectly.
Functional Improvements
Potion effects (Regeneration, Hunger, Water Breathing, etc.) are now permanent — drinking milk no longer removes them.
Effects are re-checked every second for all races, including JSON races.
The correct amplifier is maintained when reapplying effects (Strength II remains Strength II after drinking milk).
The selection screen reloads races within init(), ensuring that JSON races are available.
Forced cleanup of all effects when changing races, serving as an additional safeguard.
New JSON Passive Types
water_breathing — Permanent Water Breathing.
swim_speed — Swimming speed (utilizes a Forge attribute).
fire_resistance — Permanent Fire Resistance.
speed — Speed (amplifier configurable via the 'value' parameter).
strength — Strength (amplifier configurable via the 'value' parameter).
Technical Improvements
SyncRacesPacket now serializes complete passive data, including type, value, and operation.
JsonRace exposes getPassives() and getPassiveAmplifier() to facilitate proper serialization and effect re-checking.
JsonPassive exposes getValue() and getOperation().
Crash guard implemented for scenarios where the race list is empty on the selection screen.
onPlayerLoggedIn now sends JSON race data to the client *before* applying passive effects.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

