Started by
Ohioboyofthecentry
on
Topic category: Help with Minecraft modding (Java Edition)
hi this is me again I have gotten way better at this but here is my biggest question. I have a mod I uploaded to curseforge and it works! but now I want to make a health bar that when it empties it displays you normal health bar and you gain slowness. sort of like a downed function
context I'm making a new warrior cats mod for role-players and I need a downed function to signal that a player is "dead" but repairable by their teammates. how I want this to work is a second health bar that is used and when it goes all the way down the player gains slowness 25. I already made a function that allows players to pick up each other this will just go on top of that
I did this I just have a problem and I know what causes it. so when you "DIE" you lose all your abilitys to do anything. chat doesn't work. you cant pick up or throw items or be seen by mobs I suspect that this is because you die and then not respawn but have all your health how should I fix this