Data watcher superieur a 31



  • Alors voila je suis entrain de créer un extend properties mais le probleme c'est que j'ai énormement de valeur a entré or on peux enregistrer que 31 data watcher d'après l'erreur que la console me montre :

    
    [12:05:55] [main/INFO] [GradleStart]: No arguments specified, assuming client.
    
    [12:05:55] [main/INFO] [GradleStart]: Extra: []
    [12:05:55] [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]
    [12:05:55] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
    [12:05:55] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
    [12:05:55] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
    [12:05:55] [main/INFO] [FML]: Forge Mod Loader version 7.10.84.1217 for Minecraft 1.7.10 loading
    [12:05:55] [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
    [12:05:55] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
    [12:05:55] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [12:05:55] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
    [12:05:55] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [12:05:55] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [12:05:55] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
    [12:05:55] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
    [12:05:56] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
    [12:05:56] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
    [12:05:56] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
    [12:05:57] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
    [12:05:57] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
    [12:05:57] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [12:05:57] [main/INFO]: Setting user: Player187
    [12:05:58] [Client thread/INFO]: LWJGL Version: 2.9.1
    [12:05:58] [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/:?]
    [12:05:58] [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/:?]
    [12:05:58] [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/:?]
    [12:05:59] [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/:?]
    [12:05:59] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
    [12:05:59] [Client thread/INFO] [FML]: MinecraftForge v10.13.1.1217 Initialized
    [12:05:59] [Client thread/INFO] [FML]: Replaced 182 ore recipies
    [12:05:59] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
    [12:05:59] [Client thread/INFO] [FML]: Searching D:\Desktop\Projet MonsterHunter\eclipse\mods for mods
    [12:06:00] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [12:06:01] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mhpe] at CLIENT
    [12:06:01] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, mhpe] at SERVER
    [12:06:01] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Monster Hunter Pixel Edition
    [12:06:01] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [12:06:01] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
    [12:06:01] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [12:06:01] [Client thread/INFO] [FML]: Applying holder lookups
    [12:06:01] [Client thread/INFO] [FML]: Holder lookups applied
    [12:06:01] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
    [12:06:01] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
    [12:06:01] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
    [12:06:01] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [12:06:01] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
    [12:06:01] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
    [12:06:01] [Sound Library Loader/INFO]: Sound engine started
    [12:06:02] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
    [12:06:02] [Client thread/INFO]: Created: 256x256 textures/items-atlas
    [12:06:02] [Client thread/INFO] [STDOUT]: [com.google.portuar.mhpe.client.ClientProxy:registerRender:52]: méthode côté client
    [12:06:02] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
    [12:06:02] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Monster Hunter Pixel Edition
    [12:06:02] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
    [12:06:02] [Client thread/INFO]: Created: 256x256 textures/items-atlas
    [12:06:02] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
    [12:06:02] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
    [12:06:03] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
    [12:06:03] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
    [12:06:03] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
    [12:06:03] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
    [12:06:03] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
    [12:06:03] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [12:06:03] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
    [12:06:03] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
    [12:06:03] [Sound Library Loader/INFO]: Sound engine started
    [12:06:05] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
    [12:06:05] [Server thread/INFO]: Generating keypair
    [12:06:05] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
    [12:06:05] [Server thread/INFO] [FML]: Applying holder lookups
    [12:06:05] [Server thread/INFO] [FML]: Holder lookups applied
    [12:06:05] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@64f9a8fe)
    [12:06:05] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@64f9a8fe)
    [12:06:05] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@64f9a8fe)
    [12:06:05] [Server thread/INFO]: Preparing start region for level 0
    [12:06:07] [Server thread/INFO]: Changing view distance to 12, from 10
    [12:06:07] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityEvent$EntityConstructing@a80ce4c:
    java.lang.IllegalArgumentException: Data value id is too big with 48! (Max is 31)
    at net.minecraft.entity.DataWatcher.addObject(DataWatcher.java:52) ~[DataWatcher.class:?]
    at com.google.portuar.mhpe.common.entity.ExtendedEntityPropMhpe.<init>(ExtendedEntityPropMhpe.java:84) ~[ExtendedEntityPropMhpe.class:?]
    at com.google.portuar.mhpe.common.entity.ExtendedEntityPropMhpe.register(ExtendedEntityPropMhpe.java:137) ~[ExtendedEntityPropMhpe.class:?]
    at com.google.portuar.mhpe.event.EventAward.onEntityConstructing(EventAward.java:21) ~[EventAward.class:?]
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventAward_onEntityConstructing_EntityConstructing.invoke(.dynamic) ~[?:?]
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:139) [EventBus.class:?]
    at net.minecraft.entity.Entity.<init>(Entity.java:224) [Entity.class:?]
    at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) [EntityLivingBase.class:?]
    at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) [EntityPlayer.class:?]
    at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) [EntityPlayerMP.class:?]
    at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:430) [ServerConfigurationManager.class:?]
    at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) [NetHandlerLoginServer.class:?]
    at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) [NetHandlerLoginServer.class:?]
    at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) [NetworkManager.class:?]
    at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) [MinecraftServer.class:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) [IntegratedServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
    [12:06:07] [Server thread/ERROR] [FML]: Index: 1 Listeners:
    [12:06:07] [Server thread/ERROR] [FML]: 0: NORMAL
    [12:06:07] [Server thread/ERROR] [FML]: 1: ASM: com.google.portuar.mhpe.event.EventAward@344eaf7e onEntityConstructing(Lnet/minecraftforge/event/entity/EntityEvent$EntityConstructing;)V
    [12:06:07] [Server thread/ERROR]: Encountered an unexpected exception
    net.minecraft.util.ReportedException: Ticking memory connection
    at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:198) ~[NetworkSystem.class:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) ~[MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[IntegratedServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
    Caused by: java.lang.IllegalArgumentException: Data value id is too big with 48! (Max is 31)
    at net.minecraft.entity.DataWatcher.addObject(DataWatcher.java:52) ~[DataWatcher.class:?]
    at com.google.portuar.mhpe.common.entity.ExtendedEntityPropMhpe.<init>(ExtendedEntityPropMhpe.java:84) ~[ExtendedEntityPropMhpe.class:?]
    at com.google.portuar.mhpe.common.entity.ExtendedEntityPropMhpe.register(ExtendedEntityPropMhpe.java:137) ~[ExtendedEntityPropMhpe.class:?]
    at com.google.portuar.mhpe.event.EventAward.onEntityConstructing(EventAward.java:21) ~[EventAward.class:?]
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventAward_onEntityConstructing_EntityConstructing.invoke(.dynamic) ~[?:?]
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?]
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:139) ~[EventBus.class:?]
    at net.minecraft.entity.Entity.<init>(Entity.java:224) ~[Entity.class:?]
    at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) ~[EntityLivingBase.class:?]
    at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) ~[EntityPlayer.class:?]
    at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) ~[EntityPlayerMP.class:?]
    at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:430) ~[ServerConfigurationManager.class:?]
    at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) ~[NetHandlerLoginServer.class:?]
    at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) ~[NetHandlerLoginServer.class:?]
    at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) ~[NetworkManager.class:?]
    at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?]
    … 5 more
    [12:06:07] [Server thread/ERROR]: This crash report has been saved to: D:\Desktop\Projet MonsterHunter\eclipse\.\crash-reports\crash-2014-09-27_12.06.07-server.txt
    [12:06:07] [Server thread/INFO]: Stopping server
    [12:06:07] [Server thread/INFO]: Saving players
    [12:06:07] [Server thread/INFO]: Saving worlds
    [12:06:07] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
    [12:06:07] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
    // Why is it breaking :(
    
    Time: 27/09/14 12:06
    Description: Ticking memory connection
    
    java.lang.IllegalArgumentException: Data value id is too big with 48! (Max is 31)
    at net.minecraft.entity.DataWatcher.addObject(DataWatcher.java:52)
    at com.google.portuar.mhpe.common.entity.ExtendedEntityPropMhpe.<init>(ExtendedEntityPropMhpe.java:84)
    at com.google.portuar.mhpe.common.entity.ExtendedEntityPropMhpe.register(ExtendedEntityPropMhpe.java:137)
    at com.google.portuar.mhpe.event.EventAward.onEntityConstructing(EventAward.java:21)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventAward_onEntityConstructing_EntityConstructing.invoke(.dynamic)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:139)
    at net.minecraft.entity.Entity.<init>(Entity.java:224)
    at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155)
    at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165)
    at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158)
    at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:430)
    at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105)
    at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64)
    at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244)
    at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Stacktrace:
    at net.minecraft.entity.DataWatcher.addObject(DataWatcher.java:52)
    at com.google.portuar.mhpe.common.entity.ExtendedEntityPropMhpe.<init>(ExtendedEntityPropMhpe.java:84)
    at com.google.portuar.mhpe.common.entity.ExtendedEntityPropMhpe.register(ExtendedEntityPropMhpe.java:137)
    at com.google.portuar.mhpe.event.EventAward.onEntityConstructing(EventAward.java:21)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventAward_onEntityConstructing_EntityConstructing.invoke(.dynamic)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:139)
    at net.minecraft.entity.Entity.<init>(Entity.java:224)
    at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155)
    at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165)
    at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158)
    at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:430)
    at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105)
    at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64)
    at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244)
    
    -- Ticking connection --
    Details:
    Connection: net.minecraft.network.NetworkManager@6434ebbc
    Stacktrace:
    at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)
    
    -- System Details --
    Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.8.0, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 790183184 bytes (753 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
    FML: MCP v9.05 FML v7.10.84.1217 Minecraft Forge 10.13.1.1217 4 mods loaded, 4 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    FML{7.10.84.1217} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.1.1217.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Forge{10.13.1.1217} [Minecraft Forge] (forgeSrc-1.7.10-10.13.1.1217.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    mhpe{0.0.1} [Monster Hunter Pixel Edition] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Player Count: 0 / 8; []
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    [12:06:07] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2014-09-27_12.06.07-server.txt
    [12:06:07] [Client thread/INFO] [FML]: Waiting for the server to terminate/save.
    [12:06:07] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
    [12:06:07] [Server thread/INFO]: Saving chunks for level 'New World'/The End
    [12:06:07] [Server thread/INFO] [FML]: Unloading dimension 0
    [12:06:07] [Server thread/INFO] [FML]: Unloading dimension -1
    [12:06:07] [Server thread/INFO] [FML]: Unloading dimension 1
    [12:06:07] [Server thread/INFO] [FML]: Applying holder lookups
    [12:06:07] [Server thread/INFO] [FML]: Holder lookups applied
    [12:06:07] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
    [12:06:07] [Client thread/INFO] [FML]: Server terminated.
    AL lib: (EE) alc_cleanup: 1 device not closed
    Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
    
    ```</init></init></init></init></init></init></init></init></init></init></init></init></init></init></init></init></init></init></init></init></clinit></init></init></clinit></clinit></clinit></init></clinit></clinit></clinit></init></clinit></clinit></clinit></init>

  • Administrateurs

    31 est le maximum. Tu ne peux pas en mettre plus, passe par des paquets si tu as besoin de synchroniser plus de variable.



  • Ok je vois tu pourrais me dire si il ya un tuto ?



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



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



  • 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 !



  • 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)



  • ok sa va resté long…



  • 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;



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



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


  • Administrateurs

    Tu enregistre bien le tag nbt ? Tu modifies bien les valeurs côté serveur ?



  • 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.



  • 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 ?


  • Administrateurs

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



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


  • Administrateurs

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



  • 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>

  • Administrateurs

    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 ...



  • 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..