Test if sheep is a certain color

Started by Silverslayer547 on

Topic category: Help with modding (Java Edition)

Last seen on 09:03, 9. Jun 2022
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Test if sheep is a certain color

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:03, 9. Jun 2022
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.