drok0920 Posted July 27, 2014 Posted July 27, 2014 Hello, All i would like to know is how to set "rare" drops for vanilla mobs. By "rare" i mean as rare maybe ever rarer than getting iron from a zombie. Thank you, Drok Quote
coolAlias Posted July 27, 2014 Posted July 27, 2014 Did you look in EntityZombie at all? You should be able to find the method 'protected void dropRareDrop(int par1)' - use that same method in your custom entity. Quote http://i.imgur.com/NdrFdld.png[/img]
drok0920 Posted July 27, 2014 Author Posted July 27, 2014 Ok did i not say that i need it for vanilla mobs? EDIT: Looking back at the post it seems i did not make that clear sorry. Quote
shieldbug1 Posted July 27, 2014 Posted July 27, 2014 I think you want to use the LivingDropsEvent. Quote BEFORE ASKING FOR HELP READ THE EAQ! I'll help if I can. Apologies if I do something obviously stupid. If you don't know basic Java yet, go and follow these tutorials.
drok0920 Posted July 27, 2014 Author Posted July 27, 2014 can you explain more? I'm not good with events/spawning entities Quote
coolAlias Posted July 27, 2014 Posted July 27, 2014 Ah, I thought you meant 'like vanilla mobs', not 'for vanilla mobs'. Here is a tutorial on events, and more can easily be found by searching Google or YouTube. Quote http://i.imgur.com/NdrFdld.png[/img]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.