Hello Minecraft PE modders I want to know how to eat an item 3 times for my new mod am making and I want to know how to have the bar too if someone can do it plz comment on my fourm I (I wanted the custom food to effect the player with healing/I also want a custom tool plz set that on my fourm)
How about making a food that when you eat you will get half of the food(another food) and if you eat the half food you get a quarter food(another foot,again) but eating the quarter ends the process.
The food effect is made by eatHook() hook. Make a code that when you eat, the Entity.addEffect() happens.
About the custom tools, swords are the only thing available now due to mcpe master/BL/other app that Im not aware of is unable to process Block.setDestroyTime() right. You can still make a waraxe but it doesn't cut trees easily.
Hello Minecraft PE modders I want to know how to eat an item 3 times for my new mod am making and I want to know how to have the bar too if someone can do it plz comment on my fourm I (I wanted the custom food to effect the player with healing/I also want a custom tool plz set that on my fourm)
How about making a food that when you eat you will get half of the food(another food) and if you eat the half food you get a quarter food(another foot,again) but eating the quarter ends the process.
The food effect is made by eatHook() hook. Make a code that when you eat, the Entity.addEffect() happens.
About the custom tools, swords are the only thing available now due to mcpe master/BL/other app that Im not aware of is unable to process Block.setDestroyTime() right. You can still make a waraxe but it doesn't cut trees easily.
Sry, too lazy to write codes. Learn its meaning at https://github.com/Connor4898/ModPE-Scripts/wiki/ModPE-Scripts-Functions-List
Remember the time where minecraft was in development? Oh wait, I actually don't remember it...