Problème de chargement de texture



  • Salut voila j'ai un soucis dans mon code car mes textures de blocks veulent pas charger voici mon code (je suis en 1.7.10):

    package fr.valsoucours.icefreeze;
    
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.EventHandler;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.registry.GameRegistry;
    import cpw.mods.fml.common.registry.LanguageRegistry;
    
    @Mod(modid = IceFreeze.MODID, version = IceFreeze.VERSION)
    public class IceFreeze
    {
       public static final String MODID = "icefreezemod";
       public static final String VERSION = "1.0";
    
       public static net.minecraft.block.Block iceGrass;
       public static net.minecraft.block.Block iceStone;
    
       @EventHandler
       public void init(FMLPreInitializationEvent event)
       {
    iceGrass = new BlockIceGrass().setBlockName("IceGrass").setBlockTextureName("icefreezemod:icegrass");
    GameRegistry.registerBlock(iceGrass, "IceGrass");
    iceStone = new BlockIceStone().setBlockName("IceStone").setBlockTextureName("icefreezemod:icestone");
    GameRegistry.registerBlock(iceStone, "IceStone");
    
       }
    
       @SuppressWarnings("deprecation")
    @EventHandler
       public void init(FMLInitializationEvent event)
       {
        LanguageRegistry.addName(iceGrass, "Ice Grass");
        LanguageRegistry.addName(iceStone, "Ice Stone");
       }
    }
    

    Voici les logs de la console :

    
    [19:11:28] [main/INFO] [GradleStart]: Extra: []
    [19:11:28] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/theMCcraft/.gradle/caches/minecraft/assets, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
    [19:11:28] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
    [19:11:28] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
    [19:11:28] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
    [19:11:28] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
    [19:11:28] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1235 for Minecraft 1.7.10 loading
    [19:11:28] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_45, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre7
    [19:11:28] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [19:11:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
    [19:11:29] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
    [19:11:29] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
    [19:11:29] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [19:11:29] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
    [19:11:29] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [19:11:29] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [19:11:29] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
    [19:11:30] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [19:11:41] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [19:11:41] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
    [19:11:41] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
    [19:11:43] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
    [19:11:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
    [19:11:43] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [19:11:52] [main/INFO]: Setting user: Player390
    [19:12:06] [Client thread/INFO]: LWJGL Version: 2.9.1
    [19:12:13] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
    [19:12:13] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1235 Initialized
    [19:12:13] [Client thread/INFO] [FML]: Replaced 182 ore recipies
    [19:12:14] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
    [19:12:16] [Client thread/INFO] [FML]: Searching C:\Users\theMCcraft\Desktop\Eclipes Dev's\Forge\1.7.10\mods for mods
    [19:12:17] [Client thread/INFO] [icefreezemod]: Mod icefreezemod is missing the required element 'name'. Substituting icefreezemod
    [19:12:35] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
    [19:12:36] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod, icefreezemod] at CLIENT
    [19:12:36] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, examplemod, icefreezemod] at SERVER
    [19:12:39] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod, FMLFileResourcePack:icefreezemod
    [19:12:39] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [19:12:39] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
    [19:12:39] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [19:12:39] [Client thread/INFO] [FML]: Applying holder lookups
    [19:12:39] [Client thread/INFO] [FML]: Holder lookups applied
    [19:12:40] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
    [19:12:40] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
    [19:12:41] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
    [19:12:41] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [19:12:41] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
    [19:12:41] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
    [19:12:41] [Sound Library Loader/INFO]: Sound engine started
    [19:13:06] [Client thread/ERROR]: Using missing texture, unable to load icefreezemod:textures/blocks/icegrass_side_side_snowed.png
    java.io.FileNotFoundException: icefreezemod:textures/blocks/icegrass_side_side_snowed.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:582) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
    at GradleStart.main(GradleStart.java:45) [start/:?]
    [19:13:07] [Client thread/ERROR]: Using missing texture, unable to load icefreezemod:textures/blocks/icegrass_side_side_overlay.png
    java.io.FileNotFoundException: icefreezemod:textures/blocks/icegrass_side_side_overlay.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:582) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
    at GradleStart.main(GradleStart.java:45) [start/:?]
    [19:13:07] [Client thread/ERROR]: Using missing texture, unable to load icefreezemod:textures/blocks/iceStone_side.png
    java.io.FileNotFoundException: icefreezemod:textures/blocks/iceStone_side.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:582) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
    at GradleStart.main(GradleStart.java:45) [start/:?]
    [19:13:07] [Client thread/ERROR]: Using missing texture, unable to load icefreezemod:textures/blocks/icegrass_side_top.png
    java.io.FileNotFoundException: icefreezemod:textures/blocks/icegrass_side_top.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:582) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
    at GradleStart.main(GradleStart.java:45) [start/:?]
    [19:13:07] [Client thread/ERROR]: Using missing texture, unable to load icefreezemod:textures/blocks/icegrass_side_side.png
    java.io.FileNotFoundException: icefreezemod:textures/blocks/icegrass_side_side.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:582) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
    at GradleStart.main(GradleStart.java:45) [start/:?]
    [19:13:08] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
    [19:13:08] [Client thread/INFO]: Created: 256x256 textures/items-atlas
    [19:13:08] [Client thread/INFO] [STDOUT]: [com.example.examplemod.ExampleMod:init:18]: DIRT BLOCK >> tile.dirt
    [19:13:09] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
    [19:13:09] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod, FMLFileResourcePack:icefreezemod
    [19:13:09] [Client thread/INFO]: Created: 256x256 textures/items-atlas
    [19:13:10] [Client thread/ERROR]: Using missing texture, unable to load icefreezemod:textures/blocks/icegrass_side_side_snowed.png
    java.io.FileNotFoundException: icefreezemod:textures/blocks/icegrass_side_side_snowed.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:643) [Minecraft.class:?]
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
    at GradleStart.main(GradleStart.java:45) [start/:?]
    [19:13:10] [Client thread/ERROR]: Using missing texture, unable to load icefreezemod:textures/blocks/icegrass_side_side_overlay.png
    java.io.FileNotFoundException: icefreezemod:textures/blocks/icegrass_side_side_overlay.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:643) [Minecraft.class:?]
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
    at GradleStart.main(GradleStart.java:45) [start/:?]
    [19:13:10] [Client thread/ERROR]: Using missing texture, unable to load icefreezemod:textures/blocks/iceStone_side.png
    java.io.FileNotFoundException: icefreezemod:textures/blocks/iceStone_side.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:643) [Minecraft.class:?]
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
    at GradleStart.main(GradleStart.java:45) [start/:?]
    [19:13:10] [Client thread/ERROR]: Using missing texture, unable to load icefreezemod:textures/blocks/icegrass_side_top.png
    java.io.FileNotFoundException: icefreezemod:textures/blocks/icegrass_side_top.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:643) [Minecraft.class:?]
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
    at GradleStart.main(GradleStart.java:45) [start/:?]
    [19:13:10] [Client thread/ERROR]: Using missing texture, unable to load icefreezemod:textures/blocks/icegrass_side_side.png
    java.io.FileNotFoundException: icefreezemod:textures/blocks/icegrass_side_side.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:643) [Minecraft.class:?]
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
    at GradleStart.main(GradleStart.java:45) [start/:?]
    [19:13:10] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
    [19:13:11] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
    [19:13:11] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
    [19:13:11] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
    [19:13:11] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
    [19:13:11] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
    [19:13:11] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
    [19:13:11] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
    [19:13:11] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [19:13:11] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
    [19:13:11] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
    [19:13:11] [Sound Library Loader/INFO]: Sound engine started
    
    

    Voici l'acces de mes images :

    Merci d'avance 🙂



  • Tu as 2 fonctions "init" remplace la 1ere par

    ​@EventHandler
    
    public void preInit(FMLPreInitializationEvent event)
    {
    

    Apres je sais pas si c'est a cause de ca.


  • Administrateurs

    Salut, le problème vient de la classe de ton bloc, il ajoute un _side en trop dans le nom de la texture.



  • Si tu ne voit pas Le problème envoi la classe du bloc et change la balise du crash en code(sa évite de prendre 1page)



  • @'sosoh':

    Tu as 2 fonctions "init" remplace la 1ere par

    ​@EventHandler
    
    public void preInit(FMLPreInitializationEvent event)
    {
    

    Apres je sais pas si c'est a cause de ca.

    Cela ne change pas 😕

    Voici mes Class :

    Class BlockIceGrass

    package fr.valsoucours.icefreeze;
    
    import net.minecraft.block.BlockGrass;
    
    public class BlockIceGrass extends BlockGrass{
    
    }
    
    

    Et ma class principal :

    package fr.valsoucours.icefreeze;
    
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.EventHandler;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.registry.GameRegistry;
    import cpw.mods.fml.common.registry.LanguageRegistry;
    
    @Mod(modid = IceFreeze.MODID, version = IceFreeze.VERSION)
    public class IceFreeze
    {
    public static final String MODID = "icefreezemod";
    public static final String VERSION = "1.0";
    
    public static net.minecraft.block.Block iceGrass;
    public static net.minecraft.block.Block iceStone;
    
    @EventHandler
    public void preInit(FMLPreInitializationEvent event)
    {
    iceGrass = new BlockIceGrass().setBlockName("IceGrass").setBlockTextureName("icefreezemod:icegrass");
    GameRegistry.registerBlock(iceGrass, "IceGrass");
    iceStone = new BlockIceStone().setBlockName("IceStone").setBlockTextureName("icefreezemod:icestone");
    GameRegistry.registerBlock(iceStone, "IceStone");
    
    }
    
    @SuppressWarnings("deprecation")
    @EventHandler
    public void init(FMLInitializationEvent event)
    {
    LanguageRegistry.addName(iceGrass, "Ice Grass");
    LanguageRegistry.addName(iceStone, "Ice Stone");
    }
    }
    
    

  • Administrateurs

    C'est vraiment étrange car il ajoute tout un "_side" qu'il ne devrait pas.
    Par exemple une des tes textures s'appelle :
    icegrass_side_overlay.png
    or il cherche :
    icegrass_side_side_overlay.png

    Sinon renomme les textures avec le side en plus et ça devrait être bon.



  • J'avais déja essaye en renomment comme ça mais après sa me met 'icegrass_side_side_overlay_top.png' et si je renomme en ça sa me met 'icegrass_side_side_overlay_top_top.png' etc…


  • Administrateurs

    Je n'ai jamais vu un problème aussi étrange que ça, limite reprend les fonctions en rapport avec les IIcon qui sont dans BlockGrass, voir enlève l'extends et reprend toutes les fonctions.



  • Déja fait mais rien ce passe 😕


  • Administrateurs

    Envoie ton code et les logs.



  • Voici la class blockicegrass

    package fr.valsoucours.icefreeze;
    
    import cpw.mods.fml.relauncher.Side;
    import cpw.mods.fml.relauncher.SideOnly;
    import net.minecraft.block.BlockGrass;
    import net.minecraft.client.renderer.texture.IIconRegister;
    
    public class BlockIceGrass extends BlockGrass{
    
    @SideOnly(Side.CLIENT)
    public void registerBlockIcons(IIconRegister p_149651_1_)
    {
    this.blockIcon = p_149651_1_.registerIcon(this.getTextureName());
    }
    
    }
    
    

  • Administrateurs

    Normal que ça fonctionne pas, met directement :

    package fr.valsoucours.icefreeze;
    
    import cpw.mods.fml.relauncher.Side;
    import cpw.mods.fml.relauncher.SideOnly;
    import net.minecraft.block.BlockGrass;
    import net.minecraft.client.renderer.texture.IIconRegister;
    
    public class BlockIceGrass extends BlockGrass{
    
         @SideOnly(Side.CLIENT)
            public void registerBlockIcons(IIconRegister iconRegister)
            {
                this.blockIcon = iconRegister.registerIcon("modid:texture");
            }
    }
    

    Et tu vas devoir ajoute le code pour les autres textures, regarde bien la classe BlockGrass / le tutoriel sur les blocs multi-texture.



  • Tout cela marche pas 😕 (franchement je commence a être décourager j'ai trouver des bugs que personnes à !)


  • Administrateurs

    C'est peut être l'extends BlockGrass qui cause problème, sur nanotech mod Kévin et moi somme resté sur un extends Block :
    https://github.com/FFMT/nanotech_mod/blob/master/common/fr/mcnanotech/kevin_68/nanotechmod/main/blocks/BlockGrass.java



  • Je ne peut pas modifier la class BlockGrass je peut rien supprimer ni remplacer


  • Administrateurs

    Je t'ai jamais dit de modifier BlockGrass … c'est ta classe BlockIceGrass que tu dois modifier comme ça.



  • J'ai changer par ça mais rien du tout :

    package fr.valsoucours.icefreeze;
    
    import java.util.Random;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.renderer.texture.IIconRegister;
    import net.minecraft.init.Blocks;
    import net.minecraft.item.Item;
    import net.minecraft.util.IIcon;
    import net.minecraft.world.IBlockAccess;
    import net.minecraft.world.World;
    import net.minecraftforge.common.IPlantable;
    import net.minecraftforge.common.util.ForgeDirection;
    import cpw.mods.fml.relauncher.Side;
    import cpw.mods.fml.relauncher.SideOnly;
    
    public class BlockIceGrass extends Block
    {
    protected BlockIceGrass(Material p_i45394_1_) {
    super(p_i45394_1_);
    // TODO Auto-generated constructor stub
    }
    
    private IIcon iconTop;
    private IIcon iconSnowSide;
    
    public BlockIceGrass()
    {
    super(Material.grass);
    this.setTickRandomly(true);
    this.setHarvestLevel("shovel", 2);
    }
    
    @Override
    public boolean canSustainPlant(IBlockAccess world, int x, int y, int z, ForgeDirection direction, IPlantable plant)
    {
    return true;
    }
    
    @Override
    public void registerBlockIcons(IIconRegister iconregister)
    {
    blockIcon = iconregister.registerIcon(this.getTextureName() + "_side");
    iconTop = iconregister.registerIcon(this.getTextureName() + "_top");
    iconSnowSide = iconregister.registerIcon(this.getTextureName() + "_side_snow");
    }
    
    @SideOnly(Side.CLIENT)
    @Override
    public IIcon getIcon(int side, int metadata)
    {
    return side == 1 ? iconTop : (side == 0 ? Blocks.dirt.getBlockTextureFromSide(side) : this.blockIcon);
    }
    
    @SideOnly(Side.CLIENT)
    @Override
    public IIcon getIcon(IBlockAccess blockaccess, int x, int y, int z, int side)
    {
    if(side == 1)
    {
    return iconTop;
    }
    else if(side == 0)
    {
    return Blocks.dirt.getBlockTextureFromSide(side);
    }
    else
    {
    Material material = blockaccess.getBlock(x, y + 1, z).getMaterial();
    return material != Material.snow && material != Material.craftedSnow ? blockIcon : iconSnowSide;
    }
    }
    
    public void updateTick(World world, int x, int y, int z, Random par5Random)
    {
    if(!world.isRemote)
    {
    if(world.getBlockLightValue(x, y + 1, z) < 4 && world.getBlockLightOpacity(x, y + 1, z) > 2)
    {
    world.setBlock(x, y, z, Blocks.dirt, 0, 3);
    }
    else if(world.getBlockLightValue(x, y + 1, z) >= 9)
    {
    for(int var6 = 0; var6 < 4; ++var6)
    {
    int var7 = x + par5Random.nextInt(3) - 1;
    int var8 = y + par5Random.nextInt(5) - 3;
    int var9 = z + par5Random.nextInt(3) - 1;
    
    if((world.getBlock(var7, var8, var9).equals(Blocks.dirt) && world.getBlockLightValue(var7, var8 + 1, var9) >= 4 && world.getBlockLightOpacity(var7, var8 + 1, var9) <= 2) || (world.getBlock(var7, var8, var9).equals(Blocks.grass) && world.getBlockLightValue(var7, var8 + 1, var9) >= 4 && world.getBlockLightOpacity(var7, var8 + 1, var9) <= 2) || (world.getBlock(var7, var8, var9).equals(Blocks.mycelium) && world.getBlockLightValue(var7, var8 + 1, var9) >= 4 && world.getBlockLightOpacity(var7, var8 + 1, var9) <= 2) || (world.getBlock(var7, var8, var9).equals(Blocks.farmland) && world.getBlockLightValue(var7, var8 + 1, var9) >= 4 && world.getBlockLightOpacity(var7, var8 + 1, var9) <= 2))
    {
    world.setBlock(var7, var8, var9, this, 0, 3);
    }
    }
    }
    }
    }
    
    @Override
    public Item getItemDropped(int metadata, Random random, int par3)
    {
    return Blocks.dirt.getItemDropped(0, random, par3);
    }
    }
    

  • Administrateurs

    Tu as toujours la même erreur dans les logs ?



  • Voici mes logs :


  • Administrateurs

    icefreezemod:textures/blocks/icegrass_top.png

    Bon il y a du progrès, il n'ajoute plus le _side en trop.
    Sur eclipse dans le dossier src/main/resources, si tu déroules les menu est-ce que tes textures sont présentes ?