How to make roles?

Started by _Kara_ on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make roles?

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

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is probably easiest…
Sat, 10/05/2024 - 12:57

This is probably easiest with global PLAYER_PERSISTENT/LIFETIME variables.

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If possible, can you tell me…
Sat, 10/05/2024 - 15:07
If possible, can you tell me a little more detail?
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Save the choice of class as…
Sun, 10/06/2024 - 02:35

Save the choice of class as a string or just number on the player using a global variable.

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I understand you, thank you
Sun, 10/06/2024 - 11:22
I understand you, thank you