Posted May 28, 201411 yr Hey , I'm trying to add a custom console(lever that's a block) into game, I actually have it in game but it won't texture. My texture is located at C:\Users\madman\Desktop\MC MODDING\dma\src\assets\dma\textures\models. This is the blocks class file (http://pastebin.com/HMhGyMQp) and this is the render class for it (http://pastebin.com/nZhCWJEp). Console output: [12:46:54] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [12:46:54] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [12:46:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [12:46:54] [main/INFO] [FML]: Forge Mod Loader version 7.2.156.1059 for Minecraft 1.7.2 loading [12:46:54] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_55, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre7 [12:46:54] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [12:46:54] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [12:46:54] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [12:46:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [12:46:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [12:46:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [12:46:54] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [12:46:55] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/matt/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1059/forgeSrc-1.7.2-10.12.0.1059.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! [12:46:55] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [12:46:55] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/matt/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1059/forgeSrc-1.7.2-10.12.0.1059.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [12:46:55] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [12:46:55] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [12:46:55] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [12:46:55] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [12:46:57] [main/INFO]: Setting user: Player890 [12:46:58] [Client thread/INFO]: LWJGL Version: 2.9.0 [12:46:59] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [12:46:59] [Client thread/INFO] [FML]: MinecraftForge v10.12.0.1059 Initialized [12:46:59] [Client thread/INFO] [FML]: Replaced 141 ore recipies [12:46:59] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [12:46:59] [Client thread/INFO] [FML]: Searching C:\Users\matt\Desktop\MC MODDING\dma\eclipse\mods for mods [12:47:00] [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! [12:47:03] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [12:47:03] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Dalek Mod Addon [12:47:03] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [12:47:04] [sound Library Loader/INFO]: Sound engine started [12:47:06] [Client thread/ERROR]: Using missing texture, unable to load dma:textures/blocks/textures:model:DalekConsole2.png.png java.io.FileNotFoundException: dma:textures/blocks/textures:model:DalekConsole2.png.png at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:71) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:579) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:890) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_55] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [12:47:07] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [12:47:07] [Client thread/INFO]: Created: 256x256 textures/items-atlas [12:47:07] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [12:47:07] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Dalek Mod Addon [12:47:07] [Client thread/INFO]: Created: 256x256 textures/items-atlas [12:47:07] [Client thread/ERROR]: Using missing texture, unable to load dma:textures/blocks/textures:model:DalekConsole2.png.png java.io.FileNotFoundException: dma:textures/blocks/textures:model:DalekConsole2.png.png at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:71) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [simpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [simpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:624) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:283) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:583) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:890) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_55] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [12:47:08] [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. [12:47:09] [sound Library Loader/INFO]: Sound engine started [12:47:09] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms
May 28, 201411 yr Hi The clues you need are on this line Using missing texture, unable to load dma:textures/blocks/textures:model:DalekConsole2.png.png and this line this.blockIcon = iconRegister.registerIcon(main.MODID + ":" + "textures:model:DalekConsole2.png"); -TGG
May 28, 201411 yr Author ok i got rid of the double .png but still no luck with the texture assuming this line this.blockIcon = iconRegister.registerIcon(main.MODID + ":" + "textures:model:DalekConsole2.png"); controls the icon in the inventory/tool bar is now this this.blockIcon = iconRegister.registerIcon(main.MODID + ":" + "DalekConsole2.png"); and the Icon texture is located at (C:\Users\matt\Desktop\MC MODDING\dma\src\assets\dma\textures\blocks) and is called "DalekConsole2" but still shows up as a missing texture as it can't locate it and the model also won't texture, the model texture is located at (C:\Users\matt\Desktop\MC MODDING\dma\src\assets\dma\textures\models) and is called "DalekConsole2". This line private static final ResourceLocation texture = new ResourceLocation(main.MODID + ":" + "textures:model:DalekConsole2.png"); assuming sets the texture for the actual block is now private static final ResourceLocation texture = new ResourceLocation(main.MODID + ":" + "textures:model:DalekConsole2"); and neither texture can be found, which makes me assume the file path for the assets is wrong to where it's trying to look, but I don't know where these should be. This is the console [13:21:30] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [13:21:30] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [13:21:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [13:21:30] [main/INFO] [FML]: Forge Mod Loader version 7.2.156.1059 for Minecraft 1.7.2 loading [13:21:30] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_55, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre7 [13:21:30] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [13:21:30] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [13:21:30] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [13:21:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [13:21:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [13:21:30] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [13:21:30] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [13:21:31] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/matt/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1059/forgeSrc-1.7.2-10.12.0.1059.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! [13:21:31] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [13:21:31] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/matt/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1059/forgeSrc-1.7.2-10.12.0.1059.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [13:21:31] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [13:21:31] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [13:21:31] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [13:21:32] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [13:21:33] [main/INFO]: Setting user: Player375 [13:21:34] [Client thread/INFO]: LWJGL Version: 2.9.0 [13:21:35] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [13:21:35] [Client thread/INFO] [FML]: MinecraftForge v10.12.0.1059 Initialized [13:21:35] [Client thread/INFO] [FML]: Replaced 141 ore recipies [13:21:35] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [13:21:35] [Client thread/INFO] [FML]: Searching C:\Users\matt\Desktop\MC MODDING\dma\eclipse\mods for mods [13:21:36] [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! [13:21:38] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [13:21:38] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Dalek Mod Addon [13:21:39] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [13:21:40] [sound Library Loader/INFO]: Sound engine started [13:21:40] [Client thread/ERROR]: Using missing texture, unable to load dma:textures/blocks/DalekConsole2.png java.io.FileNotFoundException: dma:textures/blocks/DalekConsole2.png at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:71) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:579) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:890) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_55] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [13:21:41] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [13:21:41] [Client thread/INFO]: Created: 256x256 textures/items-atlas [13:21:41] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [13:21:41] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Dalek Mod Addon [13:21:41] [Client thread/INFO]: Created: 256x256 textures/items-atlas [13:21:41] [Client thread/ERROR]: Using missing texture, unable to load dma:textures/blocks/DalekConsole2.png java.io.FileNotFoundException: dma:textures/blocks/DalekConsole2.png at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:71) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [simpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [simpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:624) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:283) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:583) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:890) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_55] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [13:21:42] [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. [13:21:43] [sound Library Loader/INFO]: Sound engine started [13:21:43] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms [13:22:39] [server thread/INFO]: Starting integrated minecraft server version 1.7.2 [13:22:39] [server thread/INFO]: Generating keypair [13:22:39] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance [13:22:40] [server thread/INFO] [FML]: Loading dimension 0 (test) (net.minecraft.server.integrated.IntegratedServer@4acf770c) [13:22:40] [server thread/INFO] [FML]: Loading dimension 1 (test) (net.minecraft.server.integrated.IntegratedServer@4acf770c) [13:22:40] [server thread/INFO] [FML]: Loading dimension -1 (test) (net.minecraft.server.integrated.IntegratedServer@4acf770c) [13:22:40] [server thread/INFO]: Preparing start region for level 0 [13:22:41] [server thread/INFO]: Preparing spawn area: 60% [13:22:42] [Netty Client IO #0/INFO] [FML]: Server protocol version 1 [13:22:42] [Netty IO #1/INFO] [FML]: Client protocol version 1 [13:22:42] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected] [13:22:42] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [13:22:42] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [13:22:42] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [13:22:42] [server thread/INFO] [FML]: [server thread] Server side modded connection established [13:22:42] [server thread/INFO]: Player375[local:E:63561931] logged in with entity id 194 at (185.13012138068513, 64.0, 203.8830584454034) [13:22:42] [server thread/INFO]: Player375 joined the game [13:22:43] [server thread/INFO]: Saving and pausing game... [13:22:43] [server thread/INFO]: Saving chunks for level 'test'/Overworld [13:22:43] [server thread/INFO]: Saving chunks for level 'test'/Nether [13:22:43] [server thread/INFO]: Saving chunks for level 'test'/The End [13:22:51] [Client thread/WARN]: Failed to load texture: dma:textures:model:DalekConsole2 java.io.FileNotFoundException: dma:textures:model:DalekConsole2 at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:71) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.SimpleTexture.loadTexture(SimpleTexture.java:35) ~[simpleTexture.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.bindTexture(TextureManager.java:45) [TextureManager.class:?] at net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer.bindTexture(TileEntitySpecialRenderer.java:25) [TileEntitySpecialRenderer.class:?] at renderer.RenderDalekConsole2.renderTileEntityAt(RenderDalekConsole2.java:29) [RenderDalekConsole2.class:?] at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:141) [TileEntityRendererDispatcher.class:?] at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntity(TileEntityRendererDispatcher.java:126) [TileEntityRendererDispatcher.class:?] at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:544) [RenderGlobal.class:?] at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1295) [EntityRenderer.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1094) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1022) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:910) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_55] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [13:22:51] [server thread/INFO]: Player375 has just earned the achievement [Taking Inventory] [13:22:51] [Client thread/INFO]: [CHAT] Player375 has just earned the achievement [Taking Inventory]
May 28, 201411 yr Author sorry in my actual code it's public void registerBlockIcons(IIconRegister iconRegister) { this.blockIcon = iconRegister.registerIcon(main.MODID + ":" + "DalekConsole2"); but still doesn't solve the texture not loading on the block either
May 28, 201411 yr Hi I'm not seeing an obvious problem. These links might give you some things to try http://www.minecraftforge.net/forum/index.php/topic,18371.msg92948.html#msg92948 and http://www.minecraftforge.net/forum/index.php/topic,11963.0.html -TGG
May 28, 201411 yr Author Yay thanks guys Icon and Block are both textured This is the render file im using package renderer; import org.lwjgl.opengl.GL11; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.ResourceLocation; import dma.main.main; import dma.models.DalekConsole2; public class RenderDalekConsole2 extends TileEntitySpecialRenderer{ private static final ResourceLocation texture = new ResourceLocation(main.MODID + ":" + "textures/models/DalekConsole2.png"); private DalekConsole2 model; public RenderDalekConsole2() { this.model = new DalekConsole2(); } @Override public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) { GL11.glPushMatrix(); GL11.glTranslatef((float) x + 0.5F, (float) y + 1.5F, (float)z + 0.5f); GL11.glRotatef(180, 180F, 0F, 1F); GL11.glScaled(0.7, 0.7, 0.7); GL11.glTranslated(-0.5, 0.6, 0); this.bindTexture(texture); GL11.glPushMatrix(); this.model.renderModel(0.0625f); GL11.glPopMatrix(); GL11.glPopMatrix(); } } the texture is now located C:\Users\matt\Desktop\MC MODDING\dma\src\main\resources\assets\dma\textures\models and the texture is "DalekConsole2"
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.