How to detect a shield in hand even if it's colored/used?

Started by cipawtubie on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to detect a shield in hand even if it's colored/used?

I have trouble with finding how to detect an item which state can change in the game e.g. when a banner is applied to a shield, mcreator stops detecting players holding it

code blocks
 

 

 

 

 

 

 

this has been asked probably 9000 times already but I can't find it anywhere