Posted April 29, 201312 yr So when updating my mod to 1.5.1 I came across issue's with the icons for my items. Code of item icon: @SideOnly(Side.CLIENT) public void updateIcons(IconRegister iconRegister) { this.itemIcon = iconRegister.registerIcon("EasySteel:coalDust"); } and this is what i get when i start minecraft: 2013-04-29 21:04:29 [WARNING] [Minecraft-Client] TextureManager.createTexture called for file textures/items/steelBall.png, but that file does not exist. Ignoring. 2013-04-29 21:04:30 [WARNING] [Minecraft-Client] TextureManager.createTexture called for file textures/items/steelIngot.png, but that file does not exist. Ignoring. 2013-04-29 21:04:30 [WARNING] [Minecraft-Client] TextureManager.createTexture called for file textures/items/ironDust.png, but that file does not exist. Ignoring. 2013-04-29 21:04:30 [WARNING] [Minecraft-Client] TextureManager.createTexture called for file textures/items/coalDust.png, but that file does not exist. Ignoring. and ingame i get the texture missing icon any help would be helpfull
April 29, 201312 yr Author when i add @Override updateIcons(IconRegister iconRegister) gets red underlined.
April 29, 201312 yr The override actually has no impact on his problem. He's just not putting his textures in the right place. Have a look at this post: http://www.minecraftforge.net/forum/index.php/topic,8041.msg40615.html#msg40615 Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
April 29, 201312 yr Author The override actually has no impact on his problem. He's just not putting his textures in the right place. Have a look at this post: http://www.minecraftforge.net/forum/index.php/topic,8041.msg40615.html#msg40615 I do have my image files there
April 29, 201312 yr This was for some blocks, but items will just be in /items instead of /blocks Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
April 29, 201312 yr Author This was for some blocks, but items will just be in /items instead of /blocks i know that (made a texturepack the other day ) still does not work :\
April 29, 201312 yr diesieben07 is correct, if you wanna override a function you should annotate it as overriden, this has nothing to do with runtime, but it explicity shows you if you've fucked up your method signature so that it wont actually override anything. when i add @Override updateIcons(IconRegister iconRegister) gets red underlined. This clearly shows that his signature is indeed fucked up. In this case its pretty damn obvious,t he issue is that the function is called registerIcons not updateIcons. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
April 29, 201312 yr Author diesieben07 is correct, if you wanna override a function you should annotate it as overriden, this has nothing to do with runtime, but it explicity shows you if you've fucked up your method signature so that it wont actually override anything. when i add @Override updateIcons(IconRegister iconRegister) gets red underlined. This clearly shows that his signature is indeed fucked up. In this case its pretty damn obvious,t he issue is that the function is called registerIcons not updateIcons. oh thx, i did not know how to change item icons so i was searching for tut's every tut said i should use updateIcons for items and registerIcons for blocks, its working now
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.