Started by
TSDman
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make a mod that reduces the player's attack speed the more armor they have, but I cannot figure out how to do it. Could anybody help me?
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make a mod that reduces the player's attack speed the more armor they have, but I cannot figure out how to do it. Could anybody help me?
If I'm not wrong, attack speed is hard-coded into the game, coding is probably required to change it.
It can be done by modifying the player's attributes, but I don't know how to read or modify the attributes through a procedure.