MFF

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

    Quelques problème avec mon mods

    Planifier Épinglé Verrouillé Déplacé Sans suite
    29 Messages 2 Publieurs 6.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.
    • mathmatboyM Hors-ligne
      mathmatboy
      dernière édition par

      Sa fonctionne MERCI !

      Il reste les armures maintenant, j’ai regarder pour le ISpecialArmor et j’ai trouver se poste, donc si je comprends je créer une class don son nom est ISpecialArmor ensuite je insert se code =>

      ​@Override
      
      public ArmorProperties getProperties(EntityLivingBase player, ItemStack armor, DamageSource source, double damage, int slot)
      {
      return new ArmorProperties(priorité, ratio, dégat max);
      }
      
      @Override
      public int getArmorDisplay(EntityPlayer player, ItemStack armor, int slot)
      {
      return nombre de barre d armure;
      }
      
      @Override
      public void damageArmor(EntityLivingBase entity, ItemStack stack, DamageSource source, int damage, int slot)
      {
      //code a éxécuter pour abimer l'armure
      // stack.damageItem(damage, entity); par exemple
      }
      

      et après tout est réglé ? ya rien d’autre a faire ?

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

        J’ai cette erreur quand je start  mon mods sous cauldron…

        Version mon mods => forge-1.7.10-10.13.2.1240
        cauldron => cauldron-1.7.10-1.1207.01.198-server

        Crash :

        ​---- Minecraft Crash Report ----
        
        // Oh - I know what I did wrong!
        
        Time: 14-12-10 20:41
        Description: Exception in server tick loop
        
        cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/server/integrated/IntegratedServer
        at cpw.mods.fml.common.LoadController.transition(LoadController.java:162)
        at cpw.mods.fml.common.Loader.initializeMods(Loader.java:692)
        at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:97)
        at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:322)
        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:280)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620)
        at java.lang.Thread.run(Unknown Source)
        Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/integrated/IntegratedServer
        at ca.mathmatboy.axialcraft.common.RenderEventGuiInGame.<init>(RenderEventGuiInGame.java:18)
        at ca.mathmatboy.axialcraft.common.axialcraftMain.init(axialcraftMain.java:110)
        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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
        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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
        at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
        at com.google.common.eventbus.EventBus.post(EventBus.java:275)
        at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
        at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
        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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
        at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
        at com.google.common.eventbus.EventBus.post(EventBus.java:275)
        at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
        at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
        ... 5 more
        Caused by: java.lang.ClassNotFoundException: net.minecraft.server.integrated.IntegratedServer
        at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 34 more
        Caused by: java.lang.RuntimeException: Attempted to load class bsx for invalid side SERVER
        at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:51)
        at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:276)
        at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:174)
        ... 36 more
        
        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 7 (amd64) version 6.1
        Java Version: 1.7.0_71, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 63088816 bytes (60 MB) / 129761280 bytes (123 MB) up to 1038876672 bytes (990 MB)
        JVM Flags: 2 total; -Xincgc -Xmx1G
        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: MCP v9.05 FML v7.10.25.1207 Minecraft Forge 10.13.0.1207 4 mods loaded, 4 mods active
        mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
        FML{7.10.25.1207} [Forge Mod Loader] (minecraft_server_dev.jar) Unloaded->Constructed->Pre-initialized->Initialized
        Forge{10.13.0.1207} [Minecraft Forge] (minecraft_server_dev.jar) Unloaded->Constructed->Pre-initialized->Initialized
        axialcraft{1.0} [axialcraft] (axialcraft.jar) Unloaded->Constructed->Pre-initialized->Errored
        Profiler Position: N/A (disabled)
        Player Count: 0 / 20; []
        Is Modded: Definitely; Server brand changed to 'cauldron,craftbukkit,mcpc,fml,forge'
        Type: Dedicated Server (map_server.txt)
        ```</init>
        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

          Non, tu dois ajouter implements ISpecialArmor à la classe de ton armure.

          Pour le crash, tu as enregistré un event client sur le serveur, il faut mettre RenderEventGuiInGame en client side only.

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

            Il me dise que j’ai une erreur sur nom ma class il me donne 2 choix, la première est de ajouter abstract a ma class comme ceci =>

            ​public abstract class ArmorAlliOrPlatine extends ItemArmor implements ISpecialArmor {
            

            Ou l’autre choix est d’ajouter sa =>

            ​@Override
            
            public ArmorProperties getProperties(EntityLivingBase player, ItemStack armor,
            DamageSource source, double damage, int slot) {
            // TODO Auto-generated method stub
            return null;
            }
            
            @Override
            public int getArmorDisplay(EntityPlayer player, ItemStack armor, int slot) {
            // TODO Auto-generated method stub
            return 0;
            }
            
            @Override
            public void damageArmor(EntityLivingBase entity, ItemStack stack,
            DamageSource source, int damage, int slot) {
            // TODO Auto-generated method stub
            
            }
            

            et mon  SideOnly client je mes tu au dessus de mon public class ?
            et aussi sa

            ​        FMLCommonHandler.instance().bus().register(new RenderEventGuiInGame());
            

            je sais quoi le register juste sur client (le code)

            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 il faut ajouter les méthodes, j’ai expliqué dans l’autre post comment les utiliser.

              Pour l’event, tu mets juste un if(event.getSide().isClient()) au dessus et c’est bon.

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

                @‘robin4002’:

                Oui il faut ajouter les méthodes, j’ai expliqué dans l’autre post comment les utiliser.

                Pour l’event, tu mets juste un if(event.getSide().isClient()) au dessus et c’est bon.

                Au dessus de quoi le if(event.getSide().isClient()) ?

                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

                  Heureusement qu’on a des tutoriels sur le site …
                  http://www.minecraftforgefrance.fr/showthread.php?tid=716#classe1

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

                    Que je suis con…

                    Je test sa !

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

                      Normal sa ? sa fonctionne sur mon pc le serveur mes quand je upload sa sur mon FTP sa crash se crash

                      ​[18:28:31] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
                      
                      [18:28:31] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
                      [18:28:31] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
                      [18:28:31] [main/INFO]: Forge Mod Loader version 7.10.25.1207 for Minecraft 1.7.10 loading
                      [18:28:32] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0, running on Linux:amd64:3.12-0.bpo.1-amd64, installed at /opt/jdk1.7.0/jre
                      [18:28:32] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                      [18:28:32] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                      [18:28:32] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                      [18:28:32] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                      [18:28:32] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                      [18:28:35] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                      [18:28:35] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                      [18:28:35] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
                      [18:28:35] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
                      [18:28:36] [main/INFO]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
                      [18:28:42] [main/ERROR]: Unable to launch
                      java.lang.reflect.InvocationTargetException
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0]
                      at java.lang.reflect.Method.invoke(Method.java:601) ~[?:1.7.0]
                      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:?]
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0]
                      at java.lang.reflect.Method.invoke(Method.java:601) ~[?:1.7.0]
                      at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43) [minecraft_server_dev.jar:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198]
                      at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12) [minecraft_server_dev.jar:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198]
                      Caused by: java.lang.NoClassDefFoundError: jline/console/ConsoleReader
                      at net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:261) ~[MinecraftServer.class:?]
                      at net.minecraft.server.dedicated.DedicatedServer.<init>(DedicatedServer.java:69) ~[lt.class:?]
                      at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1684) ~[MinecraftServer.class:?]
                      … 12 more
                      ```</init></init>
                      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

                        Il te manque une bibliothèque visiblement. Réinstalle le serveur.

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

                          Voila sa fonctionne mais quand on tape quelqu’un avec l’armures la personnes crash

                          ​[20:04:18] [Server thread/INFO]: mic_killeur[/24.203.80.11:52152] logged in with entity id 5465 at ([world] 87.04236731241846, 74.0, 260.52948328400674)
                          
                          [20:04:18] [Server thread/INFO]: [Server thread] Server side modded connection established
                          [20:04:18] [Netty IO #3/INFO]: Attempting connection with missing mods [] at CLIENT
                          [20:04:18] [Netty IO #3/INFO]: Client attempting to join with 6 mods : mcp@9.05,FML@7.10.85.1231,ArmorStatusHUD@1.28,Forge@10.13.2.1231,axialcraft@1.0,bspkrsCore@6.15
                          [20:04:18] [Netty IO #3/INFO]: Client protocol version 1
                          [20:04:17] [User Authenticator #12/INFO]: UUID of player mic_killeur is 56780840-a278-3422-b283-53d6caf3ecfa
                          [20:04:16] [Netty IO #3/INFO]: [world]<Y3TiX> enchant protection 4
                          [20:04:14] [Server thread/INFO]: mic_killeur left the game.
                          [20:04:14] [Server thread/INFO]: mic_killeur lost connection: Internal server error
                          at java.lang.Thread.run(Thread.java:722) [?:1.7.0]
                          at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658) [MinecraftServer.class:?]
                          at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798) [MinecraftServer.class:?]
                          at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423) [lt.class:?]
                          at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:980) [MinecraftServer.class:?]
                          at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?]
                          at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244) ~[ej.class:?]
                          at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:10) ~[ja.class:?]
                          at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:55) ~[ja.class:?]
                          at net.minecraft.network.NetHandlerPlayServer.func_147340_a(NetHandlerPlayServer.java:1589) ~[nh.class:?]
                          at net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:1387) ~[yz.class:?]
                          at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:646) ~[mw.class:?]
                          at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1144) ~[yz.class:?]
                          at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:901) ~[sv.class:?]
                          at net.minecraft.entity.player.EntityPlayer.damageEntity_CB(EntityPlayer.java:1228) ~[yz.class:?]
                          at net.minecraft.entity.EntityLivingBase.damageEntity_CB(EntityLivingBase.java:1326) ~[sv.class:?]
                          at net.minecraft.entity.EntityLivingBase$3.apply(EntityLivingBase.java:1315) ~[sv$3.class:?]
                          at net.minecraft.entity.EntityLivingBase$3.apply(EntityLivingBase.java:1320) ~[sv$3.class:?]
                          at net.minecraftforge.common.ISpecialArmor$ArmorProperties.ApplyArmor(ISpecialArmor.java:112) ~[ISpecialArmor$ArmorProperties.class:git-Cauldron-MCPC-Plus-1.7.10-1.1231.04.209]
                          java.lang.NullPointerException
                          [20:04:14] [Server thread/WARN]: Failed to handle packet for /24.203.80.11:52136
                          [20:04:00] [Server thread/INFO]: mic_killeur[/24.203.80.11:52136] logged in with entity id 5430 at ([world] 91.4493495368589, 76.00133597911214, 277.40192897562713)
                          [20:04:00] [Server thread/INFO]: [Server thread] Server side modded connection established
                          [20:03:59] [Netty IO #1/INFO]: Attempting connection with missing mods [] at CLIENT
                          [20:03:59] [Netty IO #1/INFO]: Client attempting to join with 6 mods : mcp@9.05,FML@7.10.85.1231,ArmorStatusHUD@1.28,Forge@10.13.2.1231,axialcraft@1.0,bspkrsCore@6.15
                          [20:03:59] [Netty IO #1/INFO]: Client protocol version 1
                          [20:03:59] [User Authenticator #11/INFO]: UUID of player mic_killeur is 56780840-a278-3422-b283-53d6caf3ecfa
                          [20:03:55] [Server thread/INFO]: mic_killeur left the game.
                          [20:03:55] [Server thread/INFO]: mic_killeur lost connection: Internal server error
                          at java.lang.Thread.run(Thread.java:722) [?:1.7.0]
                          at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658) [MinecraftServer.class:?]
                          at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798) [MinecraftServer.class:?]
                          at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423) [lt.class:?]
                          at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:980) [MinecraftServer.class:?]
                          at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?]
                          at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244) ~[ej.class:?]
                          at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:10) ~[ja.class:?]
                          at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:55) ~[ja.class:?]
                          at net.minecraft.network.NetHandlerPlayServer.func_147340_a(NetHandlerPlayServer.java:1589) ~[nh.class:?]
                          at net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:1387) ~[yz.class:?]
                          at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:646) ~[mw.class:?]
                          at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1144) ~[yz.class:?]
                          at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:901) ~[sv.class:?]
                          at net.minecraft.entity.player.EntityPlayer.damageEntity_CB(EntityPlayer.java:1228) ~[yz.class:?]
                          at net.minecraft.entity.EntityLivingBase.damageEntity_CB(EntityLivingBase.java:1326) ~[sv.class:?]
                          at net.minecraft.entity.EntityLivingBase$3.apply(EntityLivingBase.java:1315) ~[sv$3.class:?]
                          at net.minecraft.entity.EntityLivingBase$3.apply(EntityLivingBase.java:1320) ~[sv$3.class:?]
                          at net.minecraftforge.common.ISpecialArmor$ArmorProperties.ApplyArmor(ISpecialArmor.java:112) ~[ISpecialArmor$ArmorProperties.class:git-Cauldron-MCPC-Plus-1.7.10-1.1231.04.209]
                          java.lang.NullPointerException
                          [20:03:55] [Server thread/WARN]: Failed to handle packet for /24.203.80.11:52091
                          [20:03:50] [Server thread/INFO]: Y3TiX[/96.23.161.101:53062] logged in with entity id 5380 at ([world] 89.28154964972975, 75.0, 280.0285826592182)
                          [20:03:50] [Server thread/INFO]: [Server thread] Server side modded connection established
                          [20:03:50] [Netty IO #3/INFO]: Attempting connection with missing mods [] at CLIENT
                          [20:03:50] [Netty IO #3/INFO]: Client attempting to join with 6 mods : mcp@9.05,FML@7.10.85.1231,ArmorStatusHUD@1.28,Forge@10.13.2.1231,axialcraft@1.0,bspkrsCore@6.15
                          [20:03:50] [Netty IO #3/INFO]: Client protocol version 1
                          [20:03:49] [User Authenticator #10/INFO]: UUID of player Y3TiX is 040462ef-f22c-3c6e-9890-078ccc6c3a57
                          [20:03:45] [Server thread/INFO]: Y3TiX left the game.
                          [20:03:45] [Server thread/INFO]: Y3TiX lost connection: Internal server error
                          at java.lang.Thread.run(Thread.java:722) [?:1.7.0]
                          at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658) [MinecraftServer.class:?]
                          at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798) [MinecraftServer.class:?]
                          at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423) [lt.class:?]
                          at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:980) [MinecraftServer.class:?]
                          at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?]
                          at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244) ~[ej.class:?]
                          at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:10) ~[ja.class:?]
                          at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:55) ~[ja.class:?]
                          at net.minecraft.network.NetHandlerPlayServer.func_147340_a(NetHandlerPlayServer.java:1589) ~[nh.class:?]
                          at net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:1387) ~[yz.class:?]
                          at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:646) ~[mw.class:?]
                          at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1144) ~[yz.class:?]
                          at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:901) ~[sv.class:?]
                          at net.minecraft.entity.player.EntityPlayer.damageEntity_CB(EntityPlayer.java:1228) ~[yz.class:?]
                          at net.minecraft.entity.EntityLivingBase.damageEntity_CB(EntityLivingBase.java:1326) ~[sv.class:?]
                          at net.minecraft.entity.EntityLivingBase$3.apply(EntityLivingBase.java:1315) ~[sv$3.class:?]
                          at net.minecraft.entity.EntityLivingBase$3.apply(EntityLivingBase.java:1320) ~[sv$3.class:?]
                          at net.minecraftforge.common.ISpecialArmor$ArmorProperties.ApplyArmor(ISpecialArmor.java:112) ~[ISpecialArmor$ArmorProperties.class:git-Cauldron-MCPC-Plus-1.7.10-1.1231.04.209]
                          java.lang.NullPointerException
                          [20:03:45] [Server thread/WARN]: Failed to handle packet for /96.23.161.101:53010
                          [20:03:38] [Server thread/INFO]: Y3TiX[/96.23.161.101:53010] logged in with entity id 5375 at ([world] 86.01885276274706, 74.23152379758702, 281.41348576183356)
                          [20:03:38] [Server thread/INFO]: [Server thread] Server side modded connection established
                          [20:03:38] [Netty IO #1/INFO]: Attempting connection with missing mods [] at CLIENT
                          [20:03:38] [Netty IO #1/INFO]: Client attempting to join with 6 mods : mcp@9.05,FML@7.10.85.1231,ArmorStatusHUD@1.28,Forge@10.13.2.1231,axialcraft@1.0,bspkrsCore@6.15
                          [20:03:38] [Netty IO #1/INFO]: Client protocol version 1
                          [20:03:37] [User Authenticator #9/INFO]: UUID of player Y3TiX is 040462ef-f22c-3c6e-9890-078ccc6c3a57
                          [20:03:32] [Server thread/INFO]: Y3TiX left the game.
                          [20:03:31] [Server thread/INFO]: Y3TiX lost connection: Internal server error
                          at java.lang.Thread.run(Thread.java:722) [?:1.7.0]
                          at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658) [MinecraftServer.class:?]
                          at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798) [MinecraftServer.class:?]
                          at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423) [lt.class:?]
                          at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:980) [MinecraftServer.class:?]
                          at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?]
                          at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244) ~[ej.class:?]
                          at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:10) ~[ja.class:?]
                          at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:55) ~[ja.class:?]
                          at net.minecraft.network.NetHandlerPlayServer.func_147340_a(NetHandlerPlayServer.java:1589) ~[nh.class:?]
                          at net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:1387) ~[yz.class:?]
                          at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:646) ~[mw.class:?]
                          at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1144) ~[yz.class:?]
                          at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:901) ~[sv.class:?]
                          at net.minecraft.entity.player.EntityPlayer.damageEntity_CB(EntityPlayer.java:1228) ~[yz.class:?]
                          at net.minecraft.entity.EntityLivingBase.damageEntity_CB(EntityLivingBase.java:1326) ~[sv.class:?]
                          at net.minecraft.entity.EntityLivingBase$3.apply(EntityLivingBase.java:1315) ~[sv$3.class:?]
                          at net.minecraft.entity.EntityLivingBase$3.apply(EntityLivingBase.java:1320) ~[sv$3.class:?]
                          at net.minecraftforge.common.ISpecialArmor$ArmorProperties.ApplyArmor(ISpecialArmor.java:112) ~[ISpecialArmor$ArmorProperties.class:git-Cauldron-MCPC-Plus-1.7.10-1.1231.04.209]
                          java.lang.NullPointerException
                          [20:03:31] [Server thread/WARN]: Failed to handle packet for /96.23.161.101:52942
                          [20:03:21] [Server thread/INFO]: Dylune91 issued server command: /clear
                          [20:03:17] [Server thread/INFO]: Y3TiX issued server command: /gm 0
                          [20:03:09] [Server thread/INFO]: mic_killeur issued server command: /gamemode 0
                          [20:03:06] [Server thread/INFO]: Y3TiX issued server command: /gm 1
                          [20:02:20] [Server thread/INFO]: mic_killeur issued server command: /gamemode 1
                          [20:02:13] [Server thread/INFO]: Y3TiX issued server command: /gm 0
                          [20:02:04] [Server thread/INFO]: mic_killeur issued server command: /gamemode 0
                          [20:01:48] [Server thread/INFO]: Y3TiX issued server command: /more
                          [20:01:47] [Server thread/INFO]: mic_killeur issued server command: /gamemode 1
                          [20:01:37] [Server thread/INFO]: Y3TiX issued server command: /more
                          [20:01:26] [Server thread/INFO]: mic_killeur issued server command: /gamemode 0
                          [20:01:20] [Server thread/INFO]: mic_killeur issued server command: /gamempde 0
                          [20:01:15] [Server thread/INFO]: Y3TiX issued server command: /more
                          [20:01:07] [Server thread/INFO]: mic_killeur issued server command: /enchant sharpness 5
                          [20:01:03] [Server thread/INFO]: Y3TiX issued server command: /more
                          [20:00:39] [Server thread/INFO]: Dylune91 issued server command: /clear
                          [20:00:38] [Server thread/INFO]: mic_killeur issued server command: /enchant protection 4
                          [20:00:36] [Server thread/INFO]: mic_killeur issued server command: /enchant protection 4
                          [20:00:33] [Server thread/INFO]: mic_killeur issued server command: /enchant protection 4
                          [20:00:30] [Server thread/INFO]: mic_killeur issued server command: /enchant protection 4
                          [19:59:27] [Server thread/INFO]: Dylune91 issued server command: /clear
                          [19:59:23] [Server thread/INFO]: Dylune91 issued server command: /clear inventaire
                          [19:59:22] [Server thread/INFO]: [ClearLag] Removed 6 Entities!
                          [19:59:18] [Server thread/INFO]: Y3TiX issued server command: /
                          [19:59:11] [Server thread/INFO]: Dylune91 issued server command: /gm 1
                          [19:59:11] [Server thread/INFO]: mic_killeur has just earned the achievement [Taking Inventory]
                          [19:59:09] [Server thread/INFO]: mic_killeur issued server command: /gamemode 1
                          [19:59:06] [Server thread/INFO]: Dylune91 has just earned the achievement [Taking Inventory]
                          [19:59:03] [Server thread/INFO]: mic_killeur issued server command: /gm 1
                          [19:59:02] [Server thread/INFO]: [ClearLag] Warning Ground items will be removed in 20 seconds!
                          [19:58:57] [Server thread/INFO]: [Factions 2.3.0] postAttach added dylune91 aka Dylune91 to 9d473c61-2cc2-4f8f-92ed-d7a2cfe9b829 aka Wilderness.
                          [19:58:55] [Server thread/INFO]: Y3TiX: Opped Dylune91
                          [19:58:55] [Server thread/INFO]: Y3TiX issued server command: /op Dylune91
                          [19:58:51] [Server thread/INFO]: [Factions 2.3.0] postAttach added mic_killeur aka mic_killeur to 9d473c61-2cc2-4f8f-92ed-d7a2cfe9b829 aka Wilderness.
                          [19:58:50] [pool-7-thread-1/INFO]: Création d'une configuration vierge : /var/directory_serv/servmc_86321/plugins/Essentials/userdata/dylune91.yml
                          [19:58:50] [Server thread/INFO]: Dylune91[/24.203.76.113:52196] logged in with entity id 3990 at ([world] 52.5, 64.0, 240.5)
                          [19:58:50] [Server thread/INFO]: [Server thread] Server side modded connection established
                          [19:58:50] [Server thread/INFO]: Y3TiX issued server command: /day
                          [19:58:50] [Netty IO #3/INFO]: Attempting connection with missing mods [] at CLIENT
                          [19:58:50] [Netty IO #3/INFO]: Client attempting to join with 6 mods : mcp@9.05,FML@7.10.85.1231,ArmorStatusHUD@1.28,Forge@10.13.2.1231,axialcraft@1.0,bspkrsCore@6.15
                          [19:58:50] [Netty IO #3/INFO]: Client protocol version 1
                          [19:58:49] [User Authenticator #8/INFO]: UUID of player Dylune91 is 58785d21-48ee-3310-aad0-a65eed7bbd9c
                          [19:58:44] [Server thread/INFO]: Dylune91 lost connection: Disconnected
                          [19:58:43] [User Authenticator #7/INFO]: UUID of player Dylune91 is 58785d21-48ee-3310-aad0-a65eed7bbd9c
                          [19:58:42] [Server thread/INFO]: Y3TiX: Opped mic_killeur
                          [19:58:42] [Server thread/INFO]: Y3TiX issued server command: /op mic_killeur
                          [19:58:33] [pool-7-thread-1/INFO]: Création d'une configuration vierge : /var/directory_serv/servmc_86321/plugins/Essentials/userdata/mic_killeur.yml
                          [19:58:33] [Server thread/INFO]: mic_killeur[/24.203.80.11:52091] logged in with entity id 3890 at ([world] 62.5, 66.0, 231.5)
                          [19:58:33] [Server thread/INFO]: [Server thread] Server side modded connection established
                          [19:58:33] [Netty IO #3/INFO]: Attempting connection with missing mods [] at CLIENT
                          [19:58:33] [Netty IO #3/INFO]: Client attempting to join with 6 mods : mcp@9.05,FML@7.10.85.1231,ArmorStatusHUD@1.28,Forge@10.13.2.1231,axialcraft@1.0,bspkrsCore@6.15
                          [19:58:33] [Netty IO #3/INFO]: Client protocol version 1
                          [19:58:32] [User Authenticator #6/INFO]: UUID of player mic_killeur is 56780840-a278-3422-b283-53d6caf3ecfa
                          [19:58:27] [Server thread/INFO]: mic_killeur lost connection: Disconnected
                          [19:58:27] [User Authenticator #5/INFO]: UUID of player mic_killeur is 56780840-a278-3422-b283-53d6caf3ecfa
                          [19:58:22] [Server thread/INFO]: [ClearLag] Warning Ground items will be removed in 60 seconds!
                          [19:57:11] [Server thread/INFO]: Y3TiX issued server command: /more
                          [19:57:08] [Server thread/INFO]: Y3TiX issued server command: /more
                          [19:57:07] [Server thread/INFO]: Y3TiX issued server command: /more
                          [19:57:06] [Server thread/INFO]: Y3TiX issued server command: /more
                          [19:57:05] [Server thread/INFO]: Y3TiX issued server command: /more
                          [19:57:03] [Server thread/INFO]: Y3TiX issued server command: /
                          [19:56:57] [Server thread/INFO]: Y3TiX issued server command: /enchant sharpness 5
                          [19:56:51] [Server thread/INFO]: Y3TiX issued server command: /enchant protection 4
                          [19:56:50] [Server thread/INFO]: Y3TiX issued server command: /enchant protection 4
                          [19:56:49] [Server thread/INFO]: Y3TiX issued server command: /enchant protection 4
                          [19:56:47] [Server thread/INFO]: Y3TiX issued server command: /enchant protection 4
                          [19:56:40] [Server thread/INFO]: mathmatboy issued server command: /pl
                          [19:56:32] [Server thread/INFO]: Y3TiX issued server command: /clear
                          [19:51:42] [Server thread/INFO]: [ClearLag] Removed 1 Entities!
                          [19:51:22] [Server thread/INFO]: [ClearLag] Warning Ground items will be removed in 20 seconds!
                          [19:50:46] [Server thread/INFO]: mathmatboy issued server command: /pl
                          [19:50:42] [Server thread/INFO]: [ClearLag] Warning Ground items will be removed in 60 seconds!
                          [19:50:10] [Server thread/INFO]: [WorldEdit] Using inbuilt NmsBlock for this version.
                          [19:49:00] [Server thread/INFO]: [Factions 2.3.0] postAttach added y3tix aka Y3TiX to 9d473c61-2cc2-4f8f-92ed-d7a2cfe9b829 aka Wilderness.
                          [19:48:55] [Server thread/INFO]: Y3TiX[/96.23.161.101:52942] logged in with entity id 707 at ([world] 66.20620494970223, 71.52936759557846, 253.98602359483735)
                          [19:48:55] [Server thread/INFO]: [Server thread] Server side modded connection established
                          [19:48:54] [Netty IO #1/INFO]: Attempting connection with missing mods [] at CLIENT
                          [19:48:54] [Netty IO #1/INFO]: Client attempting to join with 6 mods : mcp@9.05,FML@7.10.85.1231,ArmorStatusHUD@1.28,Forge@10.13.2.1231,axialcraft@1.0,bspkrsCore@6.15
                          [19:48:54] [Netty IO #1/INFO]: Client protocol version 1
                          [19:48:54] [User Authenticator #4/INFO]: UUID of player Y3TiX is 040462ef-f22c-3c6e-9890-078ccc6c3a57
                          [19:48:27] [Server thread/INFO]: mathmatboy issued server command: /clear
                          [19:47:44] [Server thread/INFO]: mathmatboy issued server command: /time day
                          [19:47:38] [Netty IO #1/INFO]: [world]<mathmatboy> dd
                          [19:47:26] [Server thread/INFO]: mathmatboy issued server command: /clear
                          [19:47:16] [Server thread/INFO]: Y3TiX lost connection: Disconnected
                          [19:47:15] [User Authenticator #3/INFO]: UUID of player Y3TiX is 040462ef-f22c-3c6e-9890-078ccc6c3a57
                          [19:47:13] [Server thread/INFO]: [Factions 2.3.0] postAttach added mathmatboy aka mathmatboy to 9d473c61-2cc2-4f8f-92ed-d7a2cfe9b829 aka Wilderness.
                          [19:47:07] [Server thread/WARN]: File motd.txt does not exist. Creating one for you.
                          [19:47:06] [Server thread/INFO]: mathmatboy[/96.23.161.101:50424] logged in with entity id 134 at ([world] 78.61243973491784, 72.00133597911214, 262.49287663110744)
                          [19:47:06] [Server thread/INFO]: [Server thread] Server side modded connection established
                          [19:47:06] [Netty IO #1/INFO]: Attempting connection with missing mods [] at CLIENT
                          [19:47:06] [Netty IO #1/INFO]: Client attempting to join with 6 mods : mcp@9.05,FML@7.10.85.1231,ArmorStatusHUD@1.28,Forge@10.13.2.1231,axialcraft@1.0,bspkrsCore@6.15
                          [19:47:06] [Netty IO #1/INFO]: Client protocol version 1
                          [19:47:05] [User Authenticator #2/INFO]: UUID of player mathmatboy is 5c2069f6-7a3d-34cf-8beb-4f6ef30cb09b
                          [19:47:01] [Server thread/INFO]: mathmatboy lost connection: Disconnected
                          [19:47:00] [User Authenticator #1/INFO]: UUID of player mathmatboy is 5c2069f6-7a3d-34cf-8beb-4f6ef30cb09b
                          [19:44:03] [Craft Scheduler Thread - 1/WARN]: [Vault] Update at: http://dev.bukkit.org/server-mods/vault
                          [19:44:03] [Craft Scheduler Thread - 1/WARN]: [Vault] Stable Version: 1.5.0 is out! You are still running version: 1.4.1
                          [19:44:03] [Craft Scheduler Thread - 1/INFO]: [Vault] Checking for Updates:
                          [19:44:02] [Server thread/INFO]: [Citizens] 0 PNJs chargé(s).
                          [19:44:02] [Server thread/INFO]: Registered command forge with permission node net.minecraftforge.server.command.ForgeCommand
                          [19:44:02] [Query Listener #1/INFO]: Query running on 62.210.232.136:12616
                          [19:44:02] [Server thread/INFO]: Starting GS4 status listener
                          [19:44:02] [Server thread/INFO]: Done (14,582s)! For help, type "help" or "?"
                          [19:44:02] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
                          [19:44:02] [Server thread/INFO]: [Factions 2.3.0] === ENABLE COMPLETE (Took 647ms) ===
                          [19:44:02] [Server thread/INFO]: [Factions 2.3.0] === ENABLE START ===
                          [19:44:02] [Server thread/INFO]: [Factions] Enabling Factions v2.3.0
                          [19:44:02] [Server thread/INFO]: [EssentialsChat] Enabling EssentialsChat v2.12.1
                          [19:44:01] [Server thread/INFO]: [EssentialsSpawn] Enabling EssentialsSpawn v2.12.1
                          [19:44:01] [Server thread/INFO]: [Citizens] Enabling Citizens v2.0.13-SNAPSHOT (build 1156)
                          [19:44:01] [Server thread/INFO]: Essentials: Using PermissionsEx based permissions.
                          [19:44:01] [Server thread/INFO]: [Vault][Economy] Essentials Economy hooked.
                          [19:44:00] [Server thread/INFO]: 1.7.10-R0.1-SNAPSHOT
                          [19:44:00] [Server thread/INFO]: git-Cauldron-MCPC-Plus-1.7.10-1.1231.04.209 (MC: 1.7.10)
                          [19:44:00] [Server thread/INFO]: Le format de la version de Bukkit a été changé. La version n'a pas été vérifiée.
                          [19:44:00] [Server thread/INFO]: [Essentials] Enabling Essentials v2.12.1
                          [19:44:00] [Server thread/INFO]: [WorldGuard] 0 regions loaded for 'DIM-1'
                          [19:44:00] [Server thread/INFO]: [WorldGuard] 0 regions loaded for 'DIM1'
                          [19:44:00] [Server thread/INFO]: [WorldGuard] 0 regions loaded for 'world'
                          [19:44:00] [Server thread/INFO]: [WorldGuard] Loaded configuration for world 'DIM-1'
                          [19:44:00] [Server thread/INFO]: [WorldGuard] (DIM-1) Fire spread is UNRESTRICTED.
                          [19:44:00] [Server thread/INFO]: [WorldGuard] (DIM-1) Lava fire is blocked.
                          [19:44:00] [Server thread/INFO]: [WorldGuard] (DIM-1) Lighters are PERMITTED.
                          [19:44:00] [Server thread/INFO]: [WorldGuard] (DIM-1) TNT ignition is PERMITTED.
                          [19:44:00] [Server thread/INFO]: [WorldGuard] Loaded configuration for world 'DIM1'
                          [19:44:00] [Server thread/INFO]: [WorldGuard] (DIM1) Fire spread is UNRESTRICTED.
                          [19:44:00] [Server thread/INFO]: [WorldGuard] (DIM1) Lava fire is blocked.
                          [19:44:00] [Server thread/INFO]: [WorldGuard] (DIM1) Lighters are PERMITTED.
                          [19:44:00] [Server thread/INFO]: [WorldGuard] (DIM1) TNT ignition is PERMITTED.
                          [19:44:00] [Server thread/INFO]: [WorldGuard] Loaded configuration for world 'world'
                          [19:44:00] [Server thread/INFO]: [WorldGuard] (world) Fire spread is UNRESTRICTED.
                          [19:44:00] [Server thread/INFO]: [WorldGuard] (world) Lava fire is blocked.
                          [19:44:00] [Server thread/INFO]: [WorldGuard] (world) Lighters are PERMITTED.
                          [19:44:00] [Server thread/INFO]: [WorldGuard] (world) TNT ignition is PERMITTED.
                          [19:44:00] [Server thread/INFO]: [WorldGuard] Enabling WorldGuard v5.9
                          [19:44:00] [Server thread/INFO]: [Multiverse-Core] Version 2.5-b678 (API v18) Enabled - By Rigby, fernferret, lithium3141 and main–
                          [19:43:59] [Thread-10/INFO]: [ClearLag] No updates found!
                          [19:43:59] [Thread-13/WARN]: [PermissionsEx] An update to PermissionsEx version 1.23 is available to download from http://dev.bukkit.org/bukkit-plugins/permissionsex/. Please review the changes and update as soon as possible!
                          [19:43:59] [Server thread/INFO]: [Multiverse-Core] 3 - World(s) loaded.
                          [19:43:58] [Server thread/INFO]: [Multiverse-Core] [AllPay] - Version 13.0 - hooked into Essentials Economy for Multiverse-Core v2.5-b678
                          [19:43:58] [Server thread/INFO]: [Multiverse-Core] Enabling Multiverse-Core v2.5-b678
                          [19:43:58] [Server thread/INFO]: [Vault][Chat] PermissionsEx_Chat hooked.
                          [19:43:58] [Server thread/INFO]: [Vault][Permission] PermissionsEx hooked.
                          [19:43:58] [Server thread/INFO]: WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.
                          [19:43:58] [Server thread/INFO]: [PermissionsEx] Permissions file successfully reloaded
                          [19:43:58] [Server thread/INFO]: [PermissionsEx] Initializing file backend
                          [19:43:58] [Server thread/INFO]: [PermissionsEx] Enabling PermissionsEx v1.21.3
                          [19:43:58] [Thread-10/INFO]: [ClearLag] Checking for updates…
                          [19:43:58] [Server thread/INFO]: [ClearLag] Clearlag is now enabled!
                          [19:43:58] [Server thread/INFO]: [ClearLag] Modules have been loaded!
                          [19:43:58] [Server thread/INFO]: [ClearLag] Loading modules…
                          [19:43:58] [Server thread/INFO]: [ClearLag] Enabling ClearLag v2.7.2
                          [19:43:57] [Server thread/INFO]: WEPIF: Using the Bukkit Permissions API.
                          [19:43:57] [Server thread/INFO]: [WorldEdit] Enabling WorldEdit v5.6.3
                          [19:43:57] [Server thread/INFO]: Preparing spawn area: 67%
                          [19:43:56] [Server thread/INFO]: Preparing start region for level 0
                          [19:43:56] [Server thread/INFO]: Loading dimension -1 (DIM-1) (net.minecraft.server.dedicated.DedicatedServer@474fd235)
                          [19:43:56] [Server thread/INFO]: Loading dimension 1 (DIM1) (net.minecraft.server.dedicated.DedicatedServer@474fd235)
                          [19:43:56] [Server thread/INFO]: Loading dimension 0 (world) (net.minecraft.server.dedicated.DedicatedServer@474fd235)
                          [19:43:55] [Server thread/INFO]: [mcore 7.0.2] Activated integration with ProtocolLib
                          [19:43:55] [Server thread/INFO]: [ProtocolLib] Started structure compiler thread.
                          [19:43:55] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v3.4.0
                          [19:43:55] [Server thread/INFO]: [mcore 7.0.2] Activated integration with Vault
                          [19:43:55] [Server thread/INFO]: [Vault] Enabled Version 1.4.1-b436
                          [19:43:55] [Server thread/INFO]: [Vault] [Chat] PermissionsEx found: Waiting
                          [19:43:55] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.
                          [19:43:55] [Server thread/INFO]: [Vault] [Permission] PermissionsEx found: Waiting
                          [19:43:55] [Server thread/INFO]: [Vault] [Economy] Essentials Economy found: Waiting
                          [19:43:54] [Server thread/INFO]: [Vault] Enabling Vault v1.4.1-b436
                          [19:43:54] [Server thread/INFO]: [mcore 7.0.2] === ENABLE COMPLETE (Took 447ms) ===
                          [19:43:54] [Server thread/INFO]: [mcore 7.0.2] Setup of SenderIdMixinDefault took 19ms.
                          [19:43:54] [Server thread/INFO]: [mcore 7.0.2] === ENABLE START ===
                          [19:43:54] [Server thread/INFO]: [mcore] Enabling mcore v7.0.2
                          [19:43:54] [Server thread/INFO]: [Factions] Loading Factions v2.3.0
                          [19:43:54] [Server thread/INFO]: [EssentialsChat] Loading EssentialsChat v2.12.1
                          [19:43:54] [Server thread/INFO]: [EssentialsSpawn] Loading EssentialsSpawn v2.12.1
                          [19:43:54] [Server thread/INFO]: [Citizens] Loading Citizens v2.0.13-SNAPSHOT (build 1156)
                          [19:43:54] [Server thread/INFO]: [Essentials] Loading Essentials v2.12.1
                          [19:43:54] [Server thread/INFO]: [WorldGuard] Loading WorldGuard v5.9
                          [19:43:54] [Server thread/INFO]: [Multiverse-Core] Loading Multiverse-Core v2.5-b678
                          [19:43:54] [Server thread/WARN]: [PermissionsEx] This server is in offline mode. Unless this server is configured to integrate with a supported proxy (see http://dft.ba/-8ous), UUIDs *may not be stable*!
                          [19:43:54] [Server thread/INFO]: [PermissionsEx] Loading PermissionsEx v1.21.3
                          [19:43:52] [Server thread/WARN]: [ProtocolLib] Version (MC: 1.7.10) has not yet been tested! Proceed with caution.
                          [19:43:52] [Server thread/INFO]: [ProtocolLib] Loading ProtocolLib v3.4.0
                          [19:43:52] [Server thread/INFO]: [ClearLag] Loading ClearLag v2.7.2
                          [19:43:52] [Server thread/INFO]: [Vault] Loading Vault v1.4.1-b436
                          [19:43:52] [Server thread/INFO]: [mcore] Loading mcore v7.0.2
                          [19:43:52] [Server thread/INFO]: [WorldEdit] Loading WorldEdit v5.6.3
                          [19:43:49] [Server thread/INFO]: Loaded inheritance map of 895 classes
                          [19:43:49] [Server thread/INFO]: Mapping loaded 11 packages, 7841 classes, 26711 fields, 53884 methods, flags 1ffa
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PAINEPICE with ID 4153.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PIZZA with ID 4152.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_POURDRE_PLATINE with ID 4151.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PERLE_STRENGTH with ID 4150.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PERLE_FIRE_RESISTANCE with ID 4149.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PERLE_HEAL with ID 4148.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PERLE_REGENERATION with ID 4147.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PERLE_SPEED with ID 4146.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AXIAL_SWORD with ID 4145.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AXIAL_HOE with ID 4144.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AXIAL_SHOVEL with ID 4143.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AXIAL_AXE with ID 4142.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AXIAL_PICKAXE with ID 4141.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AXIAL_BOOTS with ID 4140.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AXIAL_LEGGINGS with ID 4139.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AXIAL_CHESTPLATE with ID 4138.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AXIAL_HELMET with ID 4137.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AXIAL_INGOT with ID 4136.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_ALLIAGE_OR_PLATINE_SWORD with ID 4135.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_ALLIAGE_OR_PLATINE_HOE with ID 4134.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_ALLIAGE_OR_PLATINE_SHOVEL with ID 4133.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_ALLIAGE_OR_PLATINE_AXE with ID 4132.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_ALLIAGE_OR_PLATINE_PICKAXE with ID 4131.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_ALLIAGE_OR_PLATINE_BOOTS with ID 4130.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_ALLIAGE_OR_PLATINE_LEGGINGS with ID 4129.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_ALLIAGE_OR_PLATINE_CHESTPLATE with ID 4128.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_ALLIAGE_OR_PLATINE_HELMET with ID 4127.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_ALLIAGE_OR_PLATINE_INGOT with ID 4126.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PLATINE_SWORD with ID 4125.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PLATINE_HOE with ID 4124.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PLATINE_SHOVEL with ID 4123.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PLATINE_AXE with ID 4122.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PLATINE_PICKAXE with ID 4121.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PLATINE_BOOTS with ID 4120.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PLATINE_LEGGINGS with ID 4119.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PLATINE_CHESTPLATE with ID 4118.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PLATINE_HELMET with ID 4117.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_PLATINE_INGOT with ID 4116.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_RUBIS_SWORD with ID 4115.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_RUBIS_HOE with ID 4114.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_RUBIS_SHOVEL with ID 4113.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_RUBIS_AXE with ID 4112.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_RUBIS_PICKAXE with ID 4111.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_RUBIS_BOOTS with ID 4110.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_RUBIS_LEGGINGS with ID 4109.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_RUBIS_CHESTPLATE with ID 4108.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_RUBIS_HELMET with ID 4107.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_RUBIS_INGOT with ID 4106.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AZURITE_SWORD with ID 4105.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AZURITE_HOE with ID 4104.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AZURITE_SHOVEL with ID 4103.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AZURITE_AXE with ID 4102.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AZURITE_PICKAXE with ID 4101.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AZURITE_BOOTS with ID 4100.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AZURITE_LEGGINGS with ID 4099.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AZURITE_CHESTPLATE with ID 4098.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AZURITE_HELMET with ID 4097.
                          [19:43:48] [Server thread/INFO]: Injected new Forge item material AXIALCRAFT_AZURITE_INGOT with ID 4096.
                          [19:43:48] [Server thread/INFO]: Injected new Forge block material AXIALCRAFT_PLATINE_ORE with ID 179.
                          [19:43:48] [Server thread/INFO]: Injected new Forge block material AXIALCRAFT_RUBIS_ORE with ID 178.
                          [19:43:48] [Server thread/INFO]: Injected new Forge block material AXIALCRAFT_AZURITE_ORE with ID 177.
                          [19:43:48] [Server thread/INFO]: Injected new Forge block material AXIALCRAFT_INVISIBLE_BLOCK_ADMIN with ID 176.
                          [19:43:48] [Server thread/INFO]: Injected new Forge block material AXIALCRAFT_AXIAL_BLOCK with ID 169.
                          [19:43:48] [Server thread/INFO]: Injected new Forge block material AXIALCRAFT_ALLIAGE_OR_PLATINE_BLOCK with ID 168.
                          [19:43:48] [Server thread/INFO]: Injected new Forge block material AXIALCRAFT_PLATINE_BLOCK with ID 167.
                          [19:43:48] [Server thread/INFO]: Injected new Forge block material AXIALCRAFT_RUBIS_BLOCK with ID 166.
                          [19:43:48] [Server thread/INFO]: Injected new Forge block material AXIALCRAFT_AZURITE_BLOCK with ID 165.
                          [19:43:48] [Server thread/INFO]: Holder lookups applied
                          [19:43:48] [Server thread/INFO]: Applying holder lookups
                          [19:43:48] [Server thread/INFO]: Injecting existing block and item data into this server instance
                          [19:43:48] [Server thread/INFO]: Registered command netstat with permission node vanilla.command.netstat
                          [19:43:48] [Server thread/INFO]: Registered command tellraw with permission node vanilla.command.tellraw
                          [19:43:48] [Server thread/INFO]: Registered command testforblock with permission node vanilla.command.testforblock
                          [19:43:48] [Server thread/INFO]: Registered command setblock with permission node vanilla.command.setblock
                          [19:43:48] [Server thread/INFO]: Registered command summon with permission node vanilla.command.summon
                          [19:43:48] [Server thread/INFO]: Registered command achievement with permission node vanilla.command.achievement
                          [19:43:48] [Server thread/INFO]: Registered command scoreboard with permission node vanilla.command.scoreboard
                          [19:43:48] [Server thread/INFO]: Registered command playsound with permission node vanilla.command.playsound
                          [19:43:48] [Server thread/INFO]: Registered command spreadplayers with permission node vanilla.command.spreadplayers
                          [19:43:48] [Server thread/INFO]: Registered command debug with permission node vanilla.command.debug
                          [19:43:48] [Server thread/INFO]: Preparing level "world"
                          [19:43:48] [Server thread/INFO]: Forge Mod Loader has successfully loaded 4 mods
                          [19:43:48] [Server thread/INFO]: Mods axialCraft is loaded !!
                          [19:43:48] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
                          [19:43:48] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
                          [19:43:48] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
                          [19:43:48] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
                          [19:43:48] [Server thread/INFO]: Starting Minecraft server on 62.210.232.136:12616
                          [19:43:47] [Server thread/INFO]: Generating keypair
                          [19:43:47] [Server thread/INFO]: Using 4 threads for Netty based IO
                          [19:43:47] [Server thread/INFO]: Server Ping Player Sample Count: 12
                          [19:43:47] [Server thread/INFO]: This server is running Cauldron-MCPC-Plus version git-Cauldron-MCPC-Plus-1.7.10-1.1231.04.209 (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
                          [19:43:47] [Server thread/INFO]: Default game type: SURVIVAL
                          [19:43:47] [Server thread/INFO]: Loading properties
                          [19:43:47] [Server thread/INFO]: Holder lookups applied
                          [19:43:47] [Server thread/INFO]: Applying holder lookups
                          [19:43:46] [Server thread/INFO]: Configured a dormant chunk cache size of 0
                          [19:43:46] [Server thread/INFO]: Found 341 ObjectHolder annotations
                          [19:43:46] [Server thread/INFO]: Processing ObjectHolder annotations
                          [19:43:46] [Server thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, axialcraft] at SERVER
                          [19:43:46] [Server thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, axialcraft] at CLIENT
                          [19:43:46] [Server thread/INFO]: Forge Mod Loader has identified 4 mods to load
                          [19:43:46] [Server thread/INFO]: Mod axialcraft is missing the required element 'name'. Substituting axialcraft
                          [19:43:45] [Server thread/INFO]: Searching /var/directory_serv/servmc_86321/mods for mods
                          [19:43:45] [Server thread/INFO]: Completed early MinecraftForge initialization
                          [19:43:45] [Server thread/INFO]: Replaced 182 ore recipies
                          [19:43:45] [Server thread/INFO]: MinecraftForge v10.13.2.1231 Initialized
                          [19:43:45] [Server thread/INFO]: Attempting early MinecraftForge initialization
                          [19:43:45] [Server thread/INFO]: Starting minecraft server version 1.7.10
                          [19:43:39] [main/INFO]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
                          [19:43:38] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
                          [19:43:38] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
                          [19:43:37] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                          [19:43:37] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                          [19:43:35] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                          [19:43:35] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                          [19:43:35] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                          [19:43:35] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                          [19:43:35] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                          [19:43:35] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0, running on Linux:amd64:3.12-0.bpo.1-amd64, installed at /opt/jdk1.7.0/jre
                          [19:43:34] [main/INFO]: Forge Mod Loader version 7.10.85.1231 for Minecraft 1.7.10 loading
                          [19:43:34] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
                          [19:43:34] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
                          [19:43:34] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
                          
                          
                          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 as un NPE, envoie ton code.

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

                              ​package ca.mathmatboy.axialcraft.items.armors;
                              
                              import java.util.List;
                              
                              import ca.mathmatboy.axialcraft.common.axialcraftMain;
                              import net.minecraft.creativetab.CreativeTabs;
                              import net.minecraft.entity.Entity;
                              import net.minecraft.entity.EntityLivingBase;
                              import net.minecraft.entity.player.EntityPlayer;
                              import net.minecraft.init.Items;
                              import net.minecraft.item.ItemArmor;
                              import net.minecraft.item.ItemStack;
                              import net.minecraft.potion.Potion;
                              import net.minecraft.potion.PotionEffect;
                              import net.minecraft.util.DamageSource;
                              import net.minecraft.util.EnumChatFormatting;
                              import net.minecraft.world.World;
                              import net.minecraftforge.common.ISpecialArmor;
                              
                              public class ArmorRubis extends ItemArmor implements ISpecialArmor{
                              
                              public ArmorRubis(ArmorMaterial armorMaterial, int type, int layer) {
                              super(armorMaterial, type, layer);
                              setCreativeTab(CreativeTabs.tabCombat);
                              
                              }
                              
                              public boolean getIsRepairable(ItemStack stack, ItemStack repairItem)
                              {
                              if(stack.getItem().equals(this) && repairItem.getItem() == axialcraftMain.rubis_ingot)
                              return true;
                              return false;
                              }
                              
                               public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
                               {
                               if(slot == 2)
                               {
                               return axialcraftMain.MODID + ":textures/models/armor/rubis_layer_2.png";
                               }
                               return axialcraftMain.MODID + ":textures/models/armor/rubis_layer_1.png";
                               }
                              
                              public void onArmorTick(World world, EntityPlayer player, ItemStack itemstack)
                              
                              {
                              
                              int parX = (int)player.posX, parY = (int)player.posY, parZ =  (int)player.posZ;
                              
                              ItemStack boots = player.getCurrentArmor(0);
                              
                              ItemStack legs = player.getCurrentArmor(1);
                              
                              ItemStack chest = player.getCurrentArmor(2);
                              
                              ItemStack helmet = player.getCurrentArmor(3);
                              
                              if(boots != null && legs != null && chest != null && helmet != null)
                              
                              {
                              
                              if(boots.getItem() == axialcraftMain.rubis_boots && legs.getItem() == axialcraftMain.rubis_leggings &&
                              
                              chest.getItem() == axialcraftMain.rubis_chestplate && helmet.getItem() == axialcraftMain.rubis_helmet)
                              
                              {
                              
                              player.addPotionEffect(new PotionEffect(Potion.nightVision.getId(), -1, 2)); 
                              
                              }
                              
                              }
                              
                               }
                                    public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
                                    {
                                     super.addInformation(par1ItemStack, par2EntityPlayer, par3List, par4);
                              
                                     par3List.add(EnumChatFormatting.GOLD +"Cette armures rajoute la ");
                                     par3List.add(EnumChatFormatting.GOLD +"vision pour la nuit !");
                              
                                    }
                              
                              @Override
                              public ArmorProperties getProperties(EntityLivingBase player,
                              ItemStack armor, DamageSource source, double damage, int slot) {
                              return null;
                              }
                              
                              @Override
                              public int getArmorDisplay(EntityPlayer player, ItemStack armor, int slot) {
                              return 0;
                              }
                              
                              @Override
                              public void damageArmor(EntityLivingBase entity, ItemStack stack,
                              DamageSource source, int damage, int slot) {
                              
                              }
                              }
                              
                              
                              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

                                Si tu n’as rien changé c’est normal que ça ne fonctionne pas … Il ne faut pas laisser les méthodes tel quelle …

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

                                  J’ai enlever seulement le TODO

                                  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

                                    Si tu n’as rien changé c’est normal que ça ne fonctionne pas … Il ne faut pas laisser les méthodes tel quelle …

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

                                      Tu veux je mettre quoi la dedans ?

                                      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 l’as toi même dit :
                                        @‘mathmatboy’:

                                        Sa fonctionne MERCI !

                                        Il reste les armures maintenant, j’ai regarder pour le ISpecialArmor et j’ai trouver se poste, donc si je comprends je créer une class don son nom est ISpecialArmor ensuite je insert se code =>

                                        @Override
                                        
                                            public ArmorProperties getProperties(EntityLivingBase player, ItemStack armor, DamageSource source, double damage, int slot)
                                            {
                                                return new ArmorProperties(priorité, ratio, dégat max);
                                            }
                                        
                                            @Override
                                            public int getArmorDisplay(EntityPlayer player, ItemStack armor, int slot)
                                            {
                                                return nombre de barre d armure;
                                            }
                                        
                                            @Override
                                            public void damageArmor(EntityLivingBase entity, ItemStack stack, DamageSource source, int damage, int slot)
                                            {
                                                //code a éxécuter pour abimer l'armure
                                                // stack.damageItem(damage, entity); par exemple
                                            }
                                        

                                        et après tout est réglé ? ya rien d’autre a faire ?

                                        Tu as un exemple ici :
                                        https://github.com/FFMT/nanotech_mod/blob/master/common/fr/mcnanotech/kevin_68/nanotechmod/ultimategravisuite/common/UltimateArmor.java#L279-L297
                                        https://github.com/FFMT/nanotech_mod/blob/master/common/fr/mcnanotech/kevin_68/nanotechmod/ultimategravisuite/common/UltimateArmor.java#L324-L328
                                        La c’est une armure electrique donc j’utilise un code de l’api d’ic2 pour l’user, mais dans ton cas il faudra utiliser
                                        stack.damageItem(damage, entity);
                                        (après tu peux jouer avec la valeur de damage, la diviser par 2 ou 4 voir plus pour faire en sorte que l’armure s’use moins vite).

                                        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