Posted October 7, 201213 yr Hi everyone, i hope to get help here as i have been very unsuccessful in other places. My question is simple. For example: How do I make a cow drop a custom item i have made, without editing the core files of minecraft. Be gentle, im not an advanced coder, but dont be afrade to explain indepth, im not stupid either thanks EDIT: I found something about reflectionhelper? an example would be greate with a little explanation added too so i can learn thanks ^.^
October 7, 201213 yr if you know how to use events, there is a LivingDeathEvent, which you can use to add drops on death (i think it lets you but not sure exactly)
October 7, 201213 yr Author haha ok, thanks ^.^ will look into that and see if i can make it work. Like i said, not to good at java... meh, who am i kidding, im hopeless. but isnt that code for the player only?
October 7, 201213 yr When any living entity dies the LivingDropsEvent is called Living entities include mobs and the player, the entity variable tells you what entity died
October 7, 201213 yr Author ahh right right. i get it. so this is kinda an indirect way of GIVING the entity it list of thigs to do without actualy changing its base file... riite. I hate to be a pain, and trust me when i say im not one of thoes "do it for me" people. but do you know any tutorials on this, or resources i can check to see how it works =D thanks for the help though. its a push off the correct side of the building
October 7, 201213 yr here is one on how to use forge events in general: http://www.minecraftforum.net/topic/1419836-131-forge-4x-events-howto/
October 7, 201213 yr glad to be of help , now if only my mod didn't have problems that aren't so easely fixable
October 10, 201213 yr Author ok... this is not working. i dont know enough about java and how it works to do what i want to do with this thing. would it be possible for someone to msn me or whatever and help me with this little project of mine. Im not asking to do it for me, but show me how to do it and teach me. I realy want to learn but alot of tutorials are not easy for me to follow. Thanks
October 17, 201213 yr Author ok, am going through this mod as fast as a leper horse and hit a wall. I can not, for the life of me, find a tutorial or get someone to help me or give me an example on how to make a vanilla mob drop a custom made item. pretty please can someone just make a quick example for me on, sa, for example, a pig dropping a custom item of any kind. I can follow all tutorials on how to do many things with ease, but not this. cant find anything accept layouts which dont help. so an example i think is what will get me back up on my feet please thanks in advance for the help Carolusclen
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.