Help with Custom Shears Procedure

Started by DunDUNDAN_ on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Custom Shears Procedure

I'm currently making a tool that acts as a "Nerfed" version of shears. I have all functionality working correctly except for actually updating the Sheep's NBT to {Sheared:1}
 

How would I go about making it so that when the Sheep is right clicked with the tool, the entity would then update to it's sheared variant without losing it's colour NBT Tag in the process? (aka - without replacing the whole sheep with a sheared one). I've searched for existing guides but they haven't been successful for me.
 

Thanks.

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I cant use the built-in…
Sat, 07/27/2024 - 19:06

I cant use the built-in shears tool as this particular tool has multiple functions.