Dyes for banners and sheep?

Started by McQuackenstein._.1 on Wed, 07/15/2020 - 23:47

Topic category: Help with modding (Java Edition)

Last seen on 17:12, 27. Dec 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Dyes for banners and sheep?
Wed, 07/15/2020 - 23:47

So I'm making a mod that adds lots of additional stuff to Minecraft such as dyes and I was wondering if there was any way to make it like the other dyes so when I right click sheep with it, the sheep will turn the corresponding colour. And how could I also use the dye in banner crafting in crafting tables/looms? 

Do I need procedures to do this with the sheep? And do I just add multiple crafting recipes for the banners to get it to work?

Last seen on 13:57, 2. Apr 2021
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
For the sheeps you can…
Thu, 07/16/2020 - 11:42

For the sheeps you can despawn the sheep then spawn an other entity that have the dye color. Technically it's not the same sheep bue the player will think it is