Started by
Jaysonsup
on
Topic category: Help with Minecraft modding (Java Edition)
Hey how do I keep potion effects after death? I have an item where when I right click it gives me strength 1, When I die it goes away. So can somebody tell me how i can make it stay?
Maybe creating a loop on give potion effect until another right click on item would help?
ok ill try that
create a player_persistent variable, then when you right click the item it sets your variable to true
create a procedure that activates when the player respawns, then it checks if the variable is true, and if so, it gives the effect
where is the respawn procedure
it's a global trigger, click the dropdown on the green event block when you first create the procedure
Thanks so much man I've been wanting to this for so long
What type of variable do i make it, a number, logic, what? I got it as player persistent but don't know what type
Nevermind, i got it. It's alogic variable