Started by
Electroman
on
Topic category: Help with Minecraft modding (Java Edition)
I am making a totem expansion mod and am making a totem that steals the item out of the attackers hotbar when the person who owns the totem dies. The code works if an entity kills me but if a non entity cause of death(ex:falling) occurs, I die. I have tried to fix this numerous ways, please help. Code:https://imgur.com/a/xAdoAUQ