The Meaning of Life, the Universe, and Everything.
Location:
Maryland
Join Date:
11/1/2013
Posts:
207
Location:
Probably in Unova
Minecraft:
SamurottKnight
Member Details
Sorry, but I don't have any code to show you. I just need some help in general. I'm making a mod that has potions and enchanting, but I need help setting up a level system, like in PC. Here is my problem:
There are two items: Xp Orb (small) and Xp Orb (large). They have Ids of 500 and 501 respectively. I need a way of saving the player's current XP and Level in the world folder. I also need a way to read it. And I need to show the current XP and Level in a GUI in the corner, similar to the Health Indicator mod. The XP needs to be saved between 0-17, and the level goes up by one each time XP reaches 17. And they must be shown like this:
Level (Lv. No.)
Bar (showing XP)
The values must be saved and recalled from the world directory so that the player can use the mod in multiple worlds. Also, XP orbs collected add to the bar but disappear from the inventory. And if possible, a way to randomly choose a number, such as a random number between 2 and 5. I know this is a LOT to ask for, but thanks if you try.
There are two items: Xp Orb (small) and Xp Orb (large). They have Ids of 500 and 501 respectively. I need a way of saving the player's current XP and Level in the world folder. I also need a way to read it. And I need to show the current XP and Level in a GUI in the corner, similar to the Health Indicator mod. The XP needs to be saved between 0-17, and the level goes up by one each time XP reaches 17. And they must be shown like this:
Level (Lv. No.)
Bar (showing XP)
The values must be saved and recalled from the world directory so that the player can use the mod in multiple worlds. Also, XP orbs collected add to the bar but disappear from the inventory. And if possible, a way to randomly choose a number, such as a random number between 2 and 5. I know this is a LOT to ask for, but thanks if you try.
I
I'm kind of new to modding, so I'd appreciate if someone could help me make this mod. I'll give credit to anyone who helps.
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
I don't know if your post was directed at me or SamurottKnight, but I do know how to do it as I am an Android Dev.
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
Thanks! Now let's see if I can get somewhere.