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
Hello, fellow Minecraftians! I'm making an advanced MCPE modpack, which adds experience, enchanting, potions, etc.
I need help with a GUI. In my mod, there are two important variables: enchantedXp and enchantedLv. I already have an experience system, but I don't have a GUI. I want a PC-like one so players can have the best experience. See what I did there XD
If you can show me how to do the following, I will give you credit.
-A green bar showing "enchantedXp" from0-7, above hotbar
-A green number showing "enchantedLv" above the Xp bar
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
Thanks, BeATz! And how
do I have an experience system? There's a random number generator, randomBewteen, breaking restone ore will give you between 1 and 5 xp (enchantedXp goes up by 1-5). If enchantedXp is higher than 17, then enchantedXp will be subtracted by 17 and enchantedLv will go up by one. Same for killing mobs. I'm still working on improving it.
Thanks, BeATz! And how
do I have an experience system? There's a random number generator, randomBewteen, breaking restone ore will give you between 1 and 5 xp (enchantedXp goes up by 1-5). If enchantedXp is higher than 17, then enchantedXp will be subtracted by 17 and enchantedLv will go up by one. Same for killing mobs. I'm still working on improving it.
Oh. In mine, slimeballs dropped from ores/mobs and when you picked them up, your XP increased. Sadly, this doesn't work anymore as entityRemovedHook() is broken.
I need help with a GUI. In my mod, there are two important variables: enchantedXp and enchantedLv. I already have an experience system, but I don't have a GUI. I want a PC-like one so players can have the best experience. See what I did there XD
If you can show me how to do the following, I will give you credit.
-A green bar showing "enchantedXp" from0-7, above hotbar
-A green number showing "enchantedLv" above the Xp bar
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]
do I have an experience system? There's a random number generator, randomBewteen, breaking restone ore will give you between 1 and 5 xp (enchantedXp goes up by 1-5). If enchantedXp is higher than 17, then enchantedXp will be subtracted by 17 and enchantedLv will go up by one. Same for killing mobs. I'm still working on improving it.
Oh. In mine, slimeballs dropped from ores/mobs and when you picked them up, your XP increased. Sadly, this doesn't work anymore as entityRemovedHook() is broken.
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]