Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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 :P

 

thanks

 

 

EDIT: I found something about reflectionhelper?

an example would be greate with a little explanation added too so i can learn thanks ^.^

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)

  • 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?

When any living entity dies the LivingDropsEvent is called

Living entities include mobs and the player, the entity variable tells you what entity died

  • 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 xD

glad to be of help ;D, now if only my mod didn't have problems that aren't so easely fixable  :(

  • 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

  • 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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.