Jump to content

tenny1028

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

tenny1028's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  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:
×
×
  • Create New...

Important Information

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