-
Is it Possible to Override Vanilla Mechanics without a Core Mod?
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?
-
Two Items Show up the Exact Same in Game?
Thank you! I knew it was a simple thing like that! I guess I just passed over it a lot...
-
Two Items Show up the Exact Same in Game?
So I put that under the LanguageRegistry. It still won't work.
-
Two Items Show up the Exact Same in Game?
Would that be in the @Init block? And thanks for resolving both of my questions!
-
Two Items Show up the Exact Same in Game?
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
-
Getting errors when trying to add texture override
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :) :) :) :) :) :) :) :) :) :) Thank you! Got it working!
-
Getting errors when trying to add texture override
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
-
Getting errors when trying to add texture override
Welp, still getting the missing texture. Put it where you said too... But at least the error are fixed!
-
Getting errors when trying to add texture override
So what would I put? This? @SideOnly(Side.CLIENT) @Override public void registerIcons(IconRegister iconRegister) { this.icon = iconRegister.registerIcon("PrimalCraft"+/"+iconpath); }
-
Getting errors when trying to add texture override
Again, thanks for the response. It had me change that to 'this.itemIcon' and then I get the missing texture thing when I play...
-
Getting errors when trying to add texture override
Thanks for the response, that fixes the first error, but not the second one... Any ideas?
-
Getting errors when trying to add texture override
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!
IPS spam blocked by CleanTalk.