Delete all items with tags

Started by Hyrancood on

Topic category: Help with modding (Java Edition)

Last seen on 18:26, 29. May 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Delete all items with tags

Hello!
I trying to delete all the tagged items in the inventory, but it doesn't work

https://skr.sh/sEfBDrZDhE5

Last seen on 00:46, 5. Jun 2023
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What trigger is this using?
Wed, 06/29/2022 - 13:34

What trigger is this using?

Last seen on 18:26, 29. May 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity dies I do this to…
Thu, 06/30/2022 - 10:25

Entity dies

I do this to remove some items when a player dies with a game rule keep_inventory

Last seen on 00:46, 5. Jun 2023
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The inventory may not be…
Thu, 06/30/2022 - 12:30

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 :')

Last seen on 18:26, 29. May 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i change trigger to player…
Thu, 06/30/2022 - 16:15

i change trigger to player respawn and now it work! Thank you for idea!