how make new indicators

Started by Lanuraj on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how make new indicators

how to make your own experience indicator for a mod and how to make a procedure in order for the experience to increase. How to make other indicators in general

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so your saying you want an…
Thu, 02/18/2021 - 15:50

so your saying you want an different xp bar that increases and decreases similar to xp?

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
since if you want it on…
Thu, 02/18/2021 - 16:15

since if you want it on screen overlays are important

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
okay so fist you would make…
Thu, 02/18/2021 - 17:04

okay so fist you would make an overlay with a varible, ... i forgot how to put the xp level number there but im sure you can find it online try youtube. you make a different overlay per level and have a varible for each one xp lev 1, xp lev2, xp lev 3 etc. xp bars are hard to show the exact xp so i would reccomend only showing the level and use the actual numbers to the varible

 

 then once you have the varible set it to zero and set up a series of procedures depending on how you want the player to get xp. so if you want when enemy killed by player give 5 of the xp you set up on enity death set varible to varible +5. im not sure how you want the player to lose xp but all you have to do is set the trigger so if on attack with 20 damage sword set varible to varible -5.

 

finally you need to set a cap so if varible > 20000 (or whatever number) varible = 20000.

 

hope you understood that, the mcreator lingo is a little hard to decipher :)

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you want bars like…
Thu, 02/18/2021 - 17:05

if you want bars like healthh bars its mostly the same, just instead of levels do circles or whatever.

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thx very much. i will try it 
Thu, 02/18/2021 - 18:12

thx very much. i will try it 

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
any other questions just ask
Thu, 02/18/2021 - 19:01

any other questions just ask