Jump to content

Sypher

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by Sypher

  1. He's right, this is what I use and it works perfectly. In the .class fine your using for the item/items you place @Override public void updateIcons(IconRegister iconRegister) { iconIndex = iconRegister.registerIcon("mps:energyCore"); } Where mps is the mod name and energyCore is the file name, so the item picture would be in MCP/src/minecraft/mods/mps/textures/items/energyCore.png Make sure to not put .png at the end of the file name in Eclipse.
  2. I messed around with the code and looked into the renderEngine class fine, I believe that func_98187_b has been replaced with bindTexture. The game no longer crashes when it renders the texture, however, the texture comes up as white with black stripes, like the missing texture thing. I think that I'm using the wrong string import for bindTexture, but I'm not sure. Currently using Minecraft.getMinecraft().renderEngine.bindTexture("/mps/models/ArmCannonTexture.png");
  3. So, now I have to replace func_98187_b with some unknown line of text that I can't find anywhere. Does any one know what Forge has replaced it as?
  4. Make sure your import.blah is all at the very top of the .class file.
  5. Yes, I know what the error message is telling me. Clicking on the error in Eclipse takes you straight to the problematic line. My main problem is I don't know what is going wrong, how is the string undefined? This is the line that's supposed to add the texture to the model, it works fine without it except for being half invisible and made of books and apples. Here's the source code: http://pastebin.com/br2H3wgm
  6. That's what I found, Techne seems to have duplicated that part. I removed the first one and it fixed the issue, though now the model crashes when trying to load the texture. I'm currently working with an un-textured model to get the correct position until I can find what the texture loading is messing up, the error code is posted above. I'll make sure to post in pastebin next time, thanks for the advice.
  7. I checked one last time and I think I found it, for some reason Techne copied Front2.mirrior = true; and placed it in two separate areas. Though, when I try to equip the model I crash, I'll look into it further and try to find out what it is this time. Error Code:
  8. I checked there, but it was just an empty line after my closing bracket so I removed it just in case. I'm now getting a NullPointException on line 79 of the ArmCannonModel1.class, which doesn't make any sense. ArmCannonModel1.class: This is really starting to confuse me, so thanks for the help guys. Tell me if you need any thing else to help out.
  9. Thanks for the tip but I've already got a model ready, it just refuses to work. You code would be a great help though, so thanks in advance.
  10. Hello! I have just started modding, I've learned quite a bit of Java and decided to start my own mod. One of the items the mod is centered around I decided to create and use a 3D model for, similar to the Portal Gun mod or Modular Power Suits. I watched a tutorial about it from iChun, the creator of the Portal Gun mod. I followed his instructions and as an end result the game crashed. I messed around and found I had made a couple errors here and there. After fixing those, Eclipse showed no other errors yet I keep getting this: Some help would be greatly appreciated, I want my first mod to be a success.
  11. Okay, after running Multi-MC and importing my normal folder, everything runs fine.
  12. I did, I use the vanilla launcher. Going to try Multi-MC.
  13. After installing Forge, the FML downloading thing shows up then disappears leaving me with a black screen. Info: Minecraft Version: 1.4.2 Forge Version: Universal Build 6.0.1.349 Mods: None Error in Forge log: Modloader.txt did not show up. ~Sypher
×
×
  • Create New...

Important Information

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