Started by
DragonOfAsparas
on
Topic category: Help with Minecraft modding (Java Edition)
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?
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.
Maybe you can edit the code or something.
@#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)
You can make your custom drop for your mob with an event: when mob killed - > spawn gem
@#3 This would work for making it drop a mob, but it would still drop the orignal ai drops with it.
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