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.

tenny1028

Members
  • Joined

  • Last visited

  1. I am making a mod that uses emeralds as money and there are buyable things. However, there needs be be a way to make emeralds more obtainable, and I thought I could make hostile mobs drop emeralds with or instead of their normal drop. So I looked at some of the code of vanilla Minecraft and saw that the class EntityZombie or EntityAnimalZombie (I forgot; under package hostile) had the method getItemDrops() or something like that, and all it does is return an item (rotten flesh). So I thought I could simply change the line return Item.rottenFlesh.getItemID(); to return Item.emeralds.getItemID();. However, I didn't know how I would put the class EntityZombie into the mod since the class already exists in vanilla Minecraft. Could I simply put it in the folder with the additional class files that I compiled after writing myself? Or is there another way to change the item drops of a hostile mob? I haven't fully read all the code of Minecraft or the documentation of forge so I don't really know of any other way to do this.
  2. I have the Billund Blocks mod in my /mods folder (that's the only mod though), and I am running Minecraft 1.6.4. I run Minecraft using the Forge profile, and when it gets to the Mojang logo, it crashes and here's what the MC crash report says: Here's the ForgeModLoaderClient.log:

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.