Item interaction with vanilla mobs

Started by KingBugz on Mon, 09/09/2019 - 22:13

Topic category: Help with MCreator modding

Last seen on 06:34, 14. Oct 2019
Joined Sep 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Item interaction with vanilla mobs
Mon, 09/09/2019 - 22:13

How do i go about making a vanilla mob, let's just say a pig, to interact with an item.

For example, how would i make an item remove a pig when it is right clicked on, and give the player a custom pig item BUT ONLY WHEN YOU RIGHT CLICK ON A PIG?

Or even create an event, that when a pig dies, it drops a custom pig block.

Last seen on 14:08, 14. Sep 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
wow cool idea  
Tue, 09/10/2019 - 18:31

wow cool idea

 

Last seen on 06:34, 14. Oct 2019
Joined Sep 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Thanks, I'm hoping someone…
Wed, 09/11/2019 - 03:54

Thanks, I'm hoping someone can help me with this. That is if it's even possible yet lol

Last seen on 06:34, 14. Oct 2019
Joined Sep 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Okay so i figured it out lol…
Thu, 09/12/2019 - 07:52

Okay so i figured it out lol

Now I just need to figure out how to make something happen ONLY when the mob is killed with a specific item.

Last seen on 06:34, 14. Oct 2019
Joined Sep 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Just figured that out as…
Tue, 09/24/2019 - 19:57

Just figured that out as well, this is coming along nicely.

Last seen on 03:25, 18. Oct 2019
Joined Jan 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Oh i was about to tel lyou…
Tue, 09/24/2019 - 20:12

Oh i was about to tel lyou how lmfao