Started by
srimp
on
Topic category: Help with Minecraft modding (Java Edition)
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 player slots, check if item in every slot is under your tag, and if this is true, delete the items.