Started by
EL0FBRENO-_-
on
Topic category: Help with Minecraft modding (Java Edition)
I created an item called "Totem of Dying", and I want that when I take damage, I die instantly, but, I don't know how to check if the player took damage.
Global Trigger - Entity hurt
If Entity is subtype EntityPlayer OR EntityPlayerMP
OR you could do
On Item in Inventory Tick
If item is your item
That bottom one will work with any entity holding the item
The top is targeting specifically players (the MP one is for multiplayer support)
Thank You :)!
could you take a screenshot of the procedure for me? Because I'm not understanding how to do it
Didn't make it, just thought of the blocks and the logic and going from there
The health might need DTM's Toolkit plugin
The "Kill Them" part can be done anyway you can cause the player to lose health