Jump to content

zdrivesmp

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by zdrivesmp

  1. So, I'm making a mod that changes the crafting recipe of certain items, to use my modded items. Is it possible to write something that makes the vanilla crafting recipe not work?
  2. Thank you! I knew it was a simple thing like that! I guess I just passed over it a lot...
  3. So I put that under the LanguageRegistry. It still won't work.
  4. Would that be in the @Init block? And thanks for resolving both of my questions!
  5. So, I just fixed a problem related to texture path and override errors. I added a second item using the same fixed methods as before, but now they show up with the same name, texture, and in the same tab. I'm 99.99% sure that they aren't somehow linked in the code. Any help? Base Mod Code Item Code 1 Item Code 2
  6. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :) :) :) :) :) :) :) :) :) :) Thank you! Got it working!
  7. Are you, perchance, using 1.5.2 and not 1.5.1? I have seen rumor that the "mods/" top-level folder is unneeded, so instead of: /mods/%modname%/textures/blocks/%block.png% it's: /%modname%/textures/blocks/%block.png% But I haven't verified that yet myself. So the complete directory would be 'forge/mcp/jars/%MODNAME%/textures/items/%ITEMNAME%/' Is the correct? And if so, it's still not working. Oh, and yes, I'm using 1.5.2
  8. Welp, still getting the missing texture. Put it where you said too... But at least the error are fixed!
  9. So what would I put? This? @SideOnly(Side.CLIENT) @Override public void registerIcons(IconRegister iconRegister) { this.icon = iconRegister.registerIcon("PrimalCraft"+/"+iconpath); }
  10. Again, thanks for the response. It had me change that to 'this.itemIcon' and then I get the missing texture thing when I play...
  11. Thanks for the response, that fixes the first error, but not the second one... Any ideas?
  12. When I try and add this line to my item: @SideOnly(Side.CLIENT) @Override public void updateIcons(IconRegister iconRegister) { iconIndex = iconRegister.registerIcon("PrimalCraft"+":"+"knappingStone"); } : I get an error that says 'the method updateIcon(IconRegister) of type ItemKnappingStone must override or implement a supertype method' and 'iconIndex cannot be resolved to a variable' This is my first time modding in Forge, so I'm sure it's just a little thing I've overlooked. I just can't seem to figure it out!
×
×
  • Create New...

Important Information

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