very specific problem i need to solve

Started by srimp on

Topic category: Help with modding (Java Edition)

Last seen on 04:34, 18. Jan 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
very specific problem i need to solve

does anyone know how i could make it to where whenever you enter my custom dimension, it clears you of all items under my custom "freezables" tag? i'm making a mod based off of my friend's datapack and i'm unsure how i'd do this

You will need to iterate all…
Fri, 01/05/2024 - 17:56

You will need to iterate all player slots, check if item in every slot is under your tag, and if this is true, delete the items.