Hello, Is it possible to use shears and a bucket on a custom entity?

Started by OceanDweller43 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello, Is it possible to use shears and a bucket on a custom entity?

I wanted to make a strawbermoo, a strawberry cow. I want to be able to shear it to get a strawberroo and milk it to get strawberroo milk. I have all the textures, I just don't know how how to add the shear and milk functions. If necessary this is for Version 1.14.4

Any help is Appreciated!

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On your custom entity go to…
Fri, 01/31/2020 - 11:01

On your custom entity go to your events, specifically 'wehn right clicked on entity' and click on the little plus icon. 

 

Then you'd need a procedure like this. This is a start... but you'll have to add your custom items. 

In the example I used blue wool and just a water bucket. 

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this checks the entity…
Wed, 08/12/2020 - 00:56

this checks the entity inventory though, i'm not sure why