<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Crash ingame]]></title><description><![CDATA[<p dir="auto">Bonjour,j’ai modé du rhum et lors du test ig dés que le rhum est bue crash instant du client et quand on reviens l’effect du rhum est présent</p>
<p dir="auto">Merci d’avance</p>
<p dir="auto">Rapport de crash:</p>
<pre><code>
2014-01-03 01:21:34 [Infos] [STDERR] net.minecraft.util.ReportedException: Ticking player
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2014-01-03 01:21:34 [Infos] [STDERR] Caused by: java.lang.NullPointerException
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.item.ItemStack.&lt;init&gt;(ItemStack.java:77)
2014-01-03 01:21:34 [Infos] [STDERR] at opu.common.Rhum.onEaten(Rhum.java:26)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.item.ItemStack.onFoodEaten(ItemStack.java:182)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.entity.player.EntityPlayer.onItemUseFinish(EntityPlayer.java:468)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.entity.player.EntityPlayerMP.onItemUseFinish(EntityPlayerMP.java:907)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:297)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:328)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.network.NetServerHandler.handleFlying(NetServerHandler.java:304)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.network.packet.Packet10Flying.processPacket(Packet10Flying.java:51)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2014-01-03 01:21:34 [Infos] [STDERR] at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2014-01-03 01:21:34 [Infos] [STDERR] … 6 more
2014-01-03 01:21:34 [Grave] [Minecraft-Server] Encountered an unexpected exception ReportedException
net.minecraft.util.ReportedException: Ticking player
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:63)
at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NullPointerException
at net.minecraft.item.ItemStack.&lt;init&gt;(ItemStack.java:77)
at opu.common.Rhum.onEaten(Rhum.java:26)
at net.minecraft.item.ItemStack.onFoodEaten(ItemStack.java:182)
at net.minecraft.entity.player.EntityPlayer.onItemUseFinish(EntityPlayer.java:468)
at net.minecraft.entity.player.EntityPlayerMP.onItemUseFinish(EntityPlayerMP.java:907)
at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:297)
at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:328)
at net.minecraft.network.NetServerHandler.handleFlying(NetServerHandler.java:304)
at net.minecraft.network.packet.Packet10Flying.processPacket(Packet10Flying.java:51)
at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
… 6 more
2014-01-03 01:21:34 [Grave] [Minecraft-Server] This crash report has been saved to: C:\Users\Utilisateur\Pictures\Modding forge\forge\mcp\jars\.\crash-reports\crash-2014-01-03_01.21.34-server.txt
2014-01-03 01:21:34 [Infos] [Minecraft-Server] Stopping server
2014-01-03 01:21:34 [Infos] [Minecraft-Server] Saving players
2014-01-03 01:21:34 [Infos] [STDOUT] –-- Minecraft Crash Report ----
2014-01-03 01:21:34 [Infos] [STDOUT] // I just don't know what went wrong :(
2014-01-03 01:21:34 [Infos] [STDOUT]
2014-01-03 01:21:34 [Infos] [STDOUT] Time: 03/01/14 01:21
2014-01-03 01:21:34 [Infos] [STDOUT] Description: Ticking player
2014-01-03 01:21:34 [Infos] [STDOUT]
2014-01-03 01:21:34 [Infos] [STDOUT] java.lang.NullPointerException
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.item.ItemStack.&lt;init&gt;(ItemStack.java:77)
2014-01-03 01:21:34 [Infos] [STDOUT] at opu.common.Rhum.onEaten(Rhum.java:26)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.item.ItemStack.onFoodEaten(ItemStack.java:182)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.entity.player.EntityPlayer.onItemUseFinish(EntityPlayer.java:468)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.entity.player.EntityPlayerMP.onItemUseFinish(EntityPlayerMP.java:907)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:297)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:328)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.network.NetServerHandler.handleFlying(NetServerHandler.java:304)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.network.packet.Packet10Flying.processPacket(Packet10Flying.java:51)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2014-01-03 01:21:34 [Infos] [STDOUT]
2014-01-03 01:21:34 [Infos] [STDOUT]
2014-01-03 01:21:34 [Infos] [STDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2014-01-03 01:21:34 [Infos] [STDOUT] –-------------------------------------------------------------------------------------
2014-01-03 01:21:34 [Infos] [STDOUT]
2014-01-03 01:21:34 [Infos] [STDOUT] – Head --
2014-01-03 01:21:34 [Infos] [STDOUT] Stacktrace:
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.item.ItemStack.&lt;init&gt;(ItemStack.java:77)
2014-01-03 01:21:34 [Infos] [STDOUT] at opu.common.Rhum.onEaten(Rhum.java:26)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.item.ItemStack.onFoodEaten(ItemStack.java:182)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.entity.player.EntityPlayer.onItemUseFinish(EntityPlayer.java:468)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.entity.player.EntityPlayerMP.onItemUseFinish(EntityPlayerMP.java:907)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:297)
2014-01-03 01:21:34 [Infos] [STDOUT]
2014-01-03 01:21:34 [Infos] [STDOUT] – Player being ticked --
2014-01-03 01:21:34 [Infos] [STDOUT] Details:
2014-01-03 01:21:34 [Infos] [STDOUT] Entity Type: null (net.minecraft.entity.player.EntityPlayerMP)
2014-01-03 01:21:34 [Infos] [STDOUT] Entity ID: 85
2014-01-03 01:21:34 [Infos] [STDOUT] Entity Name: Player874
2014-01-03 01:21:34 [Infos] [STDOUT] Entity's Exact location: 160,64, 73,00, -182,03
2014-01-03 01:21:34 [Infos] [STDOUT] Entity's Block location: World: (160,73,-183), Chunk: (at 0,4,9 in 10,-12; contains blocks 160,0,-192 to 175,255,-177), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
2014-01-03 01:21:34 [Infos] [STDOUT] Entity's Momentum: 0,00, -0,08, 0,00
2014-01-03 01:21:34 [Infos] [STDOUT] Stacktrace:
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:328)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.network.NetServerHandler.handleFlying(NetServerHandler.java:304)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.network.packet.Packet10Flying.processPacket(Packet10Flying.java:51)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141)
2014-01-03 01:21:34 [Infos] [STDOUT]
2014-01-03 01:21:34 [Infos] [STDOUT] – Ticking connection --
2014-01-03 01:21:34 [Infos] [STDOUT] Details:
2014-01-03 01:21:34 [Infos] [STDOUT] Connection: net.minecraft.network.NetServerHandler@54146f02
2014-01-03 01:21:34 [Infos] [STDOUT] Stacktrace:
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
2014-01-03 01:21:34 [Infos] [STDOUT] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)

