Started by FloKoz_ on Sun, 04/11/2021 - 17:27
Topic category: Help with modding (Java Edition)
Hi, sorry for bad english, im from France.
I want to recreate the Netherite armor, that includes the Health Boost, but i have problem, i dont know how to make that the effect apply one time.
im not expert at creating with Mcreator, but i know that using the global trigger "on player tick update" will make that the effect apply every tick, turning the health back to 10, making imposible to regenerate the "extra hearts" that the Health Boost give you
Pls help :/
Probably have to use some kind of True/False statement so that it activates when true, and then immediately change it to false.
Example IF slot 0,1,2,3 has Armor
Set True/False to TRUE
IF True/False = TRUE
Apply Health Boost Effect
Set True/False to FALSE
Also you would have to make a Timer so that it knows to apply the effect again.