Started by
NotDj
on
Topic category: Help with Minecraft modding (Java Edition)
As the title suggests, I want to be able to detect if a player is wearing a certain armor piece.
My problem so far is that I can't find any procedure that can do this, there is one in "GUI Management" but if I use this then the procedure can't be chosen. Since I can only use the X/Y/Z, world, entity and Itemstack tag.
I have tried for many hours but I can't seem to figure it out.
Does anyone know what I have to do in order to achive this?
It seems to have been 2 years with no response...and I found a block under "Player procedures" (MCreator 2020.1) saying "Get item from armor slot [0] of player". Just use an if statement with an item component and an item logic operation.
Thanks. That help me out here ing 2024.