How can I add stats to the player and mobs?

Started by teh_black_d00m on

Topic category: Help with MCreator software

Last seen on 13:06, 22. Jan 2019
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I add stats to the player and mobs?

My goal is to make the game work like an RPG and have all actions performed by the player and mobs be governed by stats (Strength, Intelligence, Constitution etc) but first I just want to know how should I go about adding these attributes to the code? Also is it a bad idea to modify the existing code, and if so what is the proper way to make changes like this?

Last seen on 16:48, 21. May 2020
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mcreator does not have such…
Thu, 01/03/2019 - 12:30

Mcreator does not have such capabilities; it is even very hard to do from scratch.

Last seen on 16:59, 19. Jun 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm also working on a mod…
Fri, 02/28/2020 - 01:08

I'm also working on a mod that uses RPG elements.
From what I've been doing NBT values are really useful along with global variables. I added a mana stat that's been working pretty good. I can't say yet if this is multiplayer friendly or not but it so far has been single player friendly.

 

The key is creatively using the tools available and potentially the code editor to get it up and running the way you want.

Last seen on 23:35, 30. Oct 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use a mcreator version that…
Sat, 11/20/2021 - 13:19

Use a mcreator version that support Minecraft 1.16 and use the /atribute command

But be careful, there's actually a realy anoying bug whit the /atribute, leave the end will reset any Stat changed by the command