How can I add stats to the player and mobs?

Started by teh_black_d00m on Wed, 01/02/2019 - 19:14

Topic category: Help with MCreator software

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can I add stats to the player and mobs?
Wed, 01/02/2019 - 19:14

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
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.