```&lt;/init&gt;&lt;/init&gt;&lt;/init&gt;&lt;/init&gt;</code></pre>
]]></description><link>https://www.minecraftforgefrance.fr/topic/354/crash-ingame</link><generator>RSS for Node</generator><lastBuildDate>Tue, 15 Sep 2026 18:15:57 GMT</lastBuildDate><atom:link href="https://www.minecraftforgefrance.fr/topic/354.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Jan 2014 00:29:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Crash ingame on Sat, 04 Jan 2014 11:39:41 GMT]]></title><description><![CDATA[<p dir="auto">En effet, ton RhumVide est null, il y a un problème de déclaration.<br />
(d’ailleurs faut que je vérifie les numérotations du code java car apparemment il est décalé, le npe indique la ligne 34 or sur la 34 il y a new ItemStack, il ne peut pas avoir un npe sur l’initialisation de quelque chose x), donc c’est forcement un petit décalage et le problème vient du RhumVide)</p>
<p dir="auto">À propos, quand vous avez un NullPointerException, faite comme j’ai dit, découpez le code en plusieurs lignes pour bien séparer les différents objets, et ensuite quand ça crash, cliquez simplement sur NomDeLaClasse:ligne, ça va vous ramenez directement sur la ligne qui cause problème, et comme vous aurez séparé tous les objets/fonctions avec une nouvelle ligne, vous trouverez directement quel objet est null.</p>
]]></description><link>https://www.minecraftforgefrance.fr/post/8614</link><guid isPermaLink="true">https://www.minecraftforgefrance.fr/post/8614</guid><dc:creator><![CDATA[robin4002]]></dc:creator><pubDate>Sat, 04 Jan 2014 11:39:41 GMT</pubDate></item><item><title><![CDATA[Reply to Crash ingame on Sat, 04 Jan 2014 06:41:31 GMT]]></title><description><![CDATA[<p dir="auto">Est ce que ta classe principale (où il y a les déclarations) se nomme Rhumvide ? Parce que ça ```java<br />
player.<br />
inventory.<br />
addItemStackToInventory(<br />
new ItemStack(<br />
Rhumvide.Rhumvide, 1));</p>
<pre><code>devrait être ```java
player.
inventory.
addItemStackToInventory(
new ItemStack(
TaClassePrincipaleDesDéclarations.Rhumvide, 1));
</code></pre>
]]></description><link>https://www.minecraftforgefrance.fr/post/8610</link><guid isPermaLink="true">https://www.minecraftforgefrance.fr/post/8610</guid><dc:creator><![CDATA[Überfap]]></dc:creator><pubDate>Sat, 04 Jan 2014 06:41:31 GMT</pubDate></item><item><title><![CDATA[Reply to Crash ingame on Sat, 04 Jan 2014 02:27:00 GMT]]></title><description><![CDATA[<pre><code>
2014-01-04 03:24:51 [Infos] [ForgeModLoader] The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
2014-01-04 03:24:52 [Infos] [STDERR] net.minecraft.util.ReportedException: Exception in world tick
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1946)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:838)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.client.main.Main.main(Main.java:93)
2014-01-04 03:24:52 [Infos] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-01-04 03:24:52 [Infos] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-01-04 03:24:52 [Infos] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-01-04 03:24:52 [Infos] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2014-01-04 03:24:52 [Infos] [STDERR] Caused by: java.lang.NullPointerException
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.item.ItemStack.&lt;init&gt;(ItemStack.java:67)
2014-01-04 03:24:52 [Infos] [STDERR] at opu.common.Rhum.onEaten(Rhum.java:34)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.item.ItemStack.onFoodEaten(ItemStack.java:182)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.entity.player.EntityPlayer.onItemUseFinish(EntityPlayer.java:468)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.entity.player.EntityPlayer.handleHealthUpdate(EntityPlayer.java:489)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.client.multiplayer.NetClientHandler.handleEntityStatus(NetClientHandler.java:1061)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.network.packet.Packet38EntityStatus.processPacket(Packet38EntityStatus.java:45)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.client.multiplayer.WorldClient.tick(WorldClient.java:99)
2014-01-04 03:24:52 [Infos] [STDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1930)
2014-01-04 03:24:52 [Infos] [STDERR] … 9 more
2014-01-04 03:24:52 [Infos] [STDOUT] –-- Minecraft Crash Report ----
2014-01-04 03:24:52 [Infos] [STDOUT] // This doesn't make any sense!
2014-01-04 03:24:52 [Infos] [STDOUT]
2014-01-04 03:24:52 [Infos] [STDOUT] Time: 04/01/14 03:24
2014-01-04 03:24:52 [Infos] [STDOUT] Description: Exception in world tick
2014-01-04 03:24:52 [Infos] [STDOUT]
2014-01-04 03:24:52 [Infos] [STDOUT] java.lang.NullPointerException
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.item.ItemStack.&lt;init&gt;(ItemStack.java:67)
2014-01-04 03:24:52 [Infos] [STDOUT] at opu.common.Rhum.onEaten(Rhum.java:34)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.item.ItemStack.onFoodEaten(ItemStack.java:182)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.entity.player.EntityPlayer.onItemUseFinish(EntityPlayer.java:468)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.entity.player.EntityPlayer.handleHealthUpdate(EntityPlayer.java:489)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.handleEntityStatus(NetClientHandler.java:1061)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.network.packet.Packet38EntityStatus.processPacket(Packet38EntityStatus.java:45)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.multiplayer.WorldClient.tick(WorldClient.java:99)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1930)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93)
2014-01-04 03:24:52 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-01-04 03:24:52 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-01-04 03:24:52 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-01-04 03:24:52 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2014-01-04 03:24:52 [Infos] [STDOUT]
2014-01-04 03:24:52 [Infos] [STDOUT]
2014-01-04 03:24:52 [Infos] [STDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2014-01-04 03:24:52 [Infos] [STDOUT] –-------------------------------------------------------------------------------------
2014-01-04 03:24:52 [Infos] [STDOUT]
2014-01-04 03:24:52 [Infos] [STDOUT] – Head --
2014-01-04 03:24:52 [Infos] [STDOUT] Stacktrace:
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.item.ItemStack.&lt;init&gt;(ItemStack.java:67)
2014-01-04 03:24:52 [Infos] [STDOUT] at opu.common.Rhum.onEaten(Rhum.java:34)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.item.ItemStack.onFoodEaten(ItemStack.java:182)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.entity.player.EntityPlayer.onItemUseFinish(EntityPlayer.java:468)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.entity.player.EntityPlayer.handleHealthUpdate(EntityPlayer.java:489)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.handleEntityStatus(NetClientHandler.java:1061)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.network.packet.Packet38EntityStatus.processPacket(Packet38EntityStatus.java:45)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281)
2014-01-04 03:24:52 [Infos] [STDOUT]
2014-01-04 03:24:52 [Infos] [STDOUT] – Affected level --
2014-01-04 03:24:52 [Infos] [STDOUT] Details:
2014-01-04 03:24:52 [Infos] [STDOUT] Level name: MpServer
2014-01-04 03:24:52 [Infos] [STDOUT] All players: 1 total; [EntityClientPlayerMP['Player808'/85, l='MpServer', x=141,70, y=79,62, z=-131,06]]
2014-01-04 03:24:52 [Infos] [STDOUT] Chunk stats: MultiplayerChunkCache: 440
2014-01-04 03:24:52 [Infos] [STDOUT] Level seed: 0
2014-01-04 03:24:52 [Infos] [STDOUT] Level generator: ID 00 - default, ver 1\. Features enabled: false
2014-01-04 03:24:52 [Infos] [STDOUT] Level generator options:
2014-01-04 03:24:52 [Infos] [STDOUT] Level spawn location: World: (-242,64,-70), Chunk: (at 14,4,10 in -16,-5; contains blocks -256,0,-80 to -241,255,-65), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
2014-01-04 03:24:52 [Infos] [STDOUT] Level time: 102413 game time, 14165 day time
2014-01-04 03:24:52 [Infos] [STDOUT] Level dimension: 0
2014-01-04 03:24:52 [Infos] [STDOUT] Level storage version: 0x00000 - Unknown?
2014-01-04 03:24:52 [Infos] [STDOUT] Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
2014-01-04 03:24:52 [Infos] [STDOUT] Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
2014-01-04 03:24:52 [Infos] [STDOUT] Forced entities: 66 total; [EntityEnderman['Enderman'/136, l='MpServer', x=78,50, y=69,00, z=-79,00], EntityCow['Cow'/282, l='MpServer', x=210,50, y=84,00, z=-171,50], EntityCreeper['Creeper'/131, l='MpServer', x=78,50, y=46,00, z=-169,50], EntityCow['Cow'/281, l='MpServer', x=211,50, y=84,00, z=-195,50], EntityCow['Cow'/280, l='MpServer', x=215,38, y=78,00, z=-194,59], EntityBat['Bat'/287, l='MpServer', x=210,47, y=40,10, z=-77,41], EntityCow['Cow'/133, l='MpServer', x=76,39, y=65,00, z=-128,50], EntityBat['Bat'/286, l='MpServer', x=214,75, y=38,10, z=-79,31], EntityCow['Cow'/132, l='MpServer', x=66,53, y=68,00, z=-159,31], EntityCow['Cow'/285, l='MpServer', x=218,78, y=66,00, z=-87,69], EntityPig['Pig'/135, l='MpServer', x=64,06, y=68,00, z=-104,06], EntityCow['Cow'/284, l='MpServer', x=217,53, y=67,00, z=-101,53], EntityCow['Cow'/134, l='MpServer', x=64,38, y=65,00, z=-133,75], EntityBat['Bat'/266, l='MpServer', x=207,75, y=41,10, z=-70,25], EntityBat['Bat'/267, l='MpServer', x=204,25, y=40,10, z=-62,25], EntityPig['Pig'/145, l='MpServer', x=86,97, y=66,00, z=-132,88], EntityCow['Cow'/264, l='MpServer', x=203,59, y=63,00, z=-129,09], EntityCow['Cow'/146, l='MpServer', x=93,53, y=67,00, z=-119,63], EntityZombie['Zombie'/265, l='MpServer', x=205,25, y=19,00, z=-80,28], EntityCow['Cow'/147, l='MpServer', x=86,07, y=66,00, z=-107,25], EntityZombie['Zombie'/148, l='MpServer', x=75,75, y=68,00, z=-64,50], EntitySpider['Spider'/163, l='MpServer', x=108,27, y=68,00, z=-75,05], EntityCreeper['Creeper'/162, l='MpServer', x=106,91, y=68,00, z=-77,75], EntityCow['Cow'/166, l='MpServer', x=103,73, y=68,00, z=-62,96], EntitySkeleton['Skeleton'/165, l='MpServer', x=109,50, y=53,00, z=-55,50], EntityZombie['Zombie'/164, l='MpServer', x=96,31, y=68,00, z=-69,28], EntityCow['Cow'/288, l='MpServer', x=212,44, y=66,00, z=-76,19], EntitySkeleton['Skeleton'/289, l='MpServer', x=220,75, y=46,00, z=-61,34], EntityCow['Cow'/187, l='MpServer', x=117,46, y=64,00, z=-202,38], EntityZombie['Zombie'/290, l='MpServer', x=211,31, y=33,00, z=-56,66], EntitySkeleton['Skeleton'/291, l='MpServer', x=214,50, y=47,00, z=-55,09], EntityCow['Cow'/292, l='MpServer', x=216,50, y=64,00, z=-59,53], EntityCow['Cow'/293, l='MpServer', x=216,47, y=65,00, z=-58,47], EntityCow['Cow'/188, l='MpServer', x=121,94, y=63,00, z=-177,94], EntityCow['Cow'/189, l='MpServer', x=122,88, y=69,00, z=-53,19], EntityCow['Cow'/205, l='MpServer', x=136,52, y=75,00, z=-103,78], EntityCow['Cow'/204, l='MpServer', x=140,53, y=65,00, z=-191,66], EntityBat['Bat'/207, l='MpServer', x=137,68, y=35,00, z=-71,31], EntityBat['Bat'/206, l='MpServer', x=142,03, y=38,10, z=-75,97], EntityCow['Cow'/220, l='MpServer', x=147,06, y=72,00, z=-191,91], EntityCow['Cow'/221, l='MpServer', x=153,09, y=63,00, z=-175,97], EntitySkeleton['Skeleton'/222, l='MpServer', x=149,97, y=77,00, z=-115,44], EntityClientPlayerMP['Player808'/85, l='MpServer', x=141,70, y=79,62, z=-131,06], EntityBat['Bat'/223, l='MpServer', x=144,36, y=34,72, z=-78,48], EntityCow['Cow'/219, l='MpServer', x=147,53, y=70,00, z=-208,88], EntityBat['Bat'/208, l='MpServer', x=129,75, y=35,05, z=-69,72], EntityCow['Cow'/209, l='MpServer', x=133,38, y=67,00, z=-77,53], EntityCow['Cow'/210, l='MpServer', x=128,31, y=66,00, z=-64,50], EntityCow['Cow'/211, l='MpServer', x=129,25, y=67,00, z=-75,41], EntityCow['Cow'/239, l='MpServer', x=164,81, y=64,00, z=-162,94], EntityCow['Cow'/228, l='MpServer', x=154,43, y=69,00, z=-65,29], EntityCow['Cow'/227, l='MpServer', x=159,25, y=69,00, z=-66,97], EntityCow['Cow'/226, l='MpServer', x=147,56, y=69,00, z=-68,53], EntityCow['Cow'/225, l='MpServer', x=158,03, y=69,00, z=-66,78], EntityCreeper['Creeper'/224, l='MpServer', x=153,50, y=72,00, z=-94,50], EntityCow['Cow'/254, l='MpServer', x=183,88, y=72,00, z=-88,97], EntityCow['Cow'/255, l='MpServer', x=177,53, y=68,00, z=-65,50], EntityBat['Bat'/252, l='MpServer', x=174,46, y=37,23, z=-116,50], EntityCow['Cow'/253, l='MpServer', x=187,88, y=69,00, z=-120,13], EntityZombie['Zombie'/250, l='MpServer', x=188,00, y=72,00, z=-205,31], EntityZombie['Zombie'/251, l='MpServer', x=185,15, y=16,08, z=-144,44], EntityCow['Cow'/244, l='MpServer', x=172,50, y=67,00, z=-53,97], EntityCow['Cow'/242, l='MpServer', x=167,09, y=71,00, z=-75,03], EntityCow['Cow'/243, l='MpServer', x=162,59, y=68,00, z=-65,53], EntitySkeleton['Skeleton'/240, l='MpServer', x=166,50, y=38,00, z=-89,50], EntityCow['Cow'/241, l='MpServer', x=169,94, y=70,00, z=-73,97]]
2014-01-04 03:24:52 [Infos] [STDOUT] Retry entities: 0 total; []
2014-01-04 03:24:52 [Infos] [STDOUT] Server brand: fml,forge
2014-01-04 03:24:52 [Infos] [STDOUT] Server type: Integrated singleplayer server
2014-01-04 03:24:52 [Infos] [STDOUT] Stacktrace:
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1943)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93)
2014-01-04 03:24:52 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-01-04 03:24:52 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-01-04 03:24:52 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-01-04 03:24:52 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2014-01-04 03:24:52 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2014-01-04 03:24:52 [Infos] [STDOUT]
2014-01-04 03:24:52 [Infos] [STDOUT] – Affected level --
2014-01-04 03:24:52 [Infos] [STDOUT] Details:
2014-01-04 03:24:52 [Infos] [STDOUT] Level name: MpServer
2014-01-04 03:24:52 [Infos] [STDOUT] All players: 1 total; [EntityClientPlayerMP['Player808'/85, l='MpServer', x=141,70, y=79,62, z=-131,06]]
2014-01-04 03:24:52 [Infos] [STDOUT] Chunk stats: MultiplayerChunkCache: 440
2014-01-04 03:24:52 [Infos] [STDOUT] Level seed: 0
2014-01-04 03:24:52 [Infos] [STDOUT] Level generator: ID 00 - default, ver 1\. Features enabled: false
2014-01-04 03:24:52 [Infos] [STDOUT] Level generator options:
2014-01-04 03:24:52 [Infos] [STDOUT] Level spawn location: World: (-242,64,-70), Chunk: (at 14,4,10 in -16,-5; contains blocks -256,0,-80 to -241,255,-65), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
2014-01-04 03:24:52 [Infos] [STDOUT] Level time: 102413 game time, 14165 day time
2014-01-04 03:24:52 [Infos] [STDOUT] Level dimension: 0
2014-01-04 03:24:52 [Infos] [STDOUT] Level storage version: 0x00000 - Unknown?
2014-01-04 03:24:52 [Infos] [STDOUT] Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
2014-01-04 03:24:52 [Infos] [STDOUT] Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
2014-01-04 03:24:52 [Infos] [STDOUT] Forced entities: 66 total; [EntityEnderman['Enderman'/136, l='MpServer', x=78,50, y=69,00, z=-79,00], EntityCow['Cow'/282, l='MpServer', x=210,50, y=84,00, z=-171,50], EntityCreeper['Creeper'/131, l='MpServer', x=78,50, y=46,00, z=-169,50], EntityCow['Cow'/281, l='MpServer', x=211,50, y=84,00, z=-195,50], EntityCow['Cow'/280, l='MpServer', x=215,38, y=78,00, z=-194,59], EntityBat['Bat'/287, l='MpServer', x=210,47, y=40,10, z=-77,41], EntityCow['Cow'/133, l='MpServer', x=76,39, y=65,00, z=-128,50], EntityBat['Bat'/286, l='MpServer', x=214,75, y=38,10, z=-79,31], EntityCow['Cow'/132, l='MpServer', x=66,53, y=68,00, z=-159,31], EntityCow['Cow'/285, l='MpServer', x=218,78, y=66,00, z=-87,69], EntityPig['Pig'/135, l='MpServer', x=64,06, y=68,00, z=-104,06], EntityCow['Cow'/284, l='MpServer', x=217,53, y=67,00, z=-101,53], EntityCow['Cow'/134, l='MpServer', x=64,38, y=65,00, z=-133,75], EntityBat['Bat'/266, l='MpServer', x=207,75, y=41,10, z=-70,25], EntityBat['Bat'/267, l='MpServer', x=204,25, y=40,10, z=-62,25], EntityPig['Pig'/145, l='MpServer', x=86,97, y=66,00, z=-132,88], EntityCow['Cow'/264, l='MpServer', x=203,59, y=63,00, z=-129,09], EntityCow['Cow'/146, l='MpServer', x=93,53, y=67,00, z=-119,63], EntityZombie['Zombie'/265, l='MpServer', x=205,25, y=19,00, z=-80,28], EntityCow['Cow'/147, l='MpServer', x=86,07, y=66,00, z=-107,25], EntityZombie['Zombie'/148, l='MpServer', x=75,75, y=68,00, z=-64,50], EntitySpider['Spider'/163, l='MpServer', x=108,27, y=68,00, z=-75,05], EntityCreeper['Creeper'/162, l='MpServer', x=106,91, y=68,00, z=-77,75], EntityCow['Cow'/166, l='MpServer', x=103,73, y=68,00, z=-62,96], EntitySkeleton['Skeleton'/165, l='MpServer', x=109,50, y=53,00, z=-55,50], EntityZombie['Zombie'/164, l='MpServer', x=96,31, y=68,00, z=-69,28], EntityCow['Cow'/288, l='MpServer', x=212,44, y=66,00, z=-76,19], EntitySkeleton['Skeleton'/289, l='MpServer', x=220,75, y=46,00, z=-61,34], EntityCow['Cow'/187, l='MpServer', x=117,46, y=64,00, z=-202,38], EntityZombie['Zombie'/290, l='MpServer', x=211,31, y=33,00, z=-56,66], EntitySkeleton['Skeleton'/291, l='MpServer', x=214,50, y=47,00, z=-55,09], EntityCow['Cow'/292, l='MpServer', x=216,50, y=64,00, z=-59,53], EntityCow['Cow'/293, l='MpServer', x=216,47, y=65,00, z=-58,47], EntityCow['Cow'/188, l='MpServer', x=121,94, y=63,00, z=-177,94], EntityCow['Cow'/189, l='MpServer', x=122,88, y=69,00, z=-53,19], EntityCow['Cow'/205, l='MpServer', x=136,52, y=75,00, z=-103,78], EntityCow['Cow'/204, l='MpServer', x=140,53, y=65,00, z=-191,66], EntityBat['Bat'/207, l='MpServer', x=137,68, y=35,00, z=-71,31], EntityBat['Bat'/206, l='MpServer', x=142,03, y=38,10, z=-75,97], EntityCow['Cow'/220, l='MpServer', x=147,06, y=72,00, z=-191,91], EntityCow['Cow'/221, l='MpServer', x=153,09, y=63,00, z=-175,97], EntitySkeleton['Skeleton'/222, l='MpServer', x=149,97, y=77,00, z=-115,44], EntityClientPlayerMP['Player808'/85, l='MpServer', x=141,70, y=79,62, z=-131,06], EntityBat['Bat'/223, l='MpServer', x=144,36, y=34,72, z=-78,48], EntityCow['Cow'/219, l='MpServer', x=147,53, y=70,00, z=-208,88], EntityBat['Bat'/208, l='MpServer', x=129,75, y=35,05, z=-69,72], EntityCow['Cow'/209, l='MpServer', x=133,38, y=67,00, z=-77,53], EntityCow['Cow'/210, l='MpServer', x=128,31, y=66,00, z=-64,50], EntityCow['Cow'/211, l='MpServer', x=129,25, y=67,00, z=-75,41], EntityCow['Cow'/239, l='MpServer', x=164,81, y=64,00, z=-162,94], EntityCow['Cow'/228, l='MpServer', x=154,43, y=69,00, z=-65,29], EntityCow['Cow'/227, l='MpServer', x=159,25, y=69,00, z=-66,97], EntityCow['Cow'/226, l='MpServer', x=147,56, y=69,00, z=-68,53], EntityCow['Cow'/225, l='MpServer', x=158,03, y=69,00, z=-66,78], EntityCreeper['Creeper'/224, l='MpServer', x=153,50, y=72,00, z=-94,50], EntityCow['Cow'/254, l='MpServer', x=183,88, y=72,00, z=-88,97], EntityCow['Cow'/255, l='MpServer', x=177,53, y=68,00, z=-65,50], EntityBat['Bat'/252, l='MpServer', x=174,46, y=37,23, z=-116,50], EntityCow['Cow'/253, l='MpServer', x=187,88, y=69,00, z=-120,13], EntityZombie['Zombie'/250, l='MpServer', x=188,00, y=72,00, z=-205,31], EntityZombie['Zombie'/251, l='MpServer', x=185,15, y=16,08, z=-144,44], EntityCow['Cow'/244, l='MpServer', x=172,50, y=67,00, z=-53,97], EntityCow['Cow'/242, l='MpServer', x=167,09, y=71,00, z=-75,03], EntityCow['Cow'/243, l='MpServer', x=162,59, y=68,00, z=-65,53], EntitySkeleton['Skeleton'/240, l='MpServer', x=166,50, y=38,00, z=-89,50], EntityCow['Cow'/241, l='MpServer', x=169,94, y=70,00, z=-73,97]]
2014-01-04 03:24:52 [Infos] [STDOUT] Retry entities: 0 total; []
2014-01-04 03:24:52 [Infos] [STDOUT] Server brand: fml,forge
2014-01-04 03:24:52 [Infos] [STDOUT] Server type: Integrated singleplayer server
2014-01-04 03:24:52 [Infos] [STDOUT]
2014-01-04 03:24:52 [Infos] [STDOUT] – System Details --
2014-01-04 03:24:52 [Infos] [STDOUT] Details:
2014-01-04 03:24:52 [Infos] [STDOUT] Minecraft Version: 1.6.4
2014-01-04 03:24:52 [Infos] [STDOUT] Operating System: Windows 7 (amd64) version 6.1
2014-01-04 03:24:52 [Infos] [STDOUT] Java Version: 1.7.0_40, Oracle Corporation
2014-01-04 03:24:52 [Infos] [STDOUT] Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
2014-01-04 03:24:52 [Infos] [STDOUT] Memory: 811974848 bytes (774 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
2014-01-04 03:24:52 [Infos] [STDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
2014-01-04 03:24:52 [Infos] [STDOUT] AABB Pool Size: 18931 (1060136 bytes; 1 MB) allocated, 1026 (57456 bytes; 0 MB) used
2014-01-04 03:24:52 [Infos] [STDOUT] Suspicious classes: FML and Forge are installed
2014-01-04 03:24:52 [Infos] [STDOUT] IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 63
2014-01-04 03:24:52 [Infos] [STDOUT] FML: MCP v8.11 FML v6.4.45.953 Minecraft Forge 9.11.1.953 4 mods loaded, 4 mods active
2014-01-04 03:24:52 [Infos] [STDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded-&gt;Constructed-&gt;Pre-initialized-&gt;Initialized-&gt;Post-initialized-&gt;Available-&gt;Available-&gt;Available-&gt;Available
2014-01-04 03:24:52 [Infos] [STDOUT] FML{6.4.45.953} [Forge Mod Loader] (bin) Unloaded-&gt;Constructed-&gt;Pre-initialized-&gt;Initialized-&gt;Post-initialized-&gt;Available-&gt;Available-&gt;Available-&gt;Available
2014-01-04 03:24:52 [Infos] [STDOUT] Forge{9.11.1.953} [Minecraft Forge] (bin) Unloaded-&gt;Constructed-&gt;Pre-initialized-&gt;Initialized-&gt;Post-initialized-&gt;Available-&gt;Available-&gt;Available-&gt;Available
2014-01-04 03:24:52 [Infos] [STDOUT] modopu{1.1.1} [Mod OnePieceUniverse] (bin) Unloaded-&gt;Constructed-&gt;Pre-initialized-&gt;Initialized-&gt;Post-initialized-&gt;Available-&gt;Available-&gt;Available-&gt;Available
2014-01-04 03:24:52 [Infos] [STDOUT] Launched Version: 1.6
2014-01-04 03:24:52 [Infos] [STDOUT] LWJGL: 2.9.0
2014-01-04 03:24:52 [Infos] [STDOUT] OpenGL: GeForce GTX 650/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation
2014-01-04 03:24:52 [Infos] [STDOUT] Is Modded: Definitely; Client brand changed to 'fml,forge'
2014-01-04 03:24:52 [Infos] [STDOUT] Type: Client (map_client.txt)
2014-01-04 03:24:52 [Infos] [STDOUT] Resource Pack: Default
2014-01-04 03:24:52 [Infos] [STDOUT] Current Language: English (US)
2014-01-04 03:24:52 [Infos] [STDOUT] Profiler Position: N/A (disabled)
2014-01-04 03:24:52 [Infos] [STDOUT] Vec3 Pool Size: 1366 (76496 bytes; 0 MB) allocated, 164 (9184 bytes; 0 MB) used
2014-01-04 03:24:52 [Infos] [STDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Utilisateur\Pictures\Modding forge\forge\mcp\jars\.\crash-reports\crash-2014-01-04_03.24.52-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed

</code></pre>
<p dir="auto">Et au cas ou mes classe<br />
Rhum:</p>
<pre><code class="java">package opu.common;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumAction;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;

public class Rhum extends ItemFood
{

public Rhum(int id, int foodAmount, float saturation, boolean isWolfFood)
{
super(id, foodAmount, saturation, isWolfFood);
this.setCreativeTab(modopu.OnePieceUniverse);
}

public EnumAction getItemUseAction(ItemStack par1ItemStack)
{
return EnumAction.drink;
}

public ItemStack onEaten(ItemStack stack, World world, EntityPlayer player)
{
–stack.stackSize;
player.getFoodStats().addStats(this);
world.playSoundAtEntity(player, "random.burp", 0.5F, world.rand.nextFloat() * 0.1F + 0.9F);
this.onFoodEaten(stack, world, player);
player.
inventory.
addItemStackToInventory(
new ItemStack(
Rhumvide.Rhumvide, 1));
return stack;
}
}
</code></pre>
<p dir="auto">Rhum vide</p>
<pre><code class="java">package opu.common;

import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;

public class Rhumvide extends Item
{
public Rhumvide(int id)
{
super(id);
this.setCreativeTab(modopu.OnePieceUniverse);
}
}
</code></pre>
<p dir="auto">Et la déclaration:</p>
<pre><code class="java">Rhum = new Rhum(10007, 0,1.5F, false).setPotionEffect(Potion.confusion.id, 30, 2, 1.0F).setUnlocalizedName("Rhum").setTextureName("modopu:Rhum").setContainerItem(Rhumvide);
GameRegistry.registerItem(Rhum, "Rhum", "modopu");
Rhumvide = new Rhumvide(10008).setUnlocalizedName("Rhumvide").setTextureName("modopu:Rhumvide");
GameRegistry.registerItem(Rhumvide, "Rhumvide", "modopu");
```&lt;/init&gt;&lt;/init&gt;&lt;/init&gt;</code></pre>
]]></description><link>https://www.minecraftforgefrance.fr/post/8609</link><guid isPermaLink="true">https://www.minecraftforgefrance.fr/post/8609</guid><dc:creator><![CDATA[alastar59]]></dc:creator><pubDate>Sat, 04 Jan 2014 02:27:00 GMT</pubDate></item><item><title><![CDATA[Reply to Crash ingame on Fri, 03 Jan 2014 15:31:17 GMT]]></title><description><![CDATA[<p dir="auto">Tu obtiens le même crash ?<br />
Découpe la ligne en plusieurs lignes comme ça :</p>
<pre><code class="java">player.
inventory.
addItemStackToInventory(
new ItemStack(
TaClasse.TonItem, 1))
</code></pre>
<p dir="auto">et renvoie le crash report, ça va nous permettre de savoir quel objet est null exactement.</p>
]]></description><link>https://www.minecraftforgefrance.fr/post/8595</link><guid isPermaLink="true">https://www.minecraftforgefrance.fr/post/8595</guid><dc:creator><![CDATA[robin4002]]></dc:creator><pubDate>Fri, 03 Jan 2014 15:31:17 GMT</pubDate></item><item><title><![CDATA[Reply to Crash ingame on Fri, 03 Jan 2014 11:35:48 GMT]]></title><description><![CDATA[<p dir="auto">Je viens test et nop crash ingame <img src="https://www.minecraftforgefrance.fr/assets/plugins/nodebb-plugin-emoji/emoji/android/1f615.png?v=191f1bb5acb" class="not-responsive emoji emoji-android emoji--confused" style="height:23px;width:auto;vertical-align:middle" title=":/" alt="😕" /></p>
]]></description><link>https://www.minecraftforgefrance.fr/post/8582</link><guid isPermaLink="true">https://www.minecraftforgefrance.fr/post/8582</guid><dc:creator><![CDATA[alastar59]]></dc:creator><pubDate>Fri, 03 Jan 2014 11:35:48 GMT</pubDate></item><item><title><![CDATA[Reply to Crash ingame on Fri, 03 Jan 2014 07:31:29 GMT]]></title><description><![CDATA[<p dir="auto">je pense que ça vient du getContainerItem; Pourquoi ne pas simplement faire ```java<br />
player.inventory.addItemStackToInventory(new ItemStack(TaClasse.TonItem, 1))</p>
<pre><code class="?"></code></pre>
]]></description><link>https://www.minecraftforgefrance.fr/post/8576</link><guid isPermaLink="true">https://www.minecraftforgefrance.fr/post/8576</guid><dc:creator><![CDATA[Überfap]]></dc:creator><pubDate>Fri, 03 Jan 2014 07:31:29 GMT</pubDate></item><item><title><![CDATA[Reply to Crash ingame on Fri, 03 Jan 2014 00:51:20 GMT]]></title><description><![CDATA[<pre><code class="java">
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumAction;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;

public class Rhum extends ItemFood
{
public Rhum(int id, int foodAmount, float saturation, boolean isWolfFood)
{
super(id, foodAmount, saturation, isWolfFood);
this.setCreativeTab(modopu.OnePieceUniverse);
}

public EnumAction getItemUseAction(ItemStack par1ItemStack)
{
return EnumAction.drink;
}
public ItemStack onEaten(ItemStack stack, World world, EntityPlayer player)
{
–stack.stackSize;
player.getFoodStats().addStats(this);
world.playSoundAtEntity(player, "random.burp", 0.5F, world.rand.nextFloat() * 0.1F + 0.9F);
this.onFoodEaten(stack, world, player);
player.inventory.addItemStackToInventory(new ItemStack(this.getContainerItem()));
return stack;
}
}

</code></pre>
<p dir="auto">Voila <img src="https://www.minecraftforgefrance.fr/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=191f1bb5acb" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://www.minecraftforgefrance.fr/post/8574</link><guid isPermaLink="true">https://www.minecraftforgefrance.fr/post/8574</guid><dc:creator><![CDATA[alastar59]]></dc:creator><pubDate>Fri, 03 Jan 2014 00:51:20 GMT</pubDate></item><item><title><![CDATA[Reply to Crash ingame on Fri, 03 Jan 2014 00:49:45 GMT]]></title><description><![CDATA[<p dir="auto">NullPointerException sur opu.common.Rhum.onEaten(Rhum.java:26)<br />
Envoie le code de la classe Rhum.java.</p>
]]></description><link>https://www.minecraftforgefrance.fr/post/8573</link><guid isPermaLink="true">https://www.minecraftforgefrance.fr/post/8573</guid><dc:creator><![CDATA[robin4002]]></dc:creator><pubDate>Fri, 03 Jan 2014 00:49:45 GMT</pubDate></item></channel></rss>