MFF

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

    Data watcher superieur a 31

    Planifier Épinglé Verrouillé Déplacé Sans suite
    20 Messages 4 Publieurs 3.9k 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.
    • mindany2M Hors-ligne
      mindany2
      dernière édition par

      http://www.minecraftforgefrance.fr/showthread.php?tid=905
      Fonctionne très bien le temps que tu fais pas mes bêtises 😛

      ^^

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

        J’avais utilisé ce tuto combiné à un de minecraft forum pour faire mon extend properties je vais essayé de le modifié merci !

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

          Je vous aussi poser une question, j’ai en faite 48 valeurs pour l’instant mais j’aimerai les enregistré tous en le moin de ligne possible puisque chaque valeur se ressemble et sont des boolean !

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

            Ouh là déjà les ups c’est tout les 24h
            Bah ce que tu peux essayer de faire c’est un truc dans le genre

            ​boolean val1, val2, val3;
            

            M’enfin après je ne vois pas trop en quoi c’est dérangeant d’avoir plusieurs lignes qui portent sur le même thème (je sous entends, que dans la fonction save… bah y a que les saves et rien d’autre)

            ^^

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

              ok sa va resté long…

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

                Alors, pourquoi utiliser autant de DataWatcher ?

                Les DataWatcher sont pour les données ulta importantes, qui doivent être synchronisé tout le temps.

                Un extended entity properties peut avoir un nombre virtuellement illimité de valeurs;

                "If you have a comprehensive explanation for everything then it decreases uncertainty and anxiety and reduces your cognitive load. And if you can use that simplifying algorithm to put yourself on the side of moral virtue then you’re constantly a good person with a minimum of effort."
                ― Jordan B. Peterson

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

                  Je comprend pas, quand je quitte le monde la valeur s initialiase a false.

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

                    Je comprend pas, quand je quitte le monde la valeur s initialise a false.

                    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 enregistre bien le tag nbt ? Tu modifies bien les valeurs côté serveur ?

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

                        j’ai tout verifié à l’aide du tuto trouvé sur le forum mais rien des que je quitte le monde sa revient a son origine false.

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

                          Problème resolut tout fonctionne mais encre un dernier problème et je pense que c’est le dernier : comment utilisé ceci

                          buffer.writeBoolean(award_48);
                          

                          pour un String ?

                          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

                            String s = ByteBufUtils.readUTF8String(buffer);
                            et ByteBufUtils.writeUTF8String(buffer,  s);

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

                              J’ai mis ça dans decodeInto et encodeInto et sa crash quand je click sur mon monde.

                              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

                                Envoie le rapport de crash et le code de ton paquet.

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

                                  Oui voila le rapport

                                  [14:05:05] [main/INFO] [GradleStart]: No arguments specified, assuming client.
                                  
                                  [14:05:05] [main/INFO] [GradleStart]: Extra: []
                                  [14:05:05] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Portuar/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker]
                                  [14:05:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                                  [14:05:05] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                                  [14:05:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                                  [14:05:05] [main/INFO] [FML]: Forge Mod Loader version 7.10.84.1217 for Minecraft 1.7.10 loading
                                  [14:05:05] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre8
                                  [14:05:05] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                                  [14:05:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                  [14:05:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                                  [14:05:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                  [14:05:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                  [14:05:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                                  [14:05:05] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                                  [14:05:07] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                                  [14:05:07] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                                  [14:05:07] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                                  [14:05:07] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
                                  [14:05:07] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
                                  [14:05:07] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                                  [14:05:07] [main/INFO]: Setting user: Player455
                                  [14:05:08] [Client thread/INFO]: LWJGL Version: 2.9.1
                                  [14:05:08] [Client thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@5bfa8cc5\. This is a critical error and should be impossible
                                  java.lang.Throwable
                                  at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?]
                                  at cpw.mods.fml.common.eventhandler.EventBus.<init>(EventBus.java:36) [EventBus.class:?]
                                  at net.minecraftforge.common.MinecraftForge.<clinit>(MinecraftForge.java:21) [MinecraftForge.class:?]
                                  at net.minecraftforge.fluids.FluidRegistry.registerFluid(FluidRegistry.java:83) [FluidRegistry.class:?]
                                  at net.minecraftforge.fluids.FluidRegistry.<clinit>(FluidRegistry.java:50) [FluidRegistry.class:?]
                                  at net.minecraftforge.client.ForgeHooksClient.<clinit>(ForgeHooksClient.java:425) [ForgeHooksClient.class:?]
                                  at net.minecraft.client.Minecraft.startGame(Minecraft.java:474) [Minecraft.class:?]
                                  at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
                                  at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
                                  at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
                                  at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
                                  at GradleStart.bounce(GradleStart.java:107) [start/:?]
                                  at GradleStart.startClient(GradleStart.java:100) [start/:?]
                                  at GradleStart.main(GradleStart.java:55) [start/:?]
                                  [14:05:08] [Client thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@5b04476e. This is a critical error and should be impossible
                                  java.lang.Throwable
                                  at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?]
                                  at cpw.mods.fml.common.eventhandler.EventBus.<init>(EventBus.java:36) [EventBus.class:?]
                                  at net.minecraftforge.common.MinecraftForge.<clinit>(MinecraftForge.java:22) [MinecraftForge.class:?]
                                  at net.minecraftforge.fluids.FluidRegistry.registerFluid(FluidRegistry.java:83) [FluidRegistry.class:?]
                                  at net.minecraftforge.fluids.FluidRegistry.<clinit>(FluidRegistry.java:50) [FluidRegistry.class:?]
                                  at net.minecraftforge.client.ForgeHooksClient.<clinit>(ForgeHooksClient.java:425) [ForgeHooksClient.class:?]
                                  at net.minecraft.client.Minecraft.startGame(Minecraft.java:474) [Minecraft.class:?]
                                  at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
                                  at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
                                  at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
                                  at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
                                  at GradleStart.bounce(GradleStart.java:107) [start/:?]
                                  at GradleStart.startClient(GradleStart.java:100) [start/:?]
                                  at GradleStart.main(GradleStart.java:55) [start/:?]
                                  [14:05:08] [Client thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@5ad10c1a. This is a critical error and should be impossible
                                  java.lang.Throwable
                                  at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?]
                                  at cpw.mods.fml.common.eventhandler.EventBus.<init>(EventBus.java:36) [EventBus.class:?]
                                  at net.minecraftforge.common.MinecraftForge.<clinit>(MinecraftForge.java:23) [MinecraftForge.class:?]
                                  at net.minecraftforge.fluids.FluidRegistry.registerFluid(FluidRegistry.java:83) [FluidRegistry.class:?]
                                  at net.minecraftforge.fluids.FluidRegistry.<clinit>(FluidRegistry.java:50) [FluidRegistry.class:?]
                                  at net.minecraftforge.client.ForgeHooksClient.<clinit>(ForgeHooksClient.java:425) [ForgeHooksClient.class:?]
                                  at net.minecraft.client.Minecraft.startGame(Minecraft.java:474) [Minecraft.class:?]
                                  at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
                                  at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
                                  at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
                                  at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
                                  at GradleStart.bounce(GradleStart.java:107) [start/:?]
                                  at GradleStart.startClient(GradleStart.java:100) [start/:?]
                                  at GradleStart.main(GradleStart.java:55) [start/:?]
                                  [14:05:10] [Client thread/ERROR] [FML]: Unable to determine registrant mod for cpw.mods.fml.common.eventhandler.EventBus@5c48c0c0\. This is a critical error and should be impossible
                                  java.lang.Throwable
                                  at cpw.mods.fml.common.eventhandler.EventBus.register(EventBus.java:56) [EventBus.class:?]
                                  at cpw.mods.fml.common.eventhandler.EventBus.<init>(EventBus.java:36) [EventBus.class:?]
                                  at cpw.mods.fml.common.FMLCommonHandler.<init>(FMLCommonHandler.java:90) [FMLCommonHandler.class:?]
                                  at cpw.mods.fml.common.FMLCommonHandler.<clinit>(FMLCommonHandler.java:77) [FMLCommonHandler.class:?]
                                  at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:188) [FMLClientHandler.class:?]
                                  at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
                                  at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
                                  at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
                                  at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
                                  at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
                                  at GradleStart.bounce(GradleStart.java:107) [start/:?]
                                  at GradleStart.startClient(GradleStart.java:100) [start/:?]
                                  at GradleStart.main(GradleStart.java:55) [start/:?]
                                  [14:05:10] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
                                  [14:05:10] [Client thread/INFO] [FML]: MinecraftForge v10.13.1.1217 Initialized
                                  [14:05:10] [Client thread/INFO] [FML]: Replaced 182 ore recipies
                                  [14:05:10] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
                                  [14:05:11] [Client thread/INFO] [FML]: Searching D:\Desktop\Projet MonsterHunter\eclipse\mods for mods
                                  [14:05:15] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                                  [14:05:15] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mhpe] at CLIENT
                                  [14:05:15] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mhpe] at SERVER
                                  [14:05:15] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Monster Hunter Pixel Edition
                                  [14:05:15] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                                  [14:05:15] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
                                  [14:05:15] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                                  [14:05:15] [Client thread/INFO] [FML]: Applying holder lookups
                                  [14:05:15] [Client thread/INFO] [FML]: Holder lookups applied
                                  [14:05:15] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                                  [14:05:15] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                                  [14:05:16] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                                  [14:05:16] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                                  [14:05:16] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                                  [14:05:16] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                                  [14:05:16] [Sound Library Loader/INFO]: Sound engine started
                                  [14:05:18] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
                                  [14:05:18] [Client thread/INFO]: Created: 256x256 textures/items-atlas
                                  [14:05:18] [Client thread/INFO] [STDOUT]: [com.google.portuar.mhpe.client.ClientProxy:registerRender:52]: méthode côté client
                                  [14:05:18] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
                                  [14:05:18] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Monster Hunter Pixel Edition
                                  [14:05:19] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
                                  [14:05:19] [Client thread/INFO]: Created: 256x256 textures/items-atlas
                                  [14:05:19] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                                  [14:05:19] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
                                  [14:05:19] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
                                  [14:05:19] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                                  [14:05:19] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                                  [14:05:19] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                                  [14:05:19] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                                  [14:05:19] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                                  [14:05:19] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                                  [14:05:19] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                                  [14:05:19] [Sound Library Loader/INFO]: Sound engine started
                                  [14:05:44] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
                                  [14:05:44] [Server thread/INFO]: Generating keypair
                                  [14:05:44] [Server thread/INFO]: Converting map!
                                  [14:05:44] [Server thread/INFO]: Scanning folders…
                                  [14:05:44] [Server thread/INFO]: Total conversion count is 0
                                  [14:05:44] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
                                  [14:05:44] [Server thread/INFO] [FML]: Applying holder lookups
                                  [14:05:44] [Server thread/INFO] [FML]: Holder lookups applied
                                  [14:05:45] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@13907ab3)
                                  [14:05:45] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@13907ab3)
                                  [14:05:45] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@13907ab3)
                                  [14:05:45] [Server thread/INFO]: Preparing start region for level 0
                                  [14:05:46] [Server thread/INFO]: Preparing spawn area: 17%
                                  [14:05:47] [Server thread/INFO]: Preparing spawn area: 38%
                                  [14:05:48] [Server thread/INFO]: Preparing spawn area: 58%
                                  [14:05:49] [Server thread/INFO]: Preparing spawn area: 78%
                                  [14:05:50] [Server thread/INFO]: Changing view distance to 12, from 10
                                  [14:05:50] [Netty Client IO #0/INFO] [FML]: Server protocol version 1
                                  [14:05:50] [Netty IO #1/INFO] [FML]: Client protocol version 1
                                  [14:05:50] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : mhpe@0.0.1,FML@7.10.84.1217,Forge@10.13.1.1217,mcp@9.05
                                  [14:05:50] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
                                  [14:05:50] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
                                  [14:05:50] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
                                  [14:05:50] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
                                  [14:05:50] [Server thread/INFO]: Player455[local:E:151eff39] logged in with entity id 89 at (193.5, 64.0, 255.5)
                                  [14:05:50] [Server thread/INFO]: Player455 joined the game
                                  [14:05:50] [Client thread/ERROR] [FML]: There was a critical exception handling a packet on channel mhpe
                                  io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(48) + length(1) exceeds writerIndex(48): SlicedByteBuf(ridx: 48, widx: 48, cap: 48/48, unwrapped: UnpooledHeapByteBuf(ridx: 1, widx: 49, cap: 49/49))
                                  at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:99) ~[MessageToMessageDecoder.class:?]
                                  at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[MessageToMessageCodec.class:?]
                                  at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[DefaultChannelHandlerContext.class:?]
                                  at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[DefaultChannelHandlerContext.class:?]
                                  at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) ~[DefaultChannelPipeline.class:?]
                                  at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) ~[EmbeddedChannel.class:?]
                                  at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:86) [FMLProxyPacket.class:?]
                                  at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) [NetworkManager.class:?]
                                  at net.minecraft.client.Minecraft.runTick(Minecraft.java:2141) [Minecraft.class:?]
                                  at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1028) [Minecraft.class:?]
                                  at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?]
                                  at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
                                  at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
                                  at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
                                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
                                  at GradleStart.bounce(GradleStart.java:107) [start/:?]
                                  at GradleStart.startClient(GradleStart.java:100) [start/:?]
                                  at GradleStart.main(GradleStart.java:55) [start/:?]
                                  Caused by: java.lang.IndexOutOfBoundsException: readerIndex(48) + length(1) exceeds writerIndex(48): SlicedByteBuf(ridx: 48, widx: 48, cap: 48/48, unwrapped: UnpooledHeapByteBuf(ridx: 1, widx: 49, cap: 49/49))
                                  at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1160) ~[AbstractByteBuf.class:?]
                                  at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:562) ~[AbstractByteBuf.class:?]
                                  at cpw.mods.fml.common.network.ByteBufUtils.readVarInt(ByteBufUtils.java:46) ~[ByteBufUtils.class:?]
                                  at cpw.mods.fml.common.network.ByteBufUtils.readUTF8String(ByteBufUtils.java:118) ~[ByteBufUtils.class:?]
                                  at com.google.portuar.mhpe.packet.PacketMhpe.decodeInto(PacketMhpe.java:215) ~[PacketMhpe.class:?]
                                  at com.google.portuar.mhpe.packet.PacketHandler.decode(PacketHandler.java:89) ~[PacketHandler.class:?]
                                  at com.google.portuar.mhpe.packet.PacketHandler.decode(PacketHandler.java:1) ~[PacketHandler.class:?]
                                  at io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81) ~[MessageToMessageCodec$2.class:?]
                                  at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89) ~[MessageToMessageDecoder.class:?]
                                  … 24 more
                                  [14:05:51] [Server thread/INFO]: Player455 lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}
                                  [14:05:51] [Server thread/INFO]: Player455 left the game
                                  [14:05:51] [Server thread/ERROR] [FML]: Failed to save extended properties for MhpeInformation.  This is a mod issue.
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.IllegalArgumentException: Empty string not allowed
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.nbt.NBTTagString.<init>(NBTTagString.java:24)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.nbt.NBTTagCompound.setString(NBTTagCompound.java:136)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.portuar.mhpe.common.entity.ExtendedEntityPropMhpe.saveNBTData(ExtendedEntityPropMhpe.java:142)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.entity.Entity.writeToNBT(Entity.java:1527)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.integrated.IntegratedPlayerList.writePlayerData(IntegratedPlayerList.java:33)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.management.ServerConfigurationManager.playerLoggedOut(ServerConfigurationManager.java:334)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.network.NetHandlerPlayServer.onDisconnect(NetHandlerPlayServer.java:668)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:175)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)
                                  [14:05:51] [Server thread/ERROR] [FML]: Failed to save extended properties for MhpeInformation.  This is a mod issue.
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.IllegalArgumentException: Empty string not allowed
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.nbt.NBTTagString.<init>(NBTTagString.java:24)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.nbt.NBTTagCompound.setString(NBTTagCompound.java:136)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.portuar.mhpe.common.entity.ExtendedEntityPropMhpe.saveNBTData(ExtendedEntityPropMhpe.java:142)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.entity.Entity.writeToNBT(Entity.java:1527)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.world.storage.SaveHandler.writePlayerData(SaveHandler.java:274)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.management.ServerConfigurationManager.writePlayerData(ServerConfigurationManager.java:291)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.integrated.IntegratedPlayerList.writePlayerData(IntegratedPlayerList.java:36)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.management.ServerConfigurationManager.playerLoggedOut(ServerConfigurationManager.java:334)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.network.NetHandlerPlayServer.onDisconnect(NetHandlerPlayServer.java:668)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:175)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)
                                  [14:05:51] [Server thread/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)
                                  [14:05:51] [Server thread/INFO]: Stopping singleplayer server as player logged out
                                  [14:05:51] [Server thread/INFO]: Stopping server
                                  [14:05:51] [Server thread/INFO]: Saving players
                                  [14:05:51] [Server thread/INFO]: Saving worlds
                                  [14:05:51] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
                                  [14:05:55] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
                                  [14:05:55] [Server thread/INFO]: Saving chunks for level 'New World'/The End
                                  [14:05:57] [Server thread/INFO] [FML]: Unloading dimension 0
                                  [14:05:57] [Server thread/INFO] [FML]: Unloading dimension -1
                                  [14:05:57] [Server thread/INFO] [FML]: Unloading dimension 1
                                  [14:05:57] [Server thread/INFO] [FML]: Applying holder lookups
                                  [14:05:57] [Server thread/INFO] [FML]: Holder lookups applied
                                  [14:06:04] [Client thread/INFO]: Stopping!
                                  [14:06:04] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                                  [14:06:04] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
                                  [14:06:04] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
                                  [14:06:04] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
                                  Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                                  
                                  

                                  et le packet un peu fouillis

                                  
                                  package com.google.portuar.mhpe.packet;
                                  
                                  import com.google.portuar.mhpe.common.entity.ExtendedEntityPropMhpe;
                                  
                                  import io.netty.buffer.ByteBuf;
                                  import io.netty.channel.ChannelHandlerContext;
                                  import net.minecraft.entity.player.EntityPlayer;
                                  import net.minecraft.nbt.NBTTagCompound;
                                  import cpw.mods.fml.common.network.ByteBufUtils;
                                  
                                  public class PacketMhpe extends AbstractPacket
                                  {
                                  private NBTTagCompound data;
                                  
                                  private boolean award_1, award_2, award_3, award_4, award_5, award_6, award_7, award_8
                                  ,award_9, award_10, award_11, award_12, award_13, award_14, award_15, award_16
                                  ,award_17, award_18, award_19, award_20, award_21, award_22, award_23, award_24
                                  ,award_25, award_26, award_27, award_28, award_29, award_30, award_31, award_32
                                  ,award_33, award_34, award_35, award_36, award_37, award_38, award_39, award_40
                                  ,award_41, award_42, award_43, award_44, award_45, award_46, award_47, award_48;
                                  
                                  private String title_1, title_2, title_3, info_1, info_2, info_3;
                                  
                                  public PacketMhpe() {}
                                  
                                  public PacketMhpe(boolean award_1, boolean award_2,boolean award_3,boolean award_4,
                                  boolean award_5,boolean award_6,boolean award_7,boolean award_8,boolean award_9,
                                  boolean award_10,boolean award_11,boolean award_12,boolean award_13,boolean award_14,
                                  boolean award_15,boolean award_16,boolean award_17,boolean award_18,boolean award_19,
                                  boolean award_20,boolean award_21,boolean award_22,boolean award_23,boolean award_24,
                                  boolean award_25,boolean award_26,boolean award_27,boolean award_28,boolean award_29,
                                  boolean award_30,boolean award_31,boolean award_32,boolean award_33,boolean award_34,
                                  boolean award_35,boolean award_36,boolean award_37,boolean award_38,boolean award_39,
                                  boolean award_40,boolean award_41,boolean award_42,boolean award_43,boolean award_44,
                                  boolean award_45,boolean award_46,boolean award_47,boolean award_48,
                                  String title_1, String title_2, String title_3, String info_1, String info_2, String info_3) 
                                  {
                                  this.award_1 = award_1;
                                  this.award_2 = award_2;
                                  this.award_3 = award_3;
                                  this.award_4 = award_4;
                                  this.award_5 = award_5;
                                  this.award_6 = award_6;
                                  this.award_7 = award_7;
                                  this.award_8 = award_8;
                                  this.award_9 = award_9;
                                  this.award_10 = award_10;
                                  this.award_11 = award_11;
                                  this.award_12 = award_12;
                                  this.award_13 = award_13;
                                  this.award_14 = award_14;
                                  this.award_15 = award_15;
                                  this.award_16 = award_16;
                                  this.award_17 = award_17;
                                  this.award_18 = award_18;
                                  this.award_19 = award_19;
                                  this.award_20 = award_20;
                                  this.award_21 = award_21;
                                  this.award_22 = award_22;
                                  this.award_23 = award_23;
                                  this.award_24 = award_24;
                                  this.award_25 = award_25;
                                  this.award_26 = award_26;
                                  this.award_27 = award_27;
                                  this.award_28 = award_28;
                                  this.award_29 = award_29;
                                  this.award_30 = award_30;
                                  this.award_31 = award_31;
                                  this.award_32 = award_32;
                                  this.award_33 = award_33;
                                  this.award_34 = award_34;
                                  this.award_35 = award_35;
                                  this.award_36 = award_36;
                                  this.award_37 = award_37;
                                  this.award_38 = award_38;
                                  this.award_39 = award_39;
                                  this.award_40 = award_40;
                                  this.award_41 = award_41;
                                  this.award_42 = award_42;
                                  this.award_43 = award_43;
                                  this.award_44 = award_44;
                                  this.award_45 = award_45;
                                  this.award_46 = award_46;
                                  this.award_47 = award_47;
                                  this.award_48 = award_48;
                                  
                                  this.title_1 = title_1;
                                  this.title_2 = title_2;
                                  this.title_3 = title_3;
                                  this.info_1 = info_1;
                                  this.info_2 = info_2;
                                  this.info_3 = info_3;
                                  }
                                  
                                  @Override
                                  public void encodeInto(ChannelHandlerContext ctx, ByteBuf buffer) 
                                  {
                                  buffer.writeBoolean(award_1);
                                  buffer.writeBoolean(award_2);
                                  buffer.writeBoolean(award_3);
                                  buffer.writeBoolean(award_4);
                                  buffer.writeBoolean(award_5);
                                  buffer.writeBoolean(award_6);
                                  buffer.writeBoolean(award_7);
                                  buffer.writeBoolean(award_8);
                                  buffer.writeBoolean(award_9);
                                  buffer.writeBoolean(award_10);
                                  buffer.writeBoolean(award_11);
                                  buffer.writeBoolean(award_12);
                                  buffer.writeBoolean(award_13);
                                  buffer.writeBoolean(award_14);
                                  buffer.writeBoolean(award_15);
                                  buffer.writeBoolean(award_16);
                                  buffer.writeBoolean(award_17);
                                  buffer.writeBoolean(award_18);
                                  buffer.writeBoolean(award_19);
                                  buffer.writeBoolean(award_20);
                                  buffer.writeBoolean(award_21);
                                  buffer.writeBoolean(award_22);
                                  buffer.writeBoolean(award_23);
                                  buffer.writeBoolean(award_24);
                                  buffer.writeBoolean(award_25);
                                  buffer.writeBoolean(award_26);
                                  buffer.writeBoolean(award_27);
                                  buffer.writeBoolean(award_28);
                                  buffer.writeBoolean(award_29);
                                  buffer.writeBoolean(award_30);
                                  buffer.writeBoolean(award_31);
                                  buffer.writeBoolean(award_32);
                                  buffer.writeBoolean(award_33);
                                  buffer.writeBoolean(award_34);
                                  buffer.writeBoolean(award_35);
                                  buffer.writeBoolean(award_36);
                                  buffer.writeBoolean(award_37);
                                  buffer.writeBoolean(award_38);
                                  buffer.writeBoolean(award_39);
                                  buffer.writeBoolean(award_40);
                                  buffer.writeBoolean(award_41);
                                  buffer.writeBoolean(award_42);
                                  buffer.writeBoolean(award_43);
                                  buffer.writeBoolean(award_44);
                                  buffer.writeBoolean(award_45);
                                  buffer.writeBoolean(award_46);
                                  buffer.writeBoolean(award_47);
                                  buffer.writeBoolean(award_48);
                                  
                                  String title_1 = ByteBufUtils.readUTF8String(buffer);
                                  ByteBufUtils.writeUTF8String(buffer,  title_1);
                                  String title_2 = ByteBufUtils.readUTF8String(buffer);
                                  ByteBufUtils.writeUTF8String(buffer,  title_2);
                                  String title_3 = ByteBufUtils.readUTF8String(buffer);
                                  ByteBufUtils.writeUTF8String(buffer,  title_3);
                                  
                                  String info_1 = ByteBufUtils.readUTF8String(buffer);
                                  ByteBufUtils.writeUTF8String(buffer,  info_1);
                                  String info_2 = ByteBufUtils.readUTF8String(buffer);
                                  ByteBufUtils.writeUTF8String(buffer,  info_2);
                                  String info_3 = ByteBufUtils.readUTF8String(buffer);
                                  ByteBufUtils.writeUTF8String(buffer,  info_3);
                                  }
                                  
                                  @Override
                                  public void decodeInto(ChannelHandlerContext ctx, ByteBuf buffer)
                                  {
                                  this.award_1 = buffer.readBoolean();
                                  this.award_2 = buffer.readBoolean();
                                  this.award_3 = buffer.readBoolean();
                                  this.award_4 = buffer.readBoolean();
                                  this.award_5 = buffer.readBoolean();
                                  this.award_6 = buffer.readBoolean();
                                  this.award_7 = buffer.readBoolean();
                                  this.award_8 = buffer.readBoolean();
                                  this.award_9 = buffer.readBoolean();
                                  this.award_10 = buffer.readBoolean();
                                  this.award_11 = buffer.readBoolean();
                                  this.award_12 = buffer.readBoolean();
                                  this.award_13 = buffer.readBoolean();
                                  this.award_14 = buffer.readBoolean();
                                  this.award_15 = buffer.readBoolean();
                                  this.award_16 = buffer.readBoolean();
                                  this.award_17 = buffer.readBoolean();
                                  this.award_18 = buffer.readBoolean();
                                  this.award_19 = buffer.readBoolean();
                                  this.award_20 = buffer.readBoolean();
                                  this.award_21 = buffer.readBoolean();
                                  this.award_22 = buffer.readBoolean();
                                  this.award_23 = buffer.readBoolean();
                                  this.award_24 = buffer.readBoolean();
                                  this.award_25 = buffer.readBoolean();
                                  this.award_26 = buffer.readBoolean();
                                  this.award_27 = buffer.readBoolean();
                                  this.award_28 = buffer.readBoolean();
                                  this.award_29 = buffer.readBoolean();
                                  this.award_30 = buffer.readBoolean();
                                  this.award_31 = buffer.readBoolean();
                                  this.award_32 = buffer.readBoolean();
                                  this.award_33 = buffer.readBoolean();
                                  this.award_34 = buffer.readBoolean();
                                  this.award_35 = buffer.readBoolean();
                                  this.award_36 = buffer.readBoolean();
                                  this.award_37 = buffer.readBoolean();
                                  this.award_38 = buffer.readBoolean();
                                  this.award_39 = buffer.readBoolean();
                                  this.award_40 = buffer.readBoolean();
                                  this.award_41 = buffer.readBoolean();
                                  this.award_42 = buffer.readBoolean();
                                  this.award_43 = buffer.readBoolean();
                                  this.award_44 = buffer.readBoolean();
                                  this.award_45 = buffer.readBoolean();
                                  this.award_46 = buffer.readBoolean();
                                  this.award_47 = buffer.readBoolean();
                                  this.award_48 = buffer.readBoolean();
                                  
                                  String title_1 = ByteBufUtils.readUTF8String(buffer);
                                  ByteBufUtils.writeUTF8String(buffer,  title_1);
                                  String title_2 = ByteBufUtils.readUTF8String(buffer);
                                  ByteBufUtils.writeUTF8String(buffer,  title_2);
                                  String title_3 = ByteBufUtils.readUTF8String(buffer);
                                  ByteBufUtils.writeUTF8String(buffer,  title_3);
                                  
                                  String info_1 = ByteBufUtils.readUTF8String(buffer);
                                  ByteBufUtils.writeUTF8String(buffer,  info_1);
                                  String info_2 = ByteBufUtils.readUTF8String(buffer);
                                  ByteBufUtils.writeUTF8String(buffer,  info_2);
                                  String info_3 = ByteBufUtils.readUTF8String(buffer);
                                  ByteBufUtils.writeUTF8String(buffer,  info_3);
                                  }
                                  
                                  @Override
                                  public void handleClientSide(EntityPlayer player) {
                                  ExtendedEntityPropMhpe props = ExtendedEntityPropMhpe
                                  .get(player);
                                  props.award_1 = this.award_1;
                                  props.award_2 = this.award_2;
                                  props.award_3 = this.award_3;
                                  props.award_4 = this.award_4;
                                  props.award_5 = this.award_5;
                                  props.award_6 = this.award_6;
                                  props.award_7 = this.award_7;
                                  props.award_8 = this.award_8;
                                  props.award_9 = this.award_9;
                                  props.award_10 = this.award_10;
                                  props.award_11 = this.award_11;
                                  props.award_12 = this.award_12;
                                  props.award_13 = this.award_13;
                                  props.award_14 = this.award_14;
                                  props.award_15 = this.award_15;
                                  props.award_16 = this.award_16;
                                  props.award_17 = this.award_17;
                                  props.award_18 = this.award_18;
                                  props.award_19 = this.award_19;
                                  props.award_20 = this.award_20;
                                  props.award_21 = this.award_21;
                                  props.award_22 = this.award_22;
                                  props.award_23 = this.award_23;
                                  props.award_24 = this.award_24;
                                  props.award_25 = this.award_25;
                                  props.award_26 = this.award_26;
                                  props.award_27 = this.award_27;
                                  props.award_28 = this.award_28;
                                  props.award_29 = this.award_29;
                                  props.award_30 = this.award_30;
                                  props.award_31 = this.award_31;
                                  props.award_32 = this.award_32;
                                  props.award_33 = this.award_33;
                                  props.award_34 = this.award_34;
                                  props.award_35 = this.award_35;
                                  props.award_36 = this.award_36;
                                  props.award_37 = this.award_37;
                                  props.award_38 = this.award_38;
                                  props.award_39 = this.award_39;
                                  props.award_40 = this.award_40;
                                  props.award_41 = this.award_41;
                                  props.award_42 = this.award_42;
                                  props.award_43 = this.award_43;
                                  props.award_44 = this.award_44;
                                  props.award_45 = this.award_45;
                                  props.award_46 = this.award_46;
                                  props.award_47 = this.award_47;
                                  props.award_48 = this.award_48;
                                  
                                  props.title_1 = this.title_1;
                                  props.title_2 = this.title_2;
                                  props.title_3 = this.title_3;
                                  props.info_1 = this.info_1;
                                  props.info_2 = this.info_2;
                                  props.info_3 = this.info_3;
                                  }
                                  
                                  @Override
                                  public void handleServerSide(EntityPlayer player) {
                                  ExtendedEntityPropMhpe props = ExtendedEntityPropMhpe
                                  .get(player);
                                  props.award_1 = this.award_1;
                                  props.award_2 = this.award_2;
                                  props.award_3 = this.award_3;
                                  props.award_4 = this.award_4;
                                  props.award_5 = this.award_5;
                                  props.award_6 = this.award_6;
                                  props.award_7 = this.award_7;
                                  props.award_8 = this.award_8;
                                  props.award_9 = this.award_9;
                                  props.award_10 = this.award_10;
                                  props.award_11 = this.award_11;
                                  props.award_12 = this.award_12;
                                  props.award_13 = this.award_13;
                                  props.award_14 = this.award_14;
                                  props.award_15 = this.award_15;
                                  props.award_16 = this.award_16;
                                  props.award_17 = this.award_17;
                                  props.award_18 = this.award_18;
                                  props.award_19 = this.award_19;
                                  props.award_20 = this.award_20;
                                  props.award_21 = this.award_21;
                                  props.award_22 = this.award_22;
                                  props.award_23 = this.award_23;
                                  props.award_24 = this.award_24;
                                  props.award_25 = this.award_25;
                                  props.award_26 = this.award_26;
                                  props.award_27 = this.award_27;
                                  props.award_28 = this.award_28;
                                  props.award_29 = this.award_29;
                                  props.award_30 = this.award_30;
                                  props.award_31 = this.award_31;
                                  props.award_32 = this.award_32;
                                  props.award_33 = this.award_33;
                                  props.award_34 = this.award_34;
                                  props.award_35 = this.award_35;
                                  props.award_36 = this.award_36;
                                  props.award_37 = this.award_37;
                                  props.award_38 = this.award_38;
                                  props.award_39 = this.award_39;
                                  props.award_40 = this.award_40;
                                  props.award_41 = this.award_41;
                                  props.award_42 = this.award_42;
                                  props.award_43 = this.award_43;
                                  props.award_44 = this.award_44;
                                  props.award_45 = this.award_45;
                                  props.award_46 = this.award_46;
                                  props.award_47 = this.award_47;
                                  props.award_48 = this.award_48;
                                  
                                  props.title_1 = this.title_1;
                                  props.title_2 = this.title_2;
                                  props.title_3 = this.title_3;
                                  props.info_1 = this.info_1;
                                  props.info_2 = this.info_2;
                                  props.info_3 = this.info_3;
                                  }
                                  
                                  }
                                  ```</init></init></clinit></init></init></clinit></clinit></clinit></init></clinit></clinit></clinit></init></clinit></clinit></clinit></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

                                    Tu n’as pas comprit comment l’utiliser …
                                    ByteBufUtils.writeUTF8String(buffer,  str); c’est à mettre dans encodeInto puisque c’est l’écriture.
                                    et str = ByteBufUtils.readUTF8String(buffer); c’est à mettre dans decodeInto puisque c’est la lecture.
                                    Il faut pas mettre les deux dans les deux méthodes …

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

                                      Hum oui sa fonctionne mais des que je meurs ou des que je quitte le jeux c’est valeur se reset alors que mes int fonctionne très bien

                                      Edit : ah non autant pour moi les int non plus s’enregistre plus…
                                      Edit2: j’ai fais des test quand j’enleve les 6 String les int re fonctionne correctement mais sinon non…

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

                                      MINECRAFT FORGE FRANCE © 2024

                                      Powered by NodeBB