Is it possible to add leveling skills?

Started by Ophiuchus on Fri, 07/20/2018 - 22:52

Topic category: Help with modding (Java Edition)

Last seen on 15:12, 2. Aug 2018
Joined Apr 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Is it possible to add leveling skills?
Fri, 07/20/2018 - 22:52

Hey everyone, im not sure if this is the right place to post this but i was wondering if it was possible to add Skills with Mcreator?

by skills i mean Skills like the ones Mcmmo adds, where you level up a certain skill category by using the specified item or action.

 

I wanted to make a few custom Items for combat like instead of having just sword i wanna add Daggers, Rapiers, Scimitar, Staff, Mace and a lot of others where the player would only gain Exp in said weapon category by using the specific weapon or weapon skill while wielding the weapon.

Thanks in advanced n.n any help would be greatly appreciated.

Last seen on 15:12, 2. Aug 2018
Joined Apr 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Bump still havent been able…
Mon, 07/23/2018 - 21:24

Bump

still havent been able to figure this out on my own

Last seen on 16:46, 8. Sep 2020
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
you could use overlays and…
Fri, 08/03/2018 - 17:59

you could use overlays and global varibles to display your skill and you could add a prosedure to the mace so when you kill a mob with the mace it adds one point to the score. 

 

Last seen on 11:41, 17. Oct 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It depends on how you want…
Fri, 08/03/2018 - 19:06

It depends on how you want to implement them.

You can make skills that can be accessed by a menu, an item, a keybind or are automatically activated when attacking, taking damage, falling, etc. so if you simply ask "how can I add rpg-like skills in minecraft" you won't get many answers since people don't know how do you want them to be like.

Anyways, since global variables are shared between worlds and are reset everytime you close minecraft and local variables reset every tick, you'll need player-stored variables. However, there are no player-stored variables in mcreator, so you'll need to code or to wait a few updates since it seems that the latest mcreator updates are pretty big.