Started by
zenox
on
Topic category: User side tutorials
Hello, today i will show you how to make a simple job system in Mcreator.
For a few month i've been searching but I didn't find anything good so i made a system myslef and it's working for me.
- First, create vars like this: https://imgur.com/CtwviCi
Then, we will see how to get xp, for the example, i will do the miner job.
- Create a procedure and do this: https://imgur.com/vQEa1Ej
you can add as much blocks as you want !
- Now, create another procedure, it will be the procedure for the next levels like so: https://imgur.com/VdhHIXf
IF YOU WANT TO DISPLAY IT:
Create new procedures that will convert you variables into text and do it like so:
-
Convert Miner level: https://imgur.com/LFofEo8
Convert Miner XP: https://imgur.com/fkq3daz
Convert Miner Xp needed for next level: https://imgur.com/RXar1Wk
Now do this to display:
- Create a new GUI / Overlay
- Add a text and where is says "Text: ("Value") ("Fixed:"), click on "Fixed" and select what you want to show !
When you have done all of this, it should be working great !
Feel free to contact me if it does not work !
For the variables, "GLOBAL_MAP" will be for everyone if you play on a server !
If you want to be for only player and not in common to everyone, set the variable scope to "PLAYER_PERSISTENT"