Cosmetic Armor Reworked

Cosmetic Armor Reworked

125M Downloads

Add ways to know if a player have a cosmetic armor on 1.20.1

Blugori opened this issue ยท 0 comments

commented

Hi, while making datapacks on 1.20.1, I realised that there are no ways of knowing if a player have a cosmetic armor (like /execute as if data entity @s Inventory[{Slot:0b, id:"minecraft:item"}] run )

Would it be possible to maybe put a nbt on the player (like hasCosmeticArmor) ? It could be usefull in a lot of ways.

Thanks for reading.