13 mars 2014, 16:18

Bonjour, suite à la création d’une entité toute simple, j’ai une erreur lors de son spawn en jeu :

2014-03-13 17:17:23 [Infos] [STDOUT] Setting up custom skins
2014-03-13 17:17:28 [Infos] [STDERR] java.lang.reflect.InvocationTargetException
2014-03-13 17:17:28 [Infos] [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2014-03-13 17:17:28 [Infos] [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
2014-03-13 17:17:28 [Infos] [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
2014-03-13 17:17:28 [Infos] [STDERR] at java.lang.reflect.Constructor.newInstance(Unknown Source)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:205)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:175)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:81)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:153)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:434)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:556)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2014-03-13 17:17:28 [Infos] [STDERR] Caused by: java.lang.NullPointerException
2014-03-13 17:17:28 [Infos] [STDERR] at fr.riddick.common.EntityDroneBase.applyEntityAttributes(EntityDroneBase.java:29)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:193)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:85)
2014-03-13 17:17:28 [Infos] [STDERR] at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:40)
2014-03-13 17:17:28 [Infos] [STDERR] at fr.riddick.common.EntityDroneBase.<init>(EntityDroneBase.java:24)
2014-03-13 17:17:28 [Infos] [STDERR] … 20 more

Je mets aussi un screen d’un problème survenu dans l’entity : http://puu.sh/7tPTy.png

Ça fait longtemps que je n’ai pas moddé, je m’excuse d’avance si l’erreur est stupide :s

Coordialement, RiDDicK</init></init></init></init>