Mob drops with AI

Started by DragonOfAsparas on Thu, 03/02/2017 - 14:38

Topic category: Help with modding (Java Edition)

Last seen on 13:00, 15. Aug 2018
Joined Apr 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Mob drops with AI
Thu, 03/02/2017 - 14:38

So i have made a custom mob with a mob drop aswell. And I based the AI on a pig. But whenever i kill the mob i get raw pork.... Any way how to prevent the raw pork from dropping?

Last seen on 11:13, 20. Mar 2019
Joined Feb 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
As long as you're using Pig
Thu, 03/02/2017 - 14:43

As long as you're using Pig AI, they will drop the pig drops. As far as I'm aware the only way to stop this is to use Custom AI.

Last seen on 10:07, 14. Aug 2020
Joined Jul 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Maybe you can edit the code
Mon, 03/06/2017 - 06:09

Maybe you can edit the code or something.

Last seen on 11:13, 20. Mar 2019
Joined Feb 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:Maybe you can edit the code
Mon, 03/06/2017 - 20:24

@#2 You can't, the drops are programmed into the Pig AI which means the only way to change it is by recoding the Pig AI, which MCreator doesn't allow because it breaks Mojang's TOS. (Sorry if I'm being a nerd :P)

Last seen on 19:42, 30. Sep 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You can make your custom drop
Sat, 03/18/2017 - 21:57

You can make your custom drop for your mob with an event: when mob killed - > spawn gem

Last seen on 07:35, 16. Sep 2018
Joined Jun 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:You can make your custom drop
Mon, 06/05/2017 - 22:33

@#3 This would work for making it drop a mob, but it would still drop the orignal ai drops with it.

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Then just use the basic AI
Tue, 06/06/2017 - 20:39

Then just use the basic AI tasks wander, look around, swimming, etc. and make it breedable w/ carrots like a pig. You do not need to set the mob to have the pig AI, and your drops will work without givig you porkchops