Jump to content

n80sire

Members
  • Posts

    6
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • URL
    http://www.n8petersen.com
  • Location
    Utah
  • Personal Text
    I am a new modder :)

n80sire's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Nevermind. I figured it out. The wiki wasn't very clear AT ALL. Turns out when you put the textures in forge\mcp\jars\mods\ you make a zip archive there containing your textures folder.
  2. 1)I don't understand completely what you mean by this. My project is in C:\Users\N80sire\Desktop\Minecraft\Modding\forge\mcp\eclipse and my textures are in C:\Users\N80sire\Desktop\Minecraft\Modding\forge\mcp\jars\mods\Generic\textures\items 2) I don't believe so, If I do I cannot find them
  3. Ok, so I've got this item "GenericItem" with a Readable name and everything, but I can NOT give it a texture! I've looked at several forums, and what the wiki tells me is not correct, and ends up crashing. I've tried tons of locations, none with success. It always ends up as blank item that says "Missing Texture" Here's my GenericItem.java package tutorial.generic; import cpw.mods.fml.common.registry.LanguageRegistry; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class GenericItem extends Item { private Object iconIndex; public GenericItem(int id) { super(id); // Constructor Configuration this.setMaxStackSize(64); this.setCreativeTab(CreativeTabs.tabMisc); this.setUnlocalizedName("genericItem"); LanguageRegistry.addName(this, "Generic Item"); } @SideOnly(Side.CLIENT) public void updateIcons(IconRegister iconRegister)//updateIcons { iconIndex = iconRegister.registerIcon("Generic:genericItem"); } }
  4. Thank you for the help. And sorry to be a bother. My friend (who is a modder himself) told me to just learn java as I go along.
  5. Thanks, but where would I put public final static Block genericDirt = new GenericBlock(id, "you texture path", Material.ground)
  6. Hey guys, I'm a brand new modder and I am having trouble with this. Minecraft will crash after I finish up the genericBlock. (I am using eclipse) Here's my code, the parts highlighted in red are what eclipse show as wrong. Generic.java GenericBlock.java Block.java
×
×
  • Create New...

Important Information

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