Started by
_Kara_
on
Topic category: Help with Minecraft modding (Java Edition)
How to create roles?
It seems that you can choose, conditionally: Archer and Knight.
If you choose an archer, there will be a speed effect and more bow damage.
And if you are a knight, then the damage from the sword is greater.
I hope it is clear what I wanted to convey :_)
Sorry if there are mistakes, my English is bad
This is probably easiest with global PLAYER_PERSISTENT/LIFETIME variables.
Save the choice of class as a string or just number on the player using a global variable.