MFF

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

    Anti Xray?

    Planifier Épinglé Verrouillé Déplacé Résolu 1.7.x
    1.7.10
    50 Messages 8 Publieurs 11.1k 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.
    • AymericRedA Hors-ligne
      AymericRed
      dernière édition par

      "FMLCommonHandler.instance().bus().register(new TickHandler(mc)); " T’a mis quoi pour le “mc” ? Car il crash parce que justement c’est égal à null.

      Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

      AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

      Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
      Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

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

        j’ai mis sa

        public static Minecraft mc;
        

        En dehors du preinit

        Voila ma signature

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

          Tu ne le définis pas donc il ne sert à rien (il est toujours égal à null), mets ```java
          public static final Minecraft mc = Minecraft.getMinecraft();

          Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

          AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

          Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
          Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

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

            Ok merci  🙂
            Mais j’ai encore un crash  o_o

            [19:47:51] [main/INFO] [GradleStart]: Extra: []
            [19:47:51] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Eric/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
            [19:47:51] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
            [19:47:51] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
            [19:47:51] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
            [19:47:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
            [19:47:51] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
            [19:47:51] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_71, running on Windows 8.1:x86:6.3, installed at C:\Program Files (x86)\Java\jre1.8.0_71
            [19:47:51] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
            [19:47:51] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
            [19:47:51] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
            [19:47:51] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
            [19:47:51] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
            [19:47:51] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
            [19:47:51] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
            [19:47:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
            [19:47:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
            [19:47:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
            [19:47:52] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
            [19:47:53] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
            [19:47:53] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
            [19:47:53] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
            [19:47:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
            [19:47:54] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
            [19:47:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
            [19:47:54] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
            [19:47:54] [main/INFO]: Setting user: Player152
            [19:47:56] [Client thread/INFO]: LWJGL Version: 2.9.1
            [19:47:56] [Client thread/INFO] [STDOUT]: [tv.twitch.StandardCoreAPI:<init>:16]: If on Windows, make sure to provide all of the necessary dll's as specified in the twitchsdk README. Also, make sure to set the PATH environment variable to point to the directory containing the dll's.
            [19:47:56] [Client thread/ERROR]: Couldn't initialize twitch stream
            [19:47:56] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
            // You should try our sister game, Minceraft!
            
            Time: 08/04/16 19:47
            Description: Loading screen debug info
            
            This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
            
            A detailed walkthrough of the error, its code path and all known details is as follows:
            ---------------------------------------------------------------------------------------
            
            -- System Details --
            Details:
            Minecraft Version: 1.7.10
            Operating System: Windows 8.1 (x86) version 6.3
            Java Version: 1.8.0_71, Oracle Corporation
            Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
            Memory: 965593880 bytes (920 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
            JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
            AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
            IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
            FML: 
            GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 350.12' Renderer: 'GeForce GTX 745/PCIe/SSE2'
            [19:47:56] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
            [19:47:56] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized
            [19:47:57] [Client thread/INFO] [FML]: Replaced 183 ore recipies
            [19:47:57] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
            [19:47:57] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
            [19:47:57] [Client thread/INFO] [FML]: Searching C:\Users\Eric\Desktop\EnderMod\eclipse\mods for mods
            [19:48:05] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
            [19:48:05] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, enderdeath] at CLIENT
            [19:48:05] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, enderdeath] at SERVER
            [19:48:06] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:leo01418, Ore Finder 1.7+ by YellowW.zip
            [19:48:06] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
            [19:48:06] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
            [19:48:06] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
            [19:48:06] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
            [19:48:06] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
            [19:48:06] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.enderdeath:preInit:472]: preInit
            [19:48:06] [Client thread/INFO] [FML]: Applying holder lookups
            [19:48:06] [Client thread/INFO] [FML]: Holder lookups applied
            [19:48:06] [Client thread/INFO] [FML]: Injecting itemstacks
            [19:48:06] [Client thread/INFO] [FML]: Itemstack injection complete
            [19:48:06] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
            [19:48:06] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
            [19:48:06] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
            [19:48:06] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
            [19:48:06] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
            [19:48:07] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
            [19:48:07] [Sound Library Loader/INFO]: Sound engine started
            [19:48:08] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
            [19:48:08] [Client thread/INFO]: Created: 16x16 textures/items-atlas
            [19:48:08] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.proxy.ClientProxy:registerRender:68]: client
            [19:48:08] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.enderdeath:init:2058]: init
            [19:48:08] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.TickHandler:<init>:26]: handler
            [19:48:08] [Client thread/INFO] [FML]: Injecting itemstacks
            [19:48:08] [Client thread/INFO] [FML]: Itemstack injection complete
            [19:48:08] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.enderdeath:postInit:2079]: Postinit
            [19:48:08] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
            [19:48:08] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:leo01418, Ore Finder 1.7+ by YellowW.zip
            [19:48:09] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
            [19:48:09] [Client thread/INFO]: Created: 512x256 textures/items-atlas
            [19:48:09] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
            [19:48:09] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
            [19:48:10] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
            [19:48:10] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
            [19:48:10] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
            [19:48:10] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
            [19:48:10] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
            [19:48:10] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
            [19:48:10] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
            [19:48:10] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
            [19:48:10] [Sound Library Loader/INFO]: Sound engine started
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN minecraft
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:   domain minecraft is missing 1 texture
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:     domain minecraft has 4 locations:
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:       unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:       mod FML resources at C:\Users\Eric\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1614-1.7.10\forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:       mod Forge resources at C:\Users\Eric\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1614-1.7.10\forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:       resource pack at path .\resourcepacks\Ore Finder 1.7+ by YellowW.zip
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain minecraft are:
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/MISSING_ICON_ITEM_4180_InvisibleBlock.png
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain minecraft
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN enderdeath
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:   domain enderdeath is missing 5 textures
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:     domain enderdeath has 1 location:
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:       mod enderdeath resources at C:\Users\Eric\Desktop\EnderMod\bin
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain enderdeath are:
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/FeatherChestplate.png
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/FeatherHelmet.png
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/MultiTool.png
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/Wand.png
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/bow_pull3.png
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain enderdeath
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN enderdeathfeatherleggings
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:   domain enderdeathfeatherleggings is missing 1 texture
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:     domain enderdeathfeatherleggings is missing a resource manager - it is probably a side-effect of automatic texture processing
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain enderdeathfeatherleggings are:
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/.png
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain enderdeathfeatherleggings
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
            [19:48:11] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
            [19:48:12] [Client thread/INFO]: Stopping!
            [19:48:12] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
            [19:48:12] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
            [19:48:12] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
            [19:48:12] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
            Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
            

            Je ne comprend pas du tout pourquoi sa crash aucune erreur comme si on fermé le jeux  o_o

            Merci de ton aide pour le commentaire précédant  :D</init></init>

            Voila ma signature

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

              Alors ta fonction hasIllegalTexture doit retourner true et donc faire que le jeu crash, fait afficher un message juste avant le shutDown(); Si il s’affiche ça veut dire que la fonction a déterminé que t’a une texture invalide (et donc il faut la revoir). Si ils’affiche pas, eh ben il y a un problème autre part, mais je ne pense pas.

              Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

              AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

              Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
              Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

              1 réponse Dernière réponse Répondre Citer 1
              • leo01418L Hors-ligne
                leo01418
                dernière édition par

                J’avais un ressource pack x-ray pour testé  je jeux ne crash plus mais la c’est encore plus bizzare  o_o
                Déjà:

                
                [20:08:04] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.TickHandler:onRenderTick:47]: handler
                [20:08:05] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.TickHandler:test:59]: handler
                [20:08:05] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.TickHandler:onRenderTick:47]: handler
                [20:08:05] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.common.TickHandler:test:59]: handler
                [20:08:05] [Client thread/INFO] [STDOUT]: [ed.enderdeath.mod.
                

                Logique sa marche il dis  le System.out.println que j’ai mis 
                D’entré dans le jeu sa me déplace tout seul à une vitesse impressionnante en me faisant fly et sa recharge les chunk
                Ps:la je n’ai pas de ressource pack x-ray
                Edit quand je fais un /kill sa me tue je respawn et je ne peux plus bougé

                Voila ma signature

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

                  Logique que ça marche pas, si tu avais lu (et compris mais pour ça tu peux demander) les commentaires de robin, tu saurais que t’essaye de tuer le joueur environ 20 fois pas seconde, sur le client (donc de-sync).

                  Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

                  AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

                  Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
                  Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

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

                    Au faite je pense que je suis *** j’ai re regardé les commentaire de robin et je n’avais pas remarqué que j’avais des tas de chose fausse 
                    comme

                    private void test()
                    {
                    if(mc.thePlayer != null)
                    {
                        mc.thePlayer.setDead();
                    }
                    

                    Merci à toi de me faire prendre compte et excuse à Robin de n’avoir pas fait attention
                    Merci  😄

                    Voila ma signature

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

                      Résolu ?

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

                        Attend je test ^^

                        Edit:Sa fais comme l’autre fois le jeu crash sans érreur 
                        Ma classe:

                        package ed.enderdeath.mod.common;
                        
                        import java.io.IOException;
                        
                        import cpw.mods.fml.common.eventhandler.SubscribeEvent;
                        import cpw.mods.fml.common.gameevent.TickEvent.Phase;
                        import cpw.mods.fml.common.gameevent.TickEvent.RenderTickEvent;
                        import cpw.mods.fml.relauncher.Side;
                        import cpw.mods.fml.relauncher.SideOnly;
                        import net.minecraft.client.Minecraft;
                        import net.minecraft.client.renderer.texture.ITextureObject;
                        import net.minecraft.client.renderer.texture.SimpleTexture;
                        import net.minecraft.client.renderer.texture.TextureAtlasSprite;
                        import net.minecraft.client.renderer.texture.TextureUtil;
                        import net.minecraft.init.Blocks;
                        import net.minecraft.util.ResourceLocation;
                        
                        @SideOnly(Side.CLIENT)
                        public class TickHandler
                        {
                        
                        private Minecraft mc;
                        
                        public TickHandler(Minecraft mc) 
                        {
                        
                        this.mc = mc;
                        
                        if(TickHandler.hasIllegalTexture())
                          Minecraft.getMinecraft().shutdown();
                        }
                        
                        @SubscribeEvent
                        public void onRenderTick(RenderTickEvent event) 
                        {
                        
                        if (event.phase == Phase.START) 
                        {
                        
                        test();
                        
                        }
                        
                        }
                        private void test()
                        {
                        if(mc.thePlayer != null)
                        {
                        
                        }
                        
                        }
                        public static boolean hasIllegalTexture()
                        {
                            ResourceLocation r = new ResourceLocation("minecraft:textures/blocks/stone.png");
                            ITextureObject textureObject = Minecraft.getMinecraft().getTextureManager().getTexture(r );
                        /*si la texture est transparenet*/
                            if(textureObject == null)
                            {
                        /*la je n'ai pas compris*/
                                textureObject = new SimpleTexture(r);
                        /*pour load la texture?*/
                                Minecraft.getMinecraft().getTextureManager().loadTexture(r, textureObject);
                            }
                        /*id de la texture*/
                            int id = textureObject.getGlTextureId();
                            try
                            {
                                int[] textureData = TextureUtil.readImageData(Minecraft.getMinecraft().getResourceManager(), r);
                                for(int color : textureData)
                                {
                                    int alpha = color >> 24 & 0xFF;
                                    if(alpha != 255)
                        /*si la texture est = 255 on laisse*/
                                    {
                                        return true;
                                    }
                                }
                            }
                            catch(IOException e)
                            {
                                e.printStackTrace();
                            }
                            return false;
                        }
                        
                        }
                        

                        Voila ma signature

                        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

                          Tu n’as toujours pas compris mon dernier message.
                          Je t’ai dit que ton check n’était pas au bon endroit …
                          ça fonctionnera mieux comme ceci :

                          package ed.enderdeath.mod.common;
                          
                          import java.io.IOException;
                          
                          import cpw.mods.fml.common.eventhandler.SubscribeEvent;
                          import cpw.mods.fml.common.gameevent.TickEvent.Phase;
                          import cpw.mods.fml.common.gameevent.TickEvent.RenderTickEvent;
                          import cpw.mods.fml.relauncher.Side;
                          import cpw.mods.fml.relauncher.SideOnly;
                          import net.minecraft.client.Minecraft;
                          import net.minecraft.client.renderer.texture.ITextureObject;
                          import net.minecraft.client.renderer.texture.SimpleTexture;
                          import net.minecraft.client.renderer.texture.TextureAtlasSprite;
                          import net.minecraft.client.renderer.texture.TextureUtil;
                          import net.minecraft.init.Blocks;
                          import net.minecraft.util.ResourceLocation;
                          
                          @SideOnly(Side.CLIENT)
                          public class TickHandler
                          {
                          
                              private Minecraft mc;
                          
                              public TickHandler(Minecraft mc)
                              {
                                  this.mc = mc;
                              }
                          
                              @SubscribeEvent
                              public void onRenderTick(RenderTickEvent event)
                              {
                                  if(event.phase == Phase.START)
                                  {
                                      checkTexture();
                                  }
                              }
                          
                              private void checkTexture()
                              {
                                  if(mc.thePlayer != null)
                                  {
                                       if(TickHandler.hasIllegalTexture())
                                       {
                                             System.err.println("texture interdite détecté !");
                          
                                             Minecraft.getMinecraft().shutdown();
                                       }
                          
                                  }
                              }
                          
                              public static boolean hasIllegalTexture()
                              {
                                  ResourceLocation r = new ResourceLocation("minecraft:textures/blocks/stone.png");
                                  ITextureObject textureObject = Minecraft.getMinecraft().getTextureManager().getTexture(r);
                                  if(textureObject == null)
                                  {
                                      textureObject = new SimpleTexture(r);
                                      Minecraft.getMinecraft().getTextureManager().loadTexture(r, textureObject);
                                  }
                                  int id = textureObject.getGlTextureId();
                                  try
                                  {
                                      int[] textureData = TextureUtil.readImageData(Minecraft.getMinecraft().getResourceManager(), r);
                                      for(int color : textureData)
                                      {
                                          int alpha = color >> 24 & 0xFF;
                                          if(alpha != 255)
                                          {
                                              return true;
                                          }
                                      }
                                  }
                                  catch(IOException e)
                                  {
                                      e.printStackTrace();
                                  }
                                  return false;
                              }
                          }
                          
                          1 réponse Dernière réponse Répondre Citer 0
                          • leo01418L Hors-ligne
                            leo01418
                            dernière édition par

                            Merci sa marche mais je peux pas mettre en RESOLU car je suis pas l’auteur de ce sujet je l’ai juste poursuivi

                            Excuse Encore et Merci à tout le monde  😄  🙂 😉

                            Voila ma signature

                            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

                              Oui je vais la mettre en résolu, la solution avait déjà été donné.

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

                                Excusez de revenir sur ce vieux sujet mais le serveur crash à cause de cette ligne

                                public static final Minecraft mc = Minecraft.getMinecraft();
                                
                                [16:35:52] [main/INFO] [GradleStart]: Extra: []
                                [16:35:52] [main/INFO] [GradleStart]: Running with arguments: [–tweakClass, cpw.mods.fml.common.launcher.FMLServerTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
                                [16:35:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
                                [16:35:52] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
                                [16:35:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
                                [16:35:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
                                [16:35:52] [main/INFO] [FML]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading
                                [16:35:52] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_71, running on Windows 8.1:x86:6.3, installed at C:\Program Files (x86)\Java\jre1.8.0_71
                                [16:35:52] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                                [16:35:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
                                [16:35:52] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
                                [16:35:52] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
                                [16:35:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                [16:35:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                                [16:35:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                                [16:35:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                [16:35:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                [16:35:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                                [16:35:53] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                                [16:35:54] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                                [16:35:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                                [16:35:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                                [16:35:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                                [16:35:54] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
                                [16:35:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
                                [16:35:54] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
                                [16:35:56] [main/WARN] [FML]: =============================================================
                                [16:35:56] [main/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
                                [16:35:56] [main/WARN] [FML]: Offendor: net/minecraft/server/gui/MinecraftServerGui$1.windowClosing(Ljava/awt/event/WindowEvent;)V
                                [16:35:56] [main/WARN] [FML]: Use FMLCommonHandler.exitJava instead
                                [16:35:56] [main/WARN] [FML]: =============================================================
                                [16:35:56] [Server thread/INFO]: Starting minecraft server version 1.7.10
                                [16:35:56] [Server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
                                [16:35:56] [Server thread/INFO] [FML]: MinecraftForge v10.13.4.1558 Initialized
                                [16:35:56] [Server thread/INFO] [FML]: Replaced 183 ore recipies
                                [16:35:56] [Server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
                                [16:35:56] [Server thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                                [16:35:56] [Server thread/INFO] [FML]: Searching C:\Users\Eric\Desktop\EnderMod\eclipse\mods for mods
                                [16:36:02] [Server thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                                [16:36:03] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, enderdeath] at CLIENT
                                [16:36:03] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, enderdeath] at SERVER
                                [16:36:03] [Server thread/ERROR] [FML]: Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
                                [16:36:03] [Server thread/ERROR] [FML]: 
                                States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                                UC mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
                                UC FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
                                UC Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
                                UE enderdeath{1.0} [leo01418] (bin) 
                                [16:36:03] [Server thread/ERROR] [FML]: The following problems were captured during this phase
                                [16:36:03] [Server thread/ERROR] [FML]: Caught exception from enderdeath
                                java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
                                at ed.enderdeath.mod.common.enderdeath.<clinit>(enderdeath.java:446) ~[enderdeath.class:?]
                                at java.lang.Class.forName0(Native Method) ~[?:1.8.0_71]
                                at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_71]
                                at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:440) ~[FMLModContainer.class:?]
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_71]
                                at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                                at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]
                                at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_71]
                                at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                                at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
                                at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) [Loader.class:?]
                                at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) [FMLServerHandler.class:?]
                                at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) [FMLCommonHandler.class:?]
                                at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) [DedicatedServer.class:?]
                                at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) [MinecraftServer.class:?]
                                at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
                                Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
                                at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
                                at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_71]
                                at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_71]
                                … 31 more
                                Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/Minecraft for invalid side SERVER
                                at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50) ~[forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar:?]
                                at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
                                at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
                                at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_71]
                                at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_71]
                                … 31 more
                                [16:36:03] [Server thread/ERROR]: Encountered an unexpected exception
                                cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
                                
                                at cpw.mods.fml.common.LoadController.transition(LoadController.java:163) ~[LoadController.class:?]
                                at cpw.mods.fml.common.Loader.loadMods(Loader.java:544) ~[Loader.class:?]
                                at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) ~[FMLServerHandler.class:?]
                                at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) ~[FMLCommonHandler.class:?]
                                at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) ~[DedicatedServer.class:?]
                                at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) [MinecraftServer.class:?]
                                at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
                                Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
                                at ed.enderdeath.mod.common.enderdeath.<clinit>(enderdeath.java:446) ~[enderdeath.class:?]
                                at java.lang.Class.forName0(Native Method) ~[?:1.8.0_71]
                                at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_71]
                                at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:440) ~[FMLModContainer.class:?]
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_71]
                                at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                                at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]
                                at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_71]
                                at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                                at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]
                                at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) ~[Loader.class:?]
                                … 5 more
                                Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
                                at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
                                at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_71]
                                at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_71]
                                at ed.enderdeath.mod.common.enderdeath.<clinit>(enderdeath.java:446) ~[enderdeath.class:?]
                                at java.lang.Class.forName0(Native Method) ~[?:1.8.0_71]
                                at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_71]
                                at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:440) ~[FMLModContainer.class:?]
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_71]
                                at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                                at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]
                                at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_71]
                                at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                                at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]
                                at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) ~[Loader.class:?]
                                … 5 more
                                Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/Minecraft for invalid side SERVER
                                at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50) ~[forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar:?]
                                at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
                                at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
                                at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_71]
                                at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_71]
                                at ed.enderdeath.mod.common.enderdeath.<clinit>(enderdeath.java:446) ~[enderdeath.class:?]
                                at java.lang.Class.forName0(Native Method) ~[?:1.8.0_71]
                                at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_71]
                                at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:440) ~[FMLModContainer.class:?]
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_71]
                                at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                                at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:?]
                                at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_71]
                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_71]
                                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_71]
                                at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                                at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                                at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]
                                at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) ~[Loader.class:?]
                                … 5 more
                                [16:36:03] [Server thread/ERROR]: This crash report has been saved to: C:\Users\Eric\Desktop\EnderMod\eclipse\.\crash-reports\crash-2016-04-11_16.36.03-server.txt
                                [16:36:03] [Server thread/WARN] [FML]: Can't revert to frozen GameData state without freezing first.
                                [16:36:03] [Server thread/INFO] [FML]: Applying holder lookups
                                [16:36:03] [Server thread/INFO] [FML]: Holder lookups applied
                                [16:36:03] [Server thread/INFO] [FML]: The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED. Errors may have been discarded.
                                [16:36:03] [Server thread/INFO] [FML]: The state engine was in incorrect state ERRORED and forced into state AVAILABLE. Errors may have been discarded.
                                Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                                
                                ```</clinit></clinit></clinit></clinit>

                                Voila ma signature

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

                                  Sais-tu lire un crash-report ? C’est utile, voire carrément indispensable quand il s’agit de résoudre de si bêtes erreurs 🙂

                                  Indice : Cette ligne-là est la + importante dans ton Crash-report :
                                  [font=monospacejava][font=monospace.][font=monospacelang][font=monospace.][font=monospaceNoClassDefFoundError][font=monospace:][font=monospace net][font=monospace/][font=monospaceminecraft][font=monospace/][font=monospaceclient][font=monospace/][font=monospaceMinecraft]

                                  [color=#000000Elle ][font=Arialveut juste tout dire…]

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

                                    Non je ne sais pas le lire

                                    Eddit: j’éssaye  😉
                                    re Eddit:java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
                                    net/minecraft/client/minecraft est juste pour le client

                                    Voila ma signature

                                    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

                                      Minecraft.getMinecraft() est une classe client seulement, il est donc normal qu’elle ne soit pas trouvé.
                                      Il faut enregistrer ta classe coté client seulement.

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

                                        Mais Dans ce cas comment ma classe est pour enregistré tout les items,block et tout sa ne va pas causé un autre porblèmes que je met ma classe en SideOnly(Side.CLIENT)?

                                        Voila ma signature

                                        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

                                          Tu mets le code dans une autre classe.
                                          Ou tu mets une condition :
                                          if(FMLCommonHandler.instance().getSide().isClient())

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

                                            dans le client proxy sa passeras?

                                            Re Réssolu  😉

                                            Voila ma signature

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

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB