
armorslowdown
I want to give armor weight. i want iron and chainmail to slow the player down by 10%, diamond slows the player down 20%, and gold 40%. and netherite 25%....
00—fabricServer1.20.1mod
What this mod does
- Adds server-side armor weight for vanilla sets: chainmail/iron (-10% speed & jump, +2% fall damage), diamond (-20%, +5%), netherite (-25%, +5%), gold (-40%, +5%).
- Effects only apply when wearing a full matching set; partial or mixed gear stays vanilla, and spectators are ignored.
- Movement slowdown and lower jumps are handled in-server without touching client FOV.
- Fall damage is scaled up per armor weight when the full-set condition is met.
Implementation notes
- Movement input is scaled in the player travel routine and jump velocity is reduced after jumps to avoid attribute/FOV changes.
- Fall damage is increased in
computeFallDamageonly for players that pass the full-set check. - Only vanilla materials listed above are weighted; other armor types and elytra are untouched.
Limitations / future ideas
- Swim/climb/elytra motion also respects the slowdown multiplier; adjust logic if you want those excluded.
- Mixed or partial armor sets never apply weight; add custom mappings if you want modded gear included.
Server Validation
✅ Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.