Started by
Hyrancood
on
Topic category: Help with Minecraft modding (Java Edition)
Hello!
I trying to delete all the tagged items in the inventory, but it doesn't work
Topic category: Help with Minecraft modding (Java Edition)
Hello!
I trying to delete all the tagged items in the inventory, but it doesn't work
What trigger is this using?
Entity dies
I do this to remove some items when a player dies with a game rule keep_inventory
The inventory may not be readable when the play dies, similar to how you can't read a blocks nbt data when it is destroyed. Try using "Before entity takes damage". If entity is subtype player AND damage amount >= current health of entity.
Shot in the dark but I'm tired at the moment :')
i change trigger to player respawn and now it work! Thank you for idea!