Delete all items with tags

Started by Hyrancood on Tue, 06/28/2022 - 19:56

Topic category: Help with modding (Java Edition)

Last seen on 08:59, 31. Jul 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Delete all items with tags
Tue, 06/28/2022 - 19:56

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

https://skr.sh/sEfBDrZDhE5

Last seen on 02:47, 17. Jul 2022
Joined Apr 2021
Points:

User statistics:

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

What trigger is this using?

Last seen on 08:59, 31. Jul 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 02:47, 17. Jul 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 08:59, 31. Jul 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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!