Posted May 10, 201411 yr When i test in eclipse my texture isn't showing up on the item, anyone know why? This is my base file http://pastebin.com/TxPVNGUm and my item file http://pastebin.com/mcECrZ5v I am on forge .964 so im using gradle I have my texture located at B:\MinecraftModding\forge-1.6.4-9.11.1.964-src\src\main\resources\assets\generic\textures\items Thanks in advance for any help.
May 10, 201411 yr Hi Try http://greyminecraftcoder.blogspot.com.au/2013/12/overview-of-forge-and-what-it-can-do.html -TGG
May 10, 201411 yr Does your error log have an error in it something like this [sEVERE] [Minecraft-Client] Using missing texture, unable to load: testitemrendering:textures/items/Error.png If so, pls post it? -TGG
May 10, 201411 yr Author i get a [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/MISSING_ICON_ITEM_5256_null.png
May 10, 201411 yr Ah. public static Item ChocoDust; @EventHandler public void load(FMLInitializationEvent event) { ChocoDust = (new ItemFood(5000, 3, 3, false)); LanguageRegistry.addName(ChocoDust, "Chocolate Dust"); } The problem is that you never create an instance of your ChocoDust class. I'm guessing that you're just starting out Java? Your code should look something like this public static ChocoDust chocoDust; @EventHandler public void load(FMLInitializationEvent event) { chocoDust = new ChocoDust(xxx); LanguageRegistry.addName(chocoDust , "Chocolate Dust"); } and your ChocoDust class should probably extend ItemFood, not Item. (I haven't tried to compile that code there so it might not be exactly right) Here's a link you might find useful if you're just starting out with Java http://www.minecraftforge.net/forum/index.php/topic,16784.msg84954.html#msg84954 -TGG
May 10, 201411 yr Author So i tried adding public static ChocoDust chocoDust; and im still not seeing a texture for this.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.