MFF

    Minecraft Forge France
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes
    • Forge Events
      • Automatique
      • Foncé
      • Clair
    • S'inscrire
    • Se connecter

    Crash d'un mod: rendering item

    Planifier Épinglé Verrouillé Déplacé Sans suite
    1.7.x
    25 Messages 5 Publieurs 8.3k Vues 1 Watching
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • Skillb0wS Hors-ligne
      Skillb0w
      dernière édition par

      @‘totos51’:

      au hasard, tout simplement pck tu initialises des onglets créatifs qui utilisent des objets qui eux ne sont initialisé qu’après?

      Il faudrait que je mette les Creatives Tabs après les items/blocks ?

      @‘robin4002’:

      Envoie ta classe principale. Et pourquoi mettre un int dans le constructeur o_O ?

      Il me semble que c’est le constructeur de base.

      1 réponse Dernière réponse Répondre Citer 0
      • T Hors-ligne
        totos51
        dernière édition par

        Oui en effet je pense que ce serait mieux, bien sur je peux me tromper

        1 réponse Dernière réponse Répondre Citer 0
        • Skillb0wS Hors-ligne
          Skillb0w
          dernière édition par

          Je testerai demain. Merci

          Cordialement.
          Skillb0w

          1 réponse Dernière réponse Répondre Citer 0
          • robin4002R Hors-ligne
            robin4002 Moddeurs confirmés Rédacteurs Administrateurs
            dernière édition par

            Ah oui j’avais pas vu la classe principale.
            Tu peux utiliser le constructeur qui contient juste le nom de l’onglet créatif, ça sera mieux.

            Et dans le constructeur de tes items / blocs il y a du n’importe quoi, les ids ne servent plus à rien en 1.7

            1 réponse Dernière réponse Répondre Citer 0
            • T Hors-ligne
              totos51
              dernière édition par

              PS: je précise que si ma solution est la bonne, que c’était en effet écrit dans le lein vers le quel tu rediriges, penses à tout lire si c’est le cas 😉

              1 réponse Dernière réponse Répondre Citer 0
              • Skillb0wS Hors-ligne
                Skillb0w
                dernière édition par

                Salut. J’ai mis les creatives tabs après, et j’ai toujours le même problème. Dans les logs j’ai une erreur de texture manquante et je ne sais pas pourquoi.

                :::

                
                –- LOGS DU LAUNCHER #41534 - 19/08/14 10:12 ---
                
                Page des news : http://mcupdate.tumblr.com/
                Chargement du logo : https://launchmycraft.fr/tools/logocreator/AuraCraft/38
                ### Chargement terminé ; affichage de l'interface
                ### Connexion au compte...
                Adresse du serveur d'authentification : https://authserver.mojang.com/
                ### Téléchargement de la liste des versions...
                ### Détermination de la version à télécharger...
                Version 1.7.2
                ### Calcul des différences...
                ### Vérification des ressources...
                Mode "legacy" utilisé.
                0 fichiers à mettre à jour.
                ### Mise à  jour des ressources...
                ### Mise à jour des ressources personnalisées...
                Téléchargement de http://www.launchmycraft.fr/getupload/1408435872161
                ### Installation des ressources personnalisées...
                Nettoyage...
                ### Vérification des bibliothèques...
                32 bibliothèques à  vérifier...
                ### Mise à jour des bibliothèques...
                1 bibliothèques à mettre à jour...
                ### Exécution du jeu...
                Chemin vers Java : C:\Program Files\Java\jre7\bin\javaw.exe
                Extraction de la librairie native : C:\Users\Baptiste\AppData\Roaming\.launchmycraft\launchers\launcher41534\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.0\lwjgl-platform-2.9.0-natives-windows.jar dans C:\Users\Baptiste\AppData\Roaming\.launchmycraft\launchers\launcher41534\libraries\natives\windows
                Extraction de la librairie native : C:\Users\Baptiste\AppData\Roaming\.launchmycraft\launchers\launcher41534\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar dans C:\Users\Baptiste\AppData\Roaming\.launchmycraft\launchers\launcher41534\libraries\natives\windows
                Non authentifié ; ajout des informations par défaut...
                Connexion automatique activée
                
                --- LOGS DU JEU ---
                
                [10:15:05] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                [10:15:05] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                [10:15:05] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                [10:15:06] [main/INFO]: Forge Mod Loader version 7.2.217.1147 for Minecraft 1.7.2 loading
                [10:15:06] [main/INFO]: Java is Java HotSpot(TM) Client VM, version 1.7.0_51, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jre7
                [10:15:06] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                [10:15:06] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                [10:15:06] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                [10:15:06] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                [10:15:06] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                [10:15:17] [main/INFO]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
                [10:15:18] [main/INFO]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
                [10:15:18] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                [10:15:18] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                [10:15:21] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                [10:15:34] [main/INFO]: Setting user: Skillb0w
                [10:15:39] [Client thread/INFO]: LWJGL Version: 2.9.0
                [10:15:51] [Client thread/INFO]: Attempting early MinecraftForge initialization
                [10:15:51] [Client thread/INFO]: MinecraftForge v10.12.2.1147 Initialized
                [10:15:51] [Client thread/INFO]: Replaced 182 ore recipies
                [10:15:52] [Client thread/INFO]: Completed early MinecraftForge initialization
                [10:15:55] [Client thread/INFO]: Searching C:\Users\Baptiste\AppData\Roaming\.launchmycraft\launchers\launcher41534\mods for mods
                [10:15:59] [Client thread/ERROR]: 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!
                [10:15:59] [Client thread/ERROR]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.Start. 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!
                [10:16:28] [Client thread/INFO]: Forge Mod Loader has identified 5 mods to load
                [10:16:33] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Biomes O' Plenty, FMLFileResourcePack:AuraCraft Mod
                [10:16:33] [Client thread/INFO]: Processing ObjectHolder annotations
                [10:16:33] [Client thread/INFO]: Found 341 ObjectHolder annotations
                [10:16:33] [Client thread/INFO]: Configured a dormant chunk cache size of 0
                [10:16:34] [Client thread/INFO]: [BiomesOPlenty] Extending Potions Array.
                [10:16:46] [Client thread/INFO]: Applying holder lookups
                [10:16:46] [Client thread/INFO]: Holder lookups applied
                
                Starting up SoundSystem…
                Initializing LWJGL OpenAL
                (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
                OpenAL initialized.
                
                [10:17:11] [Sound Library Loader/INFO]: Sound engine started
                [10:17:15] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_458_YellowLampOff.png
                java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_458_YellowLampOff.png
                at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(SourceFile:61) [bpx.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(SourceFile:52) [bpx.class:?]
                at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:523) [azd.class:?]
                at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
                at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
                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:?]
                [10:17:15] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_456_WhiteLampOff.png
                java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_456_WhiteLampOff.png
                at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(SourceFile:61) [bpx.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(SourceFile:52) [bpx.class:?]
                at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:523) [azd.class:?]
                at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
                at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
                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:?]
                [10:17:16] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_455_WhiteLampOn.png
                java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_455_WhiteLampOn.png
                at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(SourceFile:61) [bpx.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(SourceFile:52) [bpx.class:?]
                at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:523) [azd.class:?]
                at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
                at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
                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:?]
                [10:17:16] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_457_YellowLampOn.png
                java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_457_YellowLampOn.png
                at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(SourceFile:61) [bpx.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(SourceFile:52) [bpx.class:?]
                at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:523) [azd.class:?]
                at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
                at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
                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:?]
                [10:17:17] [Client thread/INFO]: Created: 512x512 textures/blocks-atlas
                [10:17:19] [Client thread/INFO]: Created: 512x256 textures/items-atlas
                [10:17:20] [Client thread/INFO]: Unknown recipe class! biomesoplenty.common.recipes.BiomeEssenceRecipe Modder please refer to net.minecraftforge.oredict.RecipeSorter
                [10:17:20] [Client thread/INFO]: Forge Mod Loader has successfully loaded 5 mods
                [10:17:20] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Biomes O' Plenty, FMLFileResourcePack:AuraCraft Mod
                [10:17:21] [Client thread/INFO]: Created: 512x256 textures/items-atlas
                [10:17:22] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_458_YellowLampOff.png
                java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_458_YellowLampOff.png
                at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:136) [bpx.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:104) [bqx.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:92) [bqx.class:?]
                at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:568) [azd.class:?]
                at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
                at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:527) [azd.class:?]
                at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
                at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
                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:?]
                [10:17:22] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_456_WhiteLampOff.png
                java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_456_WhiteLampOff.png
                at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:136) [bpx.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:104) [bqx.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:92) [bqx.class:?]
                at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:568) [azd.class:?]
                at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
                at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:527) [azd.class:?]
                at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
                at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
                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:?]
                [10:17:22] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_455_WhiteLampOn.png
                java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_455_WhiteLampOn.png
                at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:136) [bpx.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:104) [bqx.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:92) [bqx.class:?]
                at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:568) [azd.class:?]
                at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
                at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:527) [azd.class:?]
                at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
                at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
                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:?]
                [10:17:23] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_457_YellowLampOn.png
                java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_457_YellowLampOn.png
                at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:125) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:90) [bpr.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?]
                at net.minecraft.client.renderer.texture.TextureManager.func_110549_a(SourceFile:136) [bpx.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:104) [bqx.class:?]
                at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:92) [bqx.class:?]
                at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:568) [azd.class:?]
                at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
                at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:527) [azd.class:?]
                at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) [azd.class:?]
                at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
                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:?]
                [10:17:23] [Client thread/INFO]: Created: 512x512 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.
                
                [10:17:26] [Sound Library Loader/INFO]: Sound engine started
                [10:17:32] [Netty Client IO #0/INFO]: Attempting connection with missing mods [BiomesOPlenty, auracraft] at SERVER
                [10:17:33] [Client thread/INFO]: Connecting to 92.222.137.143, 25000
                [10:17:34] [Netty Client IO #1/INFO]: Server protocol version 1
                [10:17:34] [Netty Client IO #1/INFO]: Attempting connection with missing mods [BiomesOPlenty, auracraft] at SERVER
                [10:17:35] [Netty Client IO #1/INFO]: Injecting existing block and item data into this client instance
                [10:17:35] [Netty Client IO #1/INFO]: Applying holder lookups
                [10:17:35] [Netty Client IO #1/INFO]: Holder lookups applied
                [10:17:35] [Client thread/INFO]: [Client thread] Client side modded connection established
                [10:17:36] [Client thread/INFO]: [CHAT] Skillb0w joined the game.
                [10:17:37] [Client thread/INFO]: [CHAT] Welcome, Skillb0w!
                [10:17:37] [Client thread/INFO]: [CHAT] Type /help for a list of commands.
                [10:17:37] [Client thread/INFO]: [CHAT] Type /list to see who else is online.
                [10:17:37] [Client thread/INFO]: [CHAT] Players online: 1 - World time: 9:50 PM
                [10:17:37] [Client thread/INFO]: [CHAT] Vous n'avez pas de courrier.
                [10:17:52] [Client thread/INFO]: Applying holder lookups
                [10:17:52] [Client thread/INFO]: Holder lookups applied
                [10:17:53] [Client thread/FATAL]: Reported exception thrown!
                net.minecraft.util.ReportedException: Rendering item
                at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1092) ~[bll.class:?]
                at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:945) ~[azd.class:?]
                at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:835) [azd.class:?]
                at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]
                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:?]
                Caused by: java.lang.NullPointerException
                at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:214) ~[abp.class:?]
                at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:398) ~[bnq.class:?]
                at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:540) ~[bnq.class:?]
                at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:925) ~[bdr.class:?]
                at net.minecraft.client.gui.inventory.GuiContainerCreative.func_146976_a(GuiContainerCreative.java:757) ~[bdr.class:?]
                at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:78) ~[bdd.class:?]
                at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30) ~[bdu.class:?]
                at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:635) ~[bdr.class:?]
                at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1061) ~[bll.class:?]
                … 9 more
                ---- Minecraft Crash Report ----
                // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]
                
                Time: 19/08/14 10:17
                Description: Rendering item
                
                java.lang.NullPointerException: Rendering item
                at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:214)
                at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:398)
                at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:540)
                at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:925)
                at net.minecraft.client.gui.inventory.GuiContainerCreative.func_146976_a(GuiContainerCreative.java:757)
                at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:78)
                at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30)
                at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:635)
                at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1061)
                at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:945)
                at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:835)
                at net.minecraft.client.main.Main.main(SourceFile:103)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                at java.lang.reflect.Method.invoke(Unknown Source)
                at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
                at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                
                A detailed walkthrough of the error, its code path and all known details is as follows:
                –-------------------------------------------------------------------------------------
                
                -- Head --
                Stacktrace:
                at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:214)
                at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:398)
                
                -- Item being rendered --
                Details:
                Item Type: null
                Item Aux: ~~ERROR~~ NullPointerException: null
                Item NBT: null
                Item Foil: ~~ERROR~~ NullPointerException: null
                Stacktrace:
                at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:540)
                at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:925)
                at net.minecraft.client.gui.inventory.GuiContainerCreative.func_146976_a(GuiContainerCreative.java:757)
                at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:78)
                at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30)
                at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:635)
                
                -- Screen render details --
                Details:
                Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
                Mouse location: Scaled: (336, 35). Absolute: (672, 476)
                Screen size: Scaled: (512, 274). Absolute: (1024, 548). Scale factor of 2
                
                -- Affected level --
                Details:
                Level name: MpServer
                All players: 1 total; [EntityClientPlayerMP['Skillb0w'/108117, l='MpServer', x=-362,76, y=79,12, z=130,45]]
                Chunk stats: MultiplayerChunkCache: 241, 241
                Level seed: 0
                Level generator: ID 01 - flat, ver 0\. Features enabled: false
                Level generator options:
                Level spawn location: World: (-459,4,237), Chunk: (at 5,0,13 in -29,14; contains blocks -464,0,224 to -449,255,239), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
                Level time: 33856147 game time, 33856147 day time
                Level dimension: 0
                Level storage version: 0x00000 - Unknown?
                Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
                Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
                Forced entities: 34 total; [EntityClientPlayerMP['Skillb0w'/108117, l='MpServer', x=-362,76, y=79,12, z=130,45], EntitySheep['Sheep'/1, l='MpServer', x=-402,72, y=71,00, z=160,38], EntitySheep['Sheep'/3, l='MpServer', x=-406,25, y=71,00, z=157,50], EntityCow['Cow'/4, l='MpServer', x=-404,59, y=71,00, z=156,31], EntityCow['Cow'/6, l='MpServer', x=-399,13, y=71,00, z=156,88], EntityCow['Cow'/7, l='MpServer', x=-397,31, y=71,00, z=159,84], EntityZombie['Zombie'/108213, l='MpServer', x=-403,50, y=71,00, z=105,50], EntitySheep['Sheep'/8, l='MpServer', x=-396,50, y=71,00, z=163,50], EntityZombie['Zombie'/108212, l='MpServer', x=-400,50, y=71,00, z=108,50], EntitySheep['Sheep'/9, l='MpServer', x=-396,41, y=71,00, z=167,59], EntitySkeleton['Skeleton'/108215, l='MpServer', x=-359,50, y=104,00, z=171,50], EntitySheep['Sheep'/10, l='MpServer', x=-391,66, y=71,00, z=171,81], EntityZombie['Zombie'/108214, l='MpServer', x=-406,50, y=71,00, z=102,50], EntitySheep['Sheep'/11, l='MpServer', x=-398,84, y=71,00, z=167,13], EntityCow['Cow'/12, l='MpServer', x=-398,31, y=71,00, z=161,44], EntityZombie['Zombie'/108211, l='MpServer', x=-396,53, y=71,00, z=109,03], EntitySpider['Spider'/108206, l='MpServer', x=-399,66, y=71,00, z=100,66], EntityItem['item.item.rottenFlesh'/108131, l='MpServer', x=-312,81, y=71,13, z=83,09], EntityCreeper['Creeper'/108133, l='MpServer', x=-317,50, y=71,00, z=88,50], EntitySpider['Spider'/108132, l='MpServer', x=-317,59, y=71,00, z=95,84], EntityZombie['Zombie'/108202, l='MpServer', x=-393,50, y=102,00, z=114,50], EntityItem['item.item.bone'/108135, l='MpServer', x=-312,34, y=71,13, z=185,88], EntityItem['item.item.arrow'/108134, l='MpServer', x=-310,03, y=71,13, z=182,69], EntityItem['item.item.arrow'/108136, l='MpServer', x=-315,09, y=71,13, z=185,56], EntityCreeper['Creeper'/108192, l='MpServer', x=-348,06, y=119,00, z=148,28], EntitySkeleton['Skeleton'/108118, l='MpServer', x=-360,50, y=71,00, z=86,50], EntitySpider['Spider'/108119, l='MpServer', x=-353,69, y=71,00, z=85,31], EntityCreeper['Creeper'/108122, l='MpServer', x=-343,97, y=80,00, z=87,34], EntitySkeleton['Skeleton'/108123, l='MpServer', x=-350,44, y=80,00, z=86,44], EntityZombie['Zombie'/108181, l='MpServer', x=-400,50, y=77,00, z=143,50], EntitySpider['Spider'/108121, l='MpServer', x=-345,22, y=80,00, z=84,97], EntitySkeleton['Skeleton'/108126, l='MpServer', x=-318,94, y=71,00, z=96,28], EntityEnderman['Enderman'/108127, l='MpServer', x=-322,08, y=71,00, z=94,36], EntitySkeleton['Skeleton'/108125, l='MpServer', x=-327,13, y=71,00, z=87,44]]
                Retry entities: 0 total; []
                Server brand: cauldron,craftbukkit,mcpc,fml,forge
                Server type: Non-integrated multiplayer server
                Stacktrace:
                at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:368)
                at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2383)
                at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:856)
                at net.minecraft.client.main.Main.main(SourceFile:103)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                at java.lang.reflect.Method.invoke(Unknown Source)
                at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
                at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                
                – System Details --
                Details:
                Minecraft Version: 1.7.2
                Operating System: Windows 7 (x86) version 6.1
                Java Version: 1.7.0_51, Oracle Corporation
                Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation
                Memory: 104671672 bytes (99 MB) / 198803456 bytes (189 MB) up to 518979584 bytes (494 MB)
                JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M
                AABB Pool Size: 4350 (243600 bytes; 0 MB) allocated, 2189 (122584 bytes; 0 MB) used
                IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                FML: MCP v9.03 FML v7.2.217.1147 Minecraft Forge 10.12.2.1147 5 mods loaded, 5 mods active
                mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
                FML{7.2.217.1147} [Forge Mod Loader] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
                Forge{10.12.2.1147} [Minecraft Forge] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
                BiomesOPlenty{2.0.2} [Biomes O' Plenty] (BiomesOPlenty-1.7.2-2.0.2.932-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
                auracraft{1.O.O} [AuraCraft Mod] (modid-1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
                Launched Version: 1.7.2
                LWJGL: 2.9.0
                OpenGL: AMD Radeon HD 6290 Graphics GL version 4.1.10834 Compatibility Profile Context, ATI Technologies Inc.
                Is Modded: Definitely; Client brand changed to 'fml,forge'
                Type: Client (map_client.txt)
                Resource Packs: []
                Current Language: English (US)
                Profiler Position: N/A (disabled)
                Vec3 Pool Size: 969 (54264 bytes; 0 MB) allocated, 449 (25144 bytes; 0 MB) used
                Anisotropic Filtering: Off (1)
                #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Baptiste\AppData\Roaming\.launchmycraft\launchers\launcher41534\crash-reports\crash-2014-08-19_10.17.53-client.txt
                AL lib: (EE) alc_cleanup: 1 device not closed
                ### Le jeu a crashé ! ###
                
                

                :::

                Cordialement.
                Skillb0w

                1 réponse Dernière réponse Répondre Citer 0
                • T Hors-ligne
                  totos51
                  dernière édition par

                  envoie une classe d’une des lampes pour laquelle il y a un message d’erreur

                  1 réponse Dernière réponse Répondre Citer 0
                  • Skillb0wS Hors-ligne
                    Skillb0w
                    dernière édition par

                    La yellow :

                    :::

                    
                    package fr.skillb0w.auratools.common.lamps;
                    
                    import java.util.Random;
                    
                    import fr.skillb0w.auratools.common.MainAuratools;
                    import net.minecraft.block.Block;
                    import net.minecraft.block.material.Material;
                    import net.minecraft.client.renderer.texture.IIconRegister;
                    import net.minecraft.item.Item;
                    import net.minecraft.item.ItemStack;
                    import net.minecraft.world.World;
                    
                    public class YellowLampClass extends Block {
                    
                    private final boolean isOn;
                    
                    public YellowLampClass(boolean isOn) {
                    super(Material.redstoneLight);
                    this.setCreativeTab(MainAuratools.AuraBlocs);
                    this.setHardness(0.3F);
                    this.setStepSound(soundTypeGlass);
                    
                    this.isOn = isOn;
                    
                    if (this.isOn) {
                    this.setLightLevel(1.0F);
                    }
                    }
                    
                    public void registerBlocksIcons(IIconRegister iconRegister) {
                    this.blockIcon = iconRegister.registerIcon(MainAuratools.MODID + ":" + (this.isOn ? "YellowLampOn" : "YellowLampOff"));
                    }
                    
                    public void onBlockAdded(World world, int x, int y, int z) {
                    if (!world.isRemote) {
                    if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
                    world.scheduleBlockUpdate(x, y, z, this, 4);
                    }
                    else if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)){
                    world.setBlock(x, y, z, MainAuratools.YellowLampOn, 0, 2);
                    }
                    }
                    }
                    
                    public void onNeighborBlockChange(World world, int x, int y, int z, Block block) {
                    
                    if (!world.isRemote) {
                    if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
                    world.scheduleBlockUpdate(x, y, z, this, 4);
                    }
                    else if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
                    world.setBlock(x, y, z, MainAuratools.YellowLampOn, 0, 2);
                    }
                    }
                    }
                    
                    public void updateTick(World world, int x, int y, int z, Random random) {
                    
                    if (!world.isRemote && this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
                    world.setBlock(x, y, z, MainAuratools.YellowLampOff, 0, 2);
                    }
                    }
                    public Item getItemDropped(int i, Random random, int j) {
                    return Item.getItemFromBlock(MainAuratools.YellowLampOff);
                    }
                    
                    protected ItemStack createStackedBlock(int i) {
                    return new ItemStack(MainAuratools.YellowLampOff);
                    }
                    }
                    
                    

                    :::

                    La White :

                    :::

                    
                    package fr.skillb0w.auratools.common.lamps;
                    
                    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.item.Item;
                    import net.minecraft.item.ItemStack;
                    import net.minecraft.world.World;
                    import fr.skillb0w.auratools.common.MainAuratools;
                    
                    public class WhiteLampClass extends Block {
                    
                    private final boolean isOn;
                    
                    public WhiteLampClass(boolean isOn) {
                    super(Material.redstoneLight);
                    this.setCreativeTab(MainAuratools.AuraBlocs);
                    this.setHardness(0.3F);
                    this.setStepSound(soundTypeGlass);
                    
                    this.isOn = isOn;
                    
                    if (this.isOn) {
                    this.setLightLevel(1.0F);
                    }
                    }
                    
                    public void registerBlocksIcons(IIconRegister iconRegister) {
                    this.blockIcon = iconRegister.registerIcon(MainAuratools.MODID + ":" + (this.isOn ? "WhiteLampOn" : "WhiteLampOff"));
                    }
                    
                    public void onBlockAdded(World world, int x, int y, int z) {
                    if (!world.isRemote) {
                    if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
                    world.scheduleBlockUpdate(x, y, z, this, 4);
                    }
                    else if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)){
                    world.setBlock(x, y, z, MainAuratools.WhiteLampOn, 0, 2);
                    }
                    }
                    }
                    
                    public void onNeighborBlockChange(World world, int x, int y, int z, Block block) {
                    
                    if (!world.isRemote) {
                    if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
                    world.scheduleBlockUpdate(x, y, z, this, 4);
                    }
                    else if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
                    world.setBlock(x, y, z, MainAuratools.WhiteLampOn, 0, 2);
                    }
                    }
                    }
                    
                    public void updateTick(World world, int x, int y, int z, Random random) {
                    
                    if (!world.isRemote && this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
                    world.setBlock(x, y, z, MainAuratools.WhiteLampOff, 0, 2);
                    }
                    }
                    public Item getItemDropped(int i, Random random, int j) {
                    return Item.getItemFromBlock(MainAuratools.WhiteLampOff);
                    }
                    
                    protected ItemStack createStackedBlock(int i) {
                    return new ItemStack(MainAuratools.WhiteLampOff);
                    }
                    
                    }
                    
                    

                    :::

                    Et la Orange où il n’y a pas d’erreur :

                    :::

                    
                    package fr.skillb0w.auratools.common.lamps;
                    
                    import java.util.Random;
                    
                    import fr.skillb0w.auratools.common.MainAuratools;
                    import net.minecraft.block.Block;
                    import net.minecraft.block.material.Material;
                    import net.minecraft.client.renderer.texture.IIconRegister;
                    import net.minecraft.item.Item;
                    import net.minecraft.item.ItemStack;
                    import net.minecraft.world.World;
                    
                    public class OrangeLampClass extends Block {
                    
                    private final boolean isOn;
                    
                    public OrangeLampClass(boolean isOn) {
                    super(Material.redstoneLight);
                    this.setCreativeTab(MainAuratools.AuraBlocs);
                    this.setHardness(0.3F);
                    this.setStepSound(soundTypeGlass);
                    
                    this.isOn = isOn;
                    
                    if (isOn) {
                    this.setLightLevel(1.0F);
                    }
                    }
                    
                    public void registerBlockIcons(IIconRegister iconRegister) {
                    this.blockIcon = iconRegister.registerIcon(MainAuratools.MODID + ":" + (this.isOn ? "OrangeLampOn" : "OrangeLampOff"));
                    }
                    
                    public void onBlockAdded(World world, int x, int y, int z) {
                    if (!world.isRemote) {
                    if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
                    world.scheduleBlockUpdate(x, y, z, this, 4);
                    }
                    else if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)){
                    world.setBlock(x, y, z, MainAuratools.OrangeLampOn, 0, 2);
                    }
                    
                    }
                    }
                    
                    public void onNeighborBlockChange(World world, int x, int y, int z, Block block) {
                    
                    if (!world.isRemote) {
                    if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
                    world.scheduleBlockUpdate(x, y, z, this, 4);
                    }
                    else if (this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
                    world.setBlock(x, y, z, MainAuratools.OrangeLampOn, 0, 2);
                    }
                    }
                    }
                    
                    public void updateTick(World world, int x, int y, int z, Random random) {
                    
                    if (!world.isRemote && this.isOn && !world.isBlockIndirectlyGettingPowered(x, y, z)) {
                    world.setBlock(x, y, z, MainAuratools.OrangeLampOff, 0, 2);
                    }
                    }
                    
                    public Item getItemDropped(int i, Random random, int j) {
                    return Item.getItemFromBlock(MainAuratools.OrangeLampOff);
                    }
                    
                    protected ItemStack createStackedBlock(int i) {
                    return new ItemStack(MainAuratools.OrangeLampOff);
                    }
                    }
                    
                    

                    :::

                    Cordialement.
                    Skillb0w

                    1 réponse Dernière réponse Répondre Citer 0
                    • isadorI Hors-ligne
                      isador Moddeurs confirmés Modérateurs
                      dernière édition par

                      les texture sont bien présente?

                      1 réponse Dernière réponse Répondre Citer 0
                      • Skillb0wS Hors-ligne
                        Skillb0w
                        dernière édition par

                        Oui avec tous les autres blocs

                        –--------------------------

                        EDIT: Nouveau problème --’

                        Je peux accéder à la deuxieme page de l’inventaire (les creatives tabs que j’ai crée), mais il n’y a rien dedans, et quand je veux accéder à l’onglet de Biomes o’ Penty, le jeu crash

                        Cordialement.
                        Skillb0w

                        1 réponse Dernière réponse Répondre Citer 0
                        • Superloup10S Hors-ligne
                          Superloup10 Modérateurs
                          dernière édition par

                          Bon, je vois plusieurs problèmes:

                          • Premièrement, pour les codes JAVA, il y a la balise [java][/java] sans les *.
                          • Deuxièmement, pour le respect des conventions JAVA, je te mets un 5/20.
                          • Troisièmement, pour les textures, il ne faut jamais mettre de majuscule dans le nom.

                          Si vous souhaitez me faire un don, il vous suffit de cliquer sur le bouton situé en dessous.

                          Je suis un membre apprécié et joueur, j'ai déjà obtenu 17 points de réputation.

                          1 réponse Dernière réponse Répondre Citer 0
                          • robin4002R Hors-ligne
                            robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                            dernière édition par

                            public void registerBlocksIcons(IIconRegister iconRegister) {
                            Le problème est la, la fonction s’appelle registerBlockIcons et non registerBlocksIcons

                            1 réponse Dernière réponse Répondre Citer 0
                            • Skillb0wS Hors-ligne
                              Skillb0w
                              dernière édition par

                              @‘Superloup10’:

                              Bon, je vois plusieurs problèmes:

                              • Premièrement, pour les codes JAVA, il y a la balise [java][/java] sans les *.
                              • Deuxièmement, pour le respect des conventions JAVA, je te mets un 5/20.
                              • Troisièmement, pour les textures, il ne faut jamais mettre de majuscule dans le nom.

                              -J’y penserais pour les balises
                              -Je n’ai fait que suivre des tutoriels pour ce que j’ai fait jusqu’à présent 😕
                              -D’accord, je vais modifier cela

                              @‘robin4002’:

                              public void registerBlocksIcons(IIconRegister iconRegister) {
                              Le problème est la, la fonction s’appelle registerBlockIcons et non registerBlocksIcons

                              J’ai régler ce problème. Maintenant, quand j’ouvre les Creative Tabs, il n’y a rien dedans.

                              Cordialement.
                              Skillb0w

                              1 réponse Dernière réponse Répondre Citer 0
                              • isadorI Hors-ligne
                                isador Moddeurs confirmés Modérateurs
                                dernière édition par

                                comment tu as renseigner la créative tab dans ton block?

                                1 réponse Dernière réponse Répondre Citer 0
                                • Skillb0wS Hors-ligne
                                  Skillb0w
                                  dernière édition par

                                  Comme ça :

                                  
                                  package fr.skillb0w.auratools.common.food;
                                  
                                  import fr.skillb0w.auratools.common.MainAuratools;
                                  import net.minecraft.creativetab.CreativeTabs;
                                  import net.minecraft.item.ItemFood;
                                  
                                  public class PizzaClass extends ItemFood {
                                  
                                  public PizzaClass(int hunger, float saturation, boolean isWolfFood) {
                                  super(hunger, saturation, isWolfFood);
                                  this.setCreativeTab(MainAuratools.AuraFood);
                                  this.setTextureName(MainAuratools.MODID + ":pizza");
                                  
                                  }
                                  
                                  }
                                  
                                  

                                  Cordialement.
                                  Skillb0w

                                  1 réponse Dernière réponse Répondre Citer 0
                                  • isadorI Hors-ligne
                                    isador Moddeurs confirmés Modérateurs
                                    dernière édition par

                                    voila
                                    par contre tu t’es pas tromper dans l’arborescence des textures?

                                    1 réponse Dernière réponse Répondre Citer 0
                                    • Skillb0wS Hors-ligne
                                      Skillb0w
                                      dernière édition par

                                      Bah non, les textures sont bonnes. Et puis il n’y a rien du tout dans les Creative Tabs. Si la texture était manquante, il y aurait quand même les items.

                                      Cordialement.
                                      Skillb0w

                                      1 réponse Dernière réponse Répondre Citer 0
                                      • 1
                                      • 2
                                      • 2 / 2
                                      • Premier message
                                        Dernier message
                                      Design by Woryk
                                      ContactMentions Légales

                                      MINECRAFT FORGE FRANCE © 2024

                                      Powered by NodeBB