Test if sheep is a certain color

Started by Silverslayer547 on Wed, 04/21/2021 - 11:43

Topic category: Help with modding (Java Edition)

Last seen on 09:43, 12. May 2021
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Test if sheep is a certain color
Wed, 04/21/2021 - 11:43

I'm trying to test if a sheep is a certain color. I know this is probably possible with 'Get entity data NBT tag', but I can't seem to get it to work as it just always returns 0.

Last seen on 09:43, 12. May 2021
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Specifically 'Get [Event…
Wed, 04/21/2021 - 11:45

Specifically 'Get [Event/target entity] data number NBT tag "Color"' is what I've tried using, since the Color tag for sheep is a number.