Résolu Mob qui fais crash
-
Bonsoir,
Je viens de créer un mob en suivant le tutoriel disponible, le mob apparaît bien en jeu, mais quand je veux le summon, le jeu crash.La class du mob:
package com.hybride.mod.init; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.monster.EntityMob; import net.minecraft.world.World; public class NougatMob extends EntityMob { public NougatMob(World world) { super(world); } public void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(10D); this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(1D); this.getEntityAttribute(SharedMonsterAttributes.knockbackResistance).setBaseValue(1D); this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.8D); } }
La class du render:
package com.hybride.mod.init; import com.hybride.mod.Reference; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.renderer.entity.RenderBiped; import net.minecraft.entity.EntityLiving; import net.minecraft.util.ResourceLocation; public class RenderNougatMob extends RenderBiped { public RenderNougatMob(ModelBiped model, float shadow) { super(model, shadow); } public final ResourceLocation texture = new ResourceLocation(Reference.MOD_ID, "textures/entity/nougatmob.png"); protected ResourceLocation getEntityTexture(EntityLiving living) { return this.getNougatMobTexture((NougatMob)living); }
D’où peut venir le problème ?
-
Bonsoir,
Où est le rapport de crash ?
-
Oops
[18:23:51] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ---- // Hey, that tickles! Hehehe! Time: 18/11/19 18:23 Description: Loading screen debug info This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_211, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 130715960 bytes (124 MB) / 229113856 bytes (218 MB) up to 3334995968 bytes (3180 MB) JVM Flags: 0 total; AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 441.20' Renderer: 'GeForce GTX 1050/PCIe/SSE2' [18:23:51] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [18:23:51] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized [18:23:52] [Client thread/INFO] [FML]: Replaced 183 ore recipies [18:23:52] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [18:23:52] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [18:23:52] [Client thread/INFO] [FML]: Searching C:\Users\Mickael\Documents\WORKSPACE-ECLIPSE\forge-1.7.10-10.13.4.1614-1.7.10-src\mods for mods [18:24:01] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [18:24:01] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, hybridemod] at CLIENT [18:24:01] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, hybridemod] at SERVER [18:24:02] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:HybrideMod [18:24:02] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [18:24:02] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [18:24:02] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [18:24:02] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [18:24:02] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [18:24:02] [Client thread/WARN] [FML]: **************************************** [18:24:02] [Client thread/WARN] [FML]: * The object com.hybride.mod.items.ItemFoodMod@2f0001bd has been registered twice for the same name hybridemod:orange. [18:24:02] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:405) [18:24:02] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:849) [18:24:02] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameData.registerItem(GameData.java:812) [18:24:02] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:149) [18:24:02] [Client thread/WARN] [FML]: * at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:137) [18:24:02] [Client thread/WARN] [FML]: * at com.hybride.mod.init.ItemMod.register(ItemMod.java:92)... [18:24:02] [Client thread/WARN] [FML]: **************************************** [18:24:02] [Client thread/INFO] [FML]: Applying holder lookups [18:24:02] [Client thread/INFO] [FML]: Holder lookups applied [18:24:02] [Client thread/INFO] [FML]: Injecting itemstacks [18:24:02] [Client thread/INFO] [FML]: Itemstack injection complete [18:24:02] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [18:24:02] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem... [18:24:02] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [18:24:02] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [18:24:02] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [18:24:02] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [18:24:02] [Sound Library Loader/INFO]: Sound engine started [18:24:06] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas [18:24:06] [Client thread/INFO]: Created: 16x16 textures/items-atlas [18:24:06] [Client thread/INFO] [FML]: Injecting itemstacks [18:24:06] [Client thread/INFO] [FML]: Itemstack injection complete [18:24:06] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [18:24:06] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:HybrideMod [18:24:07] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [18:24:07] [Client thread/INFO]: Created: 512x256 textures/items-atlas [18:24:07] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [18:24:07] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down... [18:24:07] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [18:24:07] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [18:24:07] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [18:24:07] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem... [18:24:07] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [18:24:07] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [18:24:07] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [18:24:08] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [18:24:08] [Sound Library Loader/INFO]: Sound engine started [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found. [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: ================================================== [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: DOMAIN hybridemod [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------------------------------- [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: domain hybridemod is missing 2 textures [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: domain hybridemod has 1 location: [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: mod hybridemod resources at C:\Users\Mickael\Documents\WORKSPACE-ECLIPSE\forge-1.7.10-10.13.4.1614-1.7.10-src\bin [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: ------------------------- [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: The missing resources for domain hybridemod are: [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/agate_bleue_ore.png [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/agate_bleue_block.png [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: ------------------------- [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: No other errors exist for domain hybridemod [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: ================================================== [18:24:08] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= [18:24:57] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [18:24:57] [Server thread/INFO]: Generating keypair [18:24:57] [Server thread/INFO]: Converting map! [18:24:57] [Server thread/INFO]: Scanning folders... [18:24:57] [Server thread/INFO]: Total conversion count is 0 [18:24:57] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [18:24:57] [Server thread/INFO] [FML]: Applying holder lookups [18:24:57] [Server thread/INFO] [FML]: Holder lookups applied [18:24:58] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@73c598f) [18:24:58] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@73c598f) [18:24:58] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@73c598f) [18:24:58] [Server thread/INFO]: Preparing start region for level 0 [18:24:59] [Server thread/INFO]: Preparing spawn area: 10% [18:25:00] [Server thread/INFO]: Preparing spawn area: 27% [18:25:01] [Server thread/INFO]: Preparing spawn area: 42% [18:25:02] [Server thread/INFO]: Preparing spawn area: 59% [18:25:03] [Server thread/INFO]: Preparing spawn area: 81% [18:25:04] [Server thread/INFO]: Changing view distance to 12, from 10 [18:25:04] [Netty Client IO #0/INFO] [FML]: Server protocol version 2 [18:25:04] [Netty IO #1/INFO] [FML]: Client protocol version 2 [18:25:04] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : FML@7.10.99.99,Forge@10.13.4.1614,mcp@9.05,hybridemod@1.0.0 [18:25:04] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT [18:25:04] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER [18:25:04] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established [18:25:04] [Server thread/INFO]: Player862[local:E:e8315c25] logged in with entity id 218 at (-18.5, 65.0, 258.5) [18:25:04] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established [18:25:04] [Server thread/INFO]: Player862 joined the game [18:25:12] [Client thread/INFO]: Warning: Clientside chunk ticking took 146 ms [18:25:12] [Client thread/INFO]: Warning: Clientside chunk ticking took 148 ms [18:25:13] [Client thread/INFO]: Warning: Clientside chunk ticking took 190 ms [18:25:13] [Client thread/INFO]: Warning: Clientside chunk ticking took 210 ms [18:25:13] [Client thread/INFO]: Warning: Clientside chunk ticking took 171 ms [18:25:13] [Client thread/INFO]: Warning: Clientside chunk ticking took 205 ms [18:25:14] [Client thread/INFO]: Warning: Clientside chunk ticking took 218 ms [18:25:14] [Client thread/INFO]: Warning: Clientside chunk ticking took 203 ms [18:25:14] [Client thread/INFO]: Warning: Clientside chunk ticking took 202 ms [18:25:14] [Client thread/INFO]: Warning: Clientside chunk ticking took 198 ms [18:25:15] [Client thread/INFO]: Warning: Clientside chunk ticking took 205 ms [18:25:15] [Client thread/INFO]: Warning: Clientside chunk ticking took 206 ms [18:25:15] [Client thread/INFO]: Warning: Clientside chunk ticking took 208 ms [18:25:15] [Client thread/INFO]: Warning: Clientside chunk ticking took 205 ms [18:25:16] [Client thread/INFO]: Warning: Clientside chunk ticking took 204 ms [18:25:16] [Client thread/INFO]: Warning: Clientside chunk ticking took 207 ms [18:25:16] [Client thread/INFO]: Warning: Clientside chunk ticking took 208 ms [18:25:16] [Client thread/INFO]: Warning: Clientside chunk ticking took 208 ms [18:25:17] [Client thread/INFO]: Warning: Clientside chunk ticking took 200 ms [18:25:17] [Client thread/INFO]: Warning: Clientside chunk ticking took 108 ms [18:25:17] [Client thread/INFO]: Warning: Clientside chunk ticking took 108 ms [18:25:17] [Client thread/INFO]: Warning: Clientside chunk ticking took 108 ms [18:25:18] [Client thread/INFO]: Warning: Clientside chunk ticking took 108 ms [18:25:18] [Client thread/INFO]: [CHAT] MinecartChest, EyeOfEnderSignal, ItemFrame, MinecartCommandBlock, Item, EntityHorse, Fireball, EnderDragon, MinecartTNT, Villager, ThrownPotion, SnowMan, LeashKnot, Arrow, MushroomCow, LavaSlime, Zombie, MinecartSpawner, EnderCrystal, Snowball, Enderman, CaveSpider, MinecartHopper, XPOrb, ThrownExpBottle, FireworksRocketEntity, Chicken, FallingSand, Giant, VillagerGolem, PrimedTnt, Creeper, ThrownEnderpearl, Silverfish, Squid, Monster, Skeleton, SmallFireball, MinecartRideable, Wolf, Witch, Mob, Ozelot, Cow, Slime, Painting, Pig, MinecartFurnace, Bat, Blaze, WitherBoss, PigZombie, Spider, Ghast, Sheep, WitherSkull, Boat, NougatMob [18:25:18] [Client thread/INFO]: Warning: Clientside chunk ticking took 290 ms [18:25:19] [Client thread/INFO]: Warning: Clientside chunk ticking took 289 ms [18:25:19] [Client thread/INFO]: Warning: Clientside chunk ticking took 294 ms [18:25:19] [Client thread/INFO]: Warning: Clientside chunk ticking took 271 ms [18:25:20] [Client thread/INFO]: Warning: Clientside chunk ticking took 271 ms [18:25:21] [Server thread/INFO]: [Player862: Object successfully summoned] [18:25:21] [Client thread/ERROR] [FML]: A severe problem occurred during the spawning of an entity at ( 0.5,69.0, 273.5) java.lang.IndexOutOfBoundsException: readerIndex(62) + length(4) exceeds writerIndex(62): SlicedByteBuf(ridx: 62, widx: 62, cap: 62/62, unwrapped: UnpooledHeapByteBuf(ridx: 1, widx: 63, cap: 63/63)) at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1160) ~[AbstractByteBuf.class:?] at io.netty.buffer.AbstractByteBuf.readInt(AbstractByteBuf.java:611) ~[AbstractByteBuf.class:?] at com.hybride.mod.init.EntityDynamite.readSpawnData(EntityDynamite.java:51) ~[EntityDynamite.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.spawnEntity(EntitySpawnHandler.java:120) [EntitySpawnHandler.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.channelRead0(EntitySpawnHandler.java:34) [EntitySpawnHandler.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.channelRead0(EntitySpawnHandler.java:28) [EntitySpawnHandler.class:?] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) [SimpleChannelInboundHandler.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.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [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.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317) [PlayerControllerMP.class:?] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1693) [Minecraft.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_211] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] [18:25:21] [Client thread/ERROR] [FML]: EntitySpawnHandler exception java.lang.IndexOutOfBoundsException: readerIndex(62) + length(4) exceeds writerIndex(62): SlicedByteBuf(ridx: 62, widx: 62, cap: 62/62, unwrapped: UnpooledHeapByteBuf(ridx: 1, widx: 63, cap: 63/63)) at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1160) ~[AbstractByteBuf.class:?] at io.netty.buffer.AbstractByteBuf.readInt(AbstractByteBuf.java:611) ~[AbstractByteBuf.class:?] at com.hybride.mod.init.EntityDynamite.readSpawnData(EntityDynamite.java:51) ~[EntityDynamite.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.spawnEntity(EntitySpawnHandler.java:120) ~[EntitySpawnHandler.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.channelRead0(EntitySpawnHandler.java:34) ~[EntitySpawnHandler.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.channelRead0(EntitySpawnHandler.java:28) ~[EntitySpawnHandler.class:?] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.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.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [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.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317) [PlayerControllerMP.class:?] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1693) [Minecraft.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_211] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] [18:25:21] [Client thread/ERROR] [FML]: OpenGuiHandler exception java.lang.IndexOutOfBoundsException: readerIndex(62) + length(4) exceeds writerIndex(62): SlicedByteBuf(ridx: 62, widx: 62, cap: 62/62, unwrapped: UnpooledHeapByteBuf(ridx: 1, widx: 63, cap: 63/63)) at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1160) ~[AbstractByteBuf.class:?] at io.netty.buffer.AbstractByteBuf.readInt(AbstractByteBuf.java:611) ~[AbstractByteBuf.class:?] at com.hybride.mod.init.EntityDynamite.readSpawnData(EntityDynamite.java:51) ~[EntityDynamite.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.spawnEntity(EntitySpawnHandler.java:120) ~[EntitySpawnHandler.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.channelRead0(EntitySpawnHandler.java:34) ~[EntitySpawnHandler.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.channelRead0(EntitySpawnHandler.java:28) ~[EntitySpawnHandler.class:?] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.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.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [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.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317) [PlayerControllerMP.class:?] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1693) [Minecraft.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_211] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] [18:25:21] [Client thread/ERROR] [FML]: HandshakeCompletionHandler exception java.lang.IndexOutOfBoundsException: readerIndex(62) + length(4) exceeds writerIndex(62): SlicedByteBuf(ridx: 62, widx: 62, cap: 62/62, unwrapped: UnpooledHeapByteBuf(ridx: 1, widx: 63, cap: 63/63)) at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1160) ~[AbstractByteBuf.class:?] at io.netty.buffer.AbstractByteBuf.readInt(AbstractByteBuf.java:611) ~[AbstractByteBuf.class:?] at com.hybride.mod.init.EntityDynamite.readSpawnData(EntityDynamite.java:51) ~[EntityDynamite.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.spawnEntity(EntitySpawnHandler.java:120) ~[EntitySpawnHandler.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.channelRead0(EntitySpawnHandler.java:34) ~[EntitySpawnHandler.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.channelRead0(EntitySpawnHandler.java:28) ~[EntitySpawnHandler.class:?] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.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.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [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.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317) [PlayerControllerMP.class:?] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1693) [Minecraft.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_211] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] [18:25:21] [Client thread/ERROR] [FML]: There was a critical exception handling a packet on channel FML java.lang.IndexOutOfBoundsException: readerIndex(62) + length(4) exceeds writerIndex(62): SlicedByteBuf(ridx: 62, widx: 62, cap: 62/62, unwrapped: UnpooledHeapByteBuf(ridx: 1, widx: 63, cap: 63/63)) at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1160) ~[AbstractByteBuf.class:?] at io.netty.buffer.AbstractByteBuf.readInt(AbstractByteBuf.java:611) ~[AbstractByteBuf.class:?] at com.hybride.mod.init.EntityDynamite.readSpawnData(EntityDynamite.java:51) ~[EntityDynamite.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.spawnEntity(EntitySpawnHandler.java:120) ~[EntitySpawnHandler.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.channelRead0(EntitySpawnHandler.java:34) ~[EntitySpawnHandler.class:?] at cpw.mods.fml.common.network.internal.EntitySpawnHandler.channelRead0(EntitySpawnHandler.java:28) ~[EntitySpawnHandler.class:?] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.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.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[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.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317) [PlayerControllerMP.class:?] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1693) [Minecraft.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1039) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_211] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] [18:25:21] [Client thread/INFO]: [CHAT] Object successfully summoned [18:25:21] [Server thread/INFO]: Player862 lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}} [18:25:21] [Server thread/INFO]: Player862 left the game [18:25:21] [Server thread/INFO]: Stopping singleplayer server as player logged out [18:25:21] [Server thread/INFO]: Stopping server [18:25:21] [Server thread/INFO]: Saving players [18:25:21] [Server thread/INFO]: Saving worlds [18:25:21] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [18:25:21] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [18:25:21] [Server thread/INFO]: Saving chunks for level 'New World'/The End [18:25:22] [Server thread/INFO] [FML]: Unloading dimension 0 [18:25:22] [Server thread/INFO] [FML]: Unloading dimension -1 [18:25:22] [Server thread/INFO] [FML]: Unloading dimension 1 [18:25:22] [Server thread/INFO] [FML]: Applying holder lookups [18:25:22] [Server thread/INFO] [FML]: Holder lookups applied
-
Vu que l’erreur vient EntityDynamite (une autre entité donc) je pense que tu as mit le même id d’entité pour les deux.
-
oui effectivement, je l’ai modifié et ça marche. Merci