Posted August 12, 201411 yr One of the items I created has the missing texture icon in the inventory however no missing texture reports appear in the log. Also, when you hold the item the texture renders properly. Example: Source code: www.github.com/penguinsfan77/RandomStuff
August 12, 201411 yr Author Log: [16:49:28] [main/INFO] [GradleStart]: username: [email protected] [16:49:28] [main/INFO] [GradleStart]: Extra: [] [16:49:28] [main/INFO] [GradleStart]: Password found, attempting login [16:49:28] [main/INFO]: Logging in with username & password [16:49:29] [main/INFO] [GradleStart]: Login Succesful! [16:49:29] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {twitch_access_token=[com.mojang.authlib.properties.Property@5467b273]}, --username, penguinsfan77, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --uuid, dd97ad91e47147c587a2355e70feb352, --assetsDir, C:/Users/Jacob/.gradle/caches/minecraft/assets, --version, 1.7.10] [16:49:30] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:49:30] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:49:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [16:49:30] [main/INFO] [FML]: Forge Mod Loader version 7.10.25.1199 for Minecraft 1.7.10 loading [16:49:30] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_67, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7 [16:49:30] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [16:49:30] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:49:30] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [16:49:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:49:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:49:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:49:30] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [16:49:33] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Jacob/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1199/forgeSrc-1.7.10-10.13.0.1199.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again! [16:49:33] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [16:49:33] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Jacob/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1199/forgeSrc-1.7.10-10.13.0.1199.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [16:49:33] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [16:49:33] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:49:33] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [16:49:34] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [16:49:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [16:49:35] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [16:49:37] [main/INFO]: Setting user: penguinsfan77 [16:49:40] [Client thread/INFO]: LWJGL Version: 2.9.1 [16:49:41] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [16:49:41] [Client thread/INFO] [FML]: MinecraftForge v10.13.0.1199 Initialized [16:49:41] [Client thread/INFO] [FML]: Replaced 182 ore recipies [16:49:41] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [16:49:42] [Client thread/INFO] [FML]: Searching C:\Users\Jacob\Dropbox\Minecraft\Mods\RandomStuff\eclipse\mods for mods [16:49:42] [Twitch authenticator/ERROR]: Given twitch access token is invalid [16:49:43] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW! [16:49:47] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [16:49:48] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Random Stuff [16:49:48] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [16:49:49] [Client thread/INFO] [FML]: Found 376 ObjectHolder annotations [16:49:49] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [16:49:49] [Client thread/INFO] [FML]: Applying holder lookups [16:49:49] [Client thread/INFO] [FML]: Holder lookups applied Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [16:49:50] [sound Library Loader/INFO]: Sound engine started [16:49:56] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [16:49:57] [Client thread/INFO]: Created: 512x256 textures/items-atlas [16:49:57] [Client thread/INFO] [Random Stuff]: Registered 1381 item recipes! [16:49:57] [Client thread/INFO] [Random Stuff]: Registered 40 block recipes! [16:49:58] [Client thread/INFO] [Random Stuff]: Random Stuff has been initialized! [16:49:58] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [16:49:58] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Random Stuff [16:49:58] [Client thread/INFO]: Created: 512x256 textures/items-atlas [16:49:59] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas SoundSystem shutting down... Author: Paul Lamb, www.paulscode.com Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [16:50:00] [sound Library Loader/INFO]: Sound engine started [16:51:08] [Thread-8/WARN] [FML]: ============================================================= [16:51:08] [Thread-8/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FMLCommonHandler! [16:51:08] [Thread-8/WARN] [FML]: Offendor: com/jcraft/jogg/Buffer.report(Ljava/lang/String;)V [16:51:08] [Thread-8/WARN] [FML]: ============================================================= [16:51:19] [server thread/INFO]: Starting integrated minecraft server version 1.7.10 [16:51:19] [server thread/INFO]: Generating keypair [16:51:20] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance [16:51:20] [server thread/INFO] [FML]: Applying holder lookups [16:51:20] [server thread/INFO] [FML]: Holder lookups applied [16:51:21] [server thread/INFO] [FML]: Loading dimension 0 (Dev World) (net.minecraft.server.integrated.IntegratedServer@4b888d56) [16:51:21] [server thread/INFO] [FML]: Loading dimension 1 (Dev World) (net.minecraft.server.integrated.IntegratedServer@4b888d56) [16:51:21] [server thread/INFO] [FML]: Loading dimension -1 (Dev World) (net.minecraft.server.integrated.IntegratedServer@4b888d56) [16:51:21] [server thread/INFO]: Preparing start region for level 0 [16:51:22] [server thread/INFO]: Preparing spawn area: 42% [16:51:22] [server thread/INFO]: Changing view distance to 6, from 10 [16:51:24] [Netty Client IO #0/INFO] [FML]: Server protocol version 1 [16:51:24] [Netty IO #1/INFO] [FML]: Client protocol version 1 [16:51:24] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected] [16:51:24] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [16:51:24] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [16:51:24] [server thread/INFO] [FML]: [server thread] Server side modded connection established [16:51:24] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [16:51:24] [server thread/INFO]: penguinsfan77[local:E:1b0d106c] logged in with entity id 165 at (-502.5, 4.0, 748.5) [16:51:24] [server thread/INFO]: penguinsfan77 joined the game [16:51:26] [server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2933ms behind, skipping 58 tick(s) [16:51:30] [server thread/INFO]: Saving and pausing game... [16:51:30] [server thread/INFO]: Saving chunks for level 'Dev World'/Overworld [16:51:31] [server thread/INFO]: Saving chunks for level 'Dev World'/Nether [16:51:31] [server thread/INFO]: Saving chunks for level 'Dev World'/The End [16:51:43] [server thread/INFO]: Saving and pausing game...
August 13, 201411 yr Author After some further testing, I discovered that the getIcon() method is only being called when the player is holding the item.
August 13, 201411 yr I'm thinking you might not have called Item#setTextureName("mod:texture.png") after constructing your item. -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]
August 13, 201411 yr Author Not that I know of. I know I did it for my blocks, but I haven't done that for items.
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.