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

Hey guys,

 

I am wondering how I would get an enderman to drop my custom item.

 

Anyone know of anything?

STOP CRUCIFYING NEW MODDERS!!!!

there are tutorials for all of this beginning stuff all over the internets, stop coming on here first jeez, only come one here when you cant find the answer any where else.

 

http://www.minecraftforum.net/topic/1452051-15-wip-again-deverions-forge-modding-tutorials-updated-16-03-2013-15-tutorials-1/

http://www.minecraftforum.net/topic/1431137-147-forge-smp-modding-tutorials-updated-3-3-2013-english-chinese-german-swedish-and-polish/

http://www.minecraftforge.net/wiki/Basic_Modding

http://darkhaxspace.weebly.com

 

three great examples to prove my point and that was 2 secs of looking

Use examples, i have aspergers.

Examples make sense to me.

  • Author

there are tutorials for all of this beginning stuff all over the internets, stop coming on here first jeez, only come one here when you cant find the answer any where else.

 

http://www.minecraftforum.net/topic/1452051-15-wip-again-deverions-forge-modding-tutorials-updated-16-03-2013-15-tutorials-1/

http://www.minecraftforum.net/topic/1431137-147-forge-smp-modding-tutorials-updated-3-3-2013-english-chinese-german-swedish-and-polish/

http://www.minecraftforge.net/wiki/Basic_Modding

http://darkhaxspace.weebly.com

 

three great examples to prove my point and that was 2 secs of looking

 

This is a good source of information for modders. It really doesn't matter where you go. This wasn't created as a last resort jesus, Go get some manners and then come back

STOP CRUCIFYING NEW MODDERS!!!!

yes i know it is a good source of information but this requires other people to constantly answer simply questions when you could just spend 5 minutes googling it instead and they can focus on the parts like when you get stuck and cant find an answer or some or the harder modifications. In short your just being lazy and it is taking up people time.

Use examples, i have aspergers.

Examples make sense to me.

  • Author

yes i know it is a good source of information but this requires other people to constantly answer simply questions when you could just spend 5 minutes googling it instead and they can focus on the parts like when you get stuck and cant find an answer or some or the harder modifications. In short your just being lazy and it is taking up people time.

 

Don't like it then leave. No-one HAS to answer these they do because they want to help

STOP CRUCIFYING NEW MODDERS!!!!

i can understand why you would find this funny but i only ask a question on here after i have googled it alot :) only if i cannot find the answer to my problems elsewhere do i ask a question on here. Well i try anyway i search for the answer on my own before i ask the forums, it is silly to ask for you to repeat something that is written down somewhere else.

Use examples, i have aspergers.

Examples make sense to me.

  • 6 months later...

I finally figured this out for myself! If anyone is still interested in how this works, here is an example of the code:

 

 

@ForgeSubscribe

public void onEntityDrop(LivingDropsEvent event) {

if (event.entityLiving instanceof EntityCreeper){

if (rand < 0.1D) {

event.entityLiving.dropItem(YourCustomItem, 1);

}

}

}

 

 

The part where you put in your custom item needs to be in the format of YourMod.YourItem.itemID.

 

This is for 1.5.2 by the way.

Guest
This topic is now closed to further replies.

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.