Item interaction with vanilla mobs

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

Topic category: Help with modding

Last seen on 21:16, 15. May 2020
Joined Sep 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
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:

User statistics:

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

wow cool idea

 

Last seen on 21:16, 15. May 2020
Joined Sep 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
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 21:16, 15. May 2020
Joined Sep 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
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 21:16, 15. May 2020
Joined Sep 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
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 01:10, 19. May 2020
Joined Jan 2017
User points:

User statistics:

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

Oh i was about to tel lyou how lmfao

Last seen on 02:42, 25. May 2020
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
How did you figure it out?!…
Sun, 04/26/2020 - 19:08

How did you figure it out?! I wanna make an item that when you right-click on a wolf it does (blank).