Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How do you handle items with with lots of nbt?


brandon3055
 Share

Recommended Posts

By that i mean a LOT of nbt data. I have a custom chest that stores its inventory when harvested. For the most part it works perfectly except when you load it up with items that have lots of nbt data (For testing i am using creative spawned mystcraft notebooks) it kicks you out of the game when you try to harvest it.

 

This is the error log

 

[05:30:36] [Client thread/ERROR] [FML]: FMLIndexedMessageCodec exception caught
io.netty.handler.codec.DecoderException: net.minecraft.util.ReportedException: Loading NBT data
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.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317) [PlayerControllerMP.class:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1683) [Minecraft.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1029) [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.7.0_75]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
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 net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:85) [start/:?]
at GradleStart.main(GradleStart.java:45) [start/:?]
Caused by: net.minecraft.util.ReportedException: Loading NBT data
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:501) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152455_a(CompressedStreamTools.java:177) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152456_a(CompressedStreamTools.java:134) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152457_a(CompressedStreamTools.java:71) ~[CompressedStreamTools.class:?]
at net.minecraft.network.PacketBuffer.readNBTTagCompoundFromBuffer(PacketBuffer.java:115) ~[PacketBuffer.class:?]
at net.minecraft.network.PacketBuffer.readItemStackFromBuffer(PacketBuffer.java:157) ~[PacketBuffer.class:?]
at net.minecraft.entity.DataWatcher.readWatchedListFromPacketBuffer(DataWatcher.java:336) ~[DataWatcher.class:?]
at cpw.mods.fml.common.network.internal.FMLMessage$EntitySpawnMessage.fromBytes(FMLMessage.java:251) ~[FMLMessage$EntitySpawnMessage.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:28) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:11) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:77) ~[FMLIndexedMessageToMessageCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:17) ~[FMLIndexedMessageToMessageCodec.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:?]
... 20 more
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240) ~[?:1.7.0_75]
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) ~[?:1.7.0_75]
at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:116) ~[?:1.7.0_75]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) ~[?:1.7.0_75]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) ~[?:1.7.0_75]
at java.io.BufferedInputStream.read(BufferedInputStream.java:334) ~[?:1.7.0_75]
at java.io.DataInputStream.readFully(DataInputStream.java:195) ~[?:1.7.0_75]
at java.io.DataInputStream.readUTF(DataInputStream.java:609) ~[?:1.7.0_75]
at java.io.DataInputStream.readUTF(DataInputStream.java:564) ~[?:1.7.0_75]
at net.minecraft.nbt.NBTTagString.func_152446_a(NBTTagString.java:38) ~[NBTTagString.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152455_a(CompressedStreamTools.java:177) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152456_a(CompressedStreamTools.java:134) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152457_a(CompressedStreamTools.java:71) ~[CompressedStreamTools.class:?]
at net.minecraft.network.PacketBuffer.readNBTTagCompoundFromBuffer(PacketBuffer.java:115) ~[PacketBuffer.class:?]
at net.minecraft.network.PacketBuffer.readItemStackFromBuffer(PacketBuffer.java:157) ~[PacketBuffer.class:?]
at net.minecraft.entity.DataWatcher.readWatchedListFromPacketBuffer(DataWatcher.java:336) ~[DataWatcher.class:?]
at cpw.mods.fml.common.network.internal.FMLMessage$EntitySpawnMessage.fromBytes(FMLMessage.java:251) ~[FMLMessage$EntitySpawnMessage.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:28) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:11) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:77) ~[FMLIndexedMessageToMessageCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:17) ~[FMLIndexedMessageToMessageCodec.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:?]
... 20 more
[05:30:36] [Client thread/ERROR] [FML]: EntitySpawnHandler exception
io.netty.handler.codec.DecoderException: net.minecraft.util.ReportedException: Loading NBT data
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.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317) [PlayerControllerMP.class:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1683) [Minecraft.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1029) [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.7.0_75]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
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 net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:85) [start/:?]
at GradleStart.main(GradleStart.java:45) [start/:?]
Caused by: net.minecraft.util.ReportedException: Loading NBT data
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:501) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152455_a(CompressedStreamTools.java:177) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152456_a(CompressedStreamTools.java:134) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152457_a(CompressedStreamTools.java:71) ~[CompressedStreamTools.class:?]
at net.minecraft.network.PacketBuffer.readNBTTagCompoundFromBuffer(PacketBuffer.java:115) ~[PacketBuffer.class:?]
at net.minecraft.network.PacketBuffer.readItemStackFromBuffer(PacketBuffer.java:157) ~[PacketBuffer.class:?]
at net.minecraft.entity.DataWatcher.readWatchedListFromPacketBuffer(DataWatcher.java:336) ~[DataWatcher.class:?]
at cpw.mods.fml.common.network.internal.FMLMessage$EntitySpawnMessage.fromBytes(FMLMessage.java:251) ~[FMLMessage$EntitySpawnMessage.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:28) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:11) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:77) ~[FMLIndexedMessageToMessageCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:17) ~[FMLIndexedMessageToMessageCodec.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:?]
... 20 more
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240) ~[?:1.7.0_75]
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) ~[?:1.7.0_75]
at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:116) ~[?:1.7.0_75]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) ~[?:1.7.0_75]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) ~[?:1.7.0_75]
at java.io.BufferedInputStream.read(BufferedInputStream.java:334) ~[?:1.7.0_75]
at java.io.DataInputStream.readFully(DataInputStream.java:195) ~[?:1.7.0_75]
at java.io.DataInputStream.readUTF(DataInputStream.java:609) ~[?:1.7.0_75]
at java.io.DataInputStream.readUTF(DataInputStream.java:564) ~[?:1.7.0_75]
at net.minecraft.nbt.NBTTagString.func_152446_a(NBTTagString.java:38) ~[NBTTagString.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152455_a(CompressedStreamTools.java:177) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152456_a(CompressedStreamTools.java:134) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152457_a(CompressedStreamTools.java:71) ~[CompressedStreamTools.class:?]
at net.minecraft.network.PacketBuffer.readNBTTagCompoundFromBuffer(PacketBuffer.java:115) ~[PacketBuffer.class:?]
at net.minecraft.network.PacketBuffer.readItemStackFromBuffer(PacketBuffer.java:157) ~[PacketBuffer.class:?]
at net.minecraft.entity.DataWatcher.readWatchedListFromPacketBuffer(DataWatcher.java:336) ~[DataWatcher.class:?]
at cpw.mods.fml.common.network.internal.FMLMessage$EntitySpawnMessage.fromBytes(FMLMessage.java:251) ~[FMLMessage$EntitySpawnMessage.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:28) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:11) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:77) ~[FMLIndexedMessageToMessageCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:17) ~[FMLIndexedMessageToMessageCodec.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:?]
... 20 more
[05:30:36] [Client thread/ERROR] [FML]: OpenGuiHandler exception
io.netty.handler.codec.DecoderException: net.minecraft.util.ReportedException: Loading NBT data
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.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317) [PlayerControllerMP.class:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1683) [Minecraft.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1029) [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.7.0_75]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
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 net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:85) [start/:?]
at GradleStart.main(GradleStart.java:45) [start/:?]
Caused by: net.minecraft.util.ReportedException: Loading NBT data
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:501) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152455_a(CompressedStreamTools.java:177) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152456_a(CompressedStreamTools.java:134) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152457_a(CompressedStreamTools.java:71) ~[CompressedStreamTools.class:?]
at net.minecraft.network.PacketBuffer.readNBTTagCompoundFromBuffer(PacketBuffer.java:115) ~[PacketBuffer.class:?]
at net.minecraft.network.PacketBuffer.readItemStackFromBuffer(PacketBuffer.java:157) ~[PacketBuffer.class:?]
at net.minecraft.entity.DataWatcher.readWatchedListFromPacketBuffer(DataWatcher.java:336) ~[DataWatcher.class:?]
at cpw.mods.fml.common.network.internal.FMLMessage$EntitySpawnMessage.fromBytes(FMLMessage.java:251) ~[FMLMessage$EntitySpawnMessage.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:28) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:11) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:77) ~[FMLIndexedMessageToMessageCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:17) ~[FMLIndexedMessageToMessageCodec.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:?]
... 20 more
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240) ~[?:1.7.0_75]
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) ~[?:1.7.0_75]
at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:116) ~[?:1.7.0_75]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) ~[?:1.7.0_75]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) ~[?:1.7.0_75]
at java.io.BufferedInputStream.read(BufferedInputStream.java:334) ~[?:1.7.0_75]
at java.io.DataInputStream.readFully(DataInputStream.java:195) ~[?:1.7.0_75]
at java.io.DataInputStream.readUTF(DataInputStream.java:609) ~[?:1.7.0_75]
at java.io.DataInputStream.readUTF(DataInputStream.java:564) ~[?:1.7.0_75]
at net.minecraft.nbt.NBTTagString.func_152446_a(NBTTagString.java:38) ~[NBTTagString.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152455_a(CompressedStreamTools.java:177) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152456_a(CompressedStreamTools.java:134) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152457_a(CompressedStreamTools.java:71) ~[CompressedStreamTools.class:?]
at net.minecraft.network.PacketBuffer.readNBTTagCompoundFromBuffer(PacketBuffer.java:115) ~[PacketBuffer.class:?]
at net.minecraft.network.PacketBuffer.readItemStackFromBuffer(PacketBuffer.java:157) ~[PacketBuffer.class:?]
at net.minecraft.entity.DataWatcher.readWatchedListFromPacketBuffer(DataWatcher.java:336) ~[DataWatcher.class:?]
at cpw.mods.fml.common.network.internal.FMLMessage$EntitySpawnMessage.fromBytes(FMLMessage.java:251) ~[FMLMessage$EntitySpawnMessage.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:28) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:11) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:77) ~[FMLIndexedMessageToMessageCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:17) ~[FMLIndexedMessageToMessageCodec.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:?]
... 20 more
[05:30:36] [Client thread/ERROR] [FML]: HandshakeCompletionHandler exception
io.netty.handler.codec.DecoderException: net.minecraft.util.ReportedException: Loading NBT data
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.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317) [PlayerControllerMP.class:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1683) [Minecraft.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1029) [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.7.0_75]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
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 net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:85) [start/:?]
at GradleStart.main(GradleStart.java:45) [start/:?]
Caused by: net.minecraft.util.ReportedException: Loading NBT data
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:501) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152455_a(CompressedStreamTools.java:177) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152456_a(CompressedStreamTools.java:134) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152457_a(CompressedStreamTools.java:71) ~[CompressedStreamTools.class:?]
at net.minecraft.network.PacketBuffer.readNBTTagCompoundFromBuffer(PacketBuffer.java:115) ~[PacketBuffer.class:?]
at net.minecraft.network.PacketBuffer.readItemStackFromBuffer(PacketBuffer.java:157) ~[PacketBuffer.class:?]
at net.minecraft.entity.DataWatcher.readWatchedListFromPacketBuffer(DataWatcher.java:336) ~[DataWatcher.class:?]
at cpw.mods.fml.common.network.internal.FMLMessage$EntitySpawnMessage.fromBytes(FMLMessage.java:251) ~[FMLMessage$EntitySpawnMessage.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:28) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:11) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:77) ~[FMLIndexedMessageToMessageCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:17) ~[FMLIndexedMessageToMessageCodec.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:?]
... 20 more
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240) ~[?:1.7.0_75]
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) ~[?:1.7.0_75]
at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:116) ~[?:1.7.0_75]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) ~[?:1.7.0_75]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) ~[?:1.7.0_75]
at java.io.BufferedInputStream.read(BufferedInputStream.java:334) ~[?:1.7.0_75]
at java.io.DataInputStream.readFully(DataInputStream.java:195) ~[?:1.7.0_75]
at java.io.DataInputStream.readUTF(DataInputStream.java:609) ~[?:1.7.0_75]
at java.io.DataInputStream.readUTF(DataInputStream.java:564) ~[?:1.7.0_75]
at net.minecraft.nbt.NBTTagString.func_152446_a(NBTTagString.java:38) ~[NBTTagString.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152455_a(CompressedStreamTools.java:177) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152456_a(CompressedStreamTools.java:134) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152457_a(CompressedStreamTools.java:71) ~[CompressedStreamTools.class:?]
at net.minecraft.network.PacketBuffer.readNBTTagCompoundFromBuffer(PacketBuffer.java:115) ~[PacketBuffer.class:?]
at net.minecraft.network.PacketBuffer.readItemStackFromBuffer(PacketBuffer.java:157) ~[PacketBuffer.class:?]
at net.minecraft.entity.DataWatcher.readWatchedListFromPacketBuffer(DataWatcher.java:336) ~[DataWatcher.class:?]
at cpw.mods.fml.common.network.internal.FMLMessage$EntitySpawnMessage.fromBytes(FMLMessage.java:251) ~[FMLMessage$EntitySpawnMessage.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:28) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:11) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:77) ~[FMLIndexedMessageToMessageCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:17) ~[FMLIndexedMessageToMessageCodec.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:?]
... 20 more
[05:30:36] [Client thread/ERROR] [FML]: There was a critical exception handling a packet on channel FML
io.netty.handler.codec.DecoderException: net.minecraft.util.ReportedException: Loading NBT data
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.multiplayer.PlayerControllerMP.updateController(PlayerControllerMP.java:317) [PlayerControllerMP.class:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1683) [Minecraft.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1029) [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.7.0_75]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
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 net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:85) [start/:?]
at GradleStart.main(GradleStart.java:45) [start/:?]
Caused by: net.minecraft.util.ReportedException: Loading NBT data
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:501) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152455_a(CompressedStreamTools.java:177) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152456_a(CompressedStreamTools.java:134) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152457_a(CompressedStreamTools.java:71) ~[CompressedStreamTools.class:?]
at net.minecraft.network.PacketBuffer.readNBTTagCompoundFromBuffer(PacketBuffer.java:115) ~[PacketBuffer.class:?]
at net.minecraft.network.PacketBuffer.readItemStackFromBuffer(PacketBuffer.java:157) ~[PacketBuffer.class:?]
at net.minecraft.entity.DataWatcher.readWatchedListFromPacketBuffer(DataWatcher.java:336) ~[DataWatcher.class:?]
at cpw.mods.fml.common.network.internal.FMLMessage$EntitySpawnMessage.fromBytes(FMLMessage.java:251) ~[FMLMessage$EntitySpawnMessage.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:28) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:11) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:77) ~[FMLIndexedMessageToMessageCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:17) ~[FMLIndexedMessageToMessageCodec.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:?]
... 20 more
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240) ~[?:1.7.0_75]
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) ~[?:1.7.0_75]
at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:116) ~[?:1.7.0_75]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) ~[?:1.7.0_75]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) ~[?:1.7.0_75]
at java.io.BufferedInputStream.read(BufferedInputStream.java:334) ~[?:1.7.0_75]
at java.io.DataInputStream.readFully(DataInputStream.java:195) ~[?:1.7.0_75]
at java.io.DataInputStream.readUTF(DataInputStream.java:609) ~[?:1.7.0_75]
at java.io.DataInputStream.readUTF(DataInputStream.java:564) ~[?:1.7.0_75]
at net.minecraft.nbt.NBTTagString.func_152446_a(NBTTagString.java:38) ~[NBTTagString.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152449_a(NBTTagCompound.java:492) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.NBTTagCompound.func_152446_a(NBTTagCompound.java:56) ~[NBTTagCompound.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152455_a(CompressedStreamTools.java:177) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152456_a(CompressedStreamTools.java:134) ~[CompressedStreamTools.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_152457_a(CompressedStreamTools.java:71) ~[CompressedStreamTools.class:?]
at net.minecraft.network.PacketBuffer.readNBTTagCompoundFromBuffer(PacketBuffer.java:115) ~[PacketBuffer.class:?]
at net.minecraft.network.PacketBuffer.readItemStackFromBuffer(PacketBuffer.java:157) ~[PacketBuffer.class:?]
at net.minecraft.entity.DataWatcher.readWatchedListFromPacketBuffer(DataWatcher.java:336) ~[DataWatcher.class:?]
at cpw.mods.fml.common.network.internal.FMLMessage$EntitySpawnMessage.fromBytes(FMLMessage.java:251) ~[FMLMessage$EntitySpawnMessage.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:28) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.internal.FMLRuntimeCodec.decodeInto(FMLRuntimeCodec.java:11) ~[FMLRuntimeCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:77) ~[FMLIndexedMessageToMessageCodec.class:?]
at cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:17) ~[FMLIndexedMessageToMessageCodec.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:?]
... 20 more

 

 

And when i try to log back in it kicks me again with the same error.

 

I know there is a way around this because thermal expansion dose not have this problem with its strong boxes. But i cant figure it out...

Dose anyone have any suggestions?

I am the author of Draconic Evolution

Link to comment
Share on other sites

Oh yes when i test things i test things to the limit. But i pushed the thermal expansion strong box even further and it did not have that problem.

My forge version is 10.13.2.1286

 

Edit: To give you an idea of how much nbt data is being saved.

1 mystcraft page contains a single string tag

1 creative spawned notebook contains 216 pages

multiply that by the 234 slots in my chest and you get a total of 50,544 string tags!

 

Edit2: I just put 4x that into a strong box and aside from dropping the tps to 0 the instant i picked it up it works just fine.

Then it crashed the game with a Ticking player exception.

I am the author of Draconic Evolution

Link to comment
Share on other sites

I think this is all the relavent code

 

DraconiumChest extends BlockCustomDrop

 

@Override
protected boolean dropInventory() { return false; }

@Override
protected boolean hasCustomDropps() { return true; }

@Override
protected void getCustomTileEntityDrops(TileEntity te, List<ItemStack> droppes) {
ItemStack stack = new ItemStack(ModBlocks.draconiumChest);
if (te instanceof ICustomItemData){
	ICustomItemData chest = (ICustomItemData)te;
	NBTTagCompound tileTag = new NBTTagCompound();
	if (!stack.hasTagCompound()) stack.setTagCompound(new NBTTagCompound());
	chest.writeDataToItem(tileTag, stack);
	stack.getTagCompound().setTag(ICustomItemData.tagName, tileTag);
}
droppes.add(stack);
}

 

 

BlockCustomDrop extends BlockContainer

 

/**If true the tile will drop its inventory when broken*/
protected abstract boolean dropInventory();

/**If true the tile will drop a custom block with custom data when broken*/
protected abstract boolean hasCustomDropps();

/**Use to specify custom drops*/
protected abstract void getCustomTileEntityDrops(TileEntity te, List<ItemStack> droppes);

private void getCustomDrops(TileEntity te, List<ItemStack> droppes){
if (te == null) return;
if (hasCustomDropps()){
	getCustomTileEntityDrops(te, droppes);
}
if (dropInventory() && te instanceof IInventory){
	droppes.addAll(InventoryUtils.getInventoryContents((IInventory)te));
	for (int i = 0; i < ((IInventory)te).getSizeInventory(); i++) ((IInventory)te).setInventorySlotContents(i, null);
}
}

@Override
public boolean removedByPlayer(World world, EntityPlayer player, int x, int y, int z, boolean willHarvest) {
if (willHarvest) {
	TileEntity te = world.getTileEntity(x, y, z);

	boolean result = super.removedByPlayer(world, player, x, y, z, willHarvest);

	if (result) {
		List<ItemStack> teDrops = Lists.newArrayList();
		getCustomDrops(te, teDrops);
		for (ItemStack drop : teDrops)
			dropBlockAsItem(world, x, y, z, drop);
	}

	return result;
}

return super.removedByPlayer(world, player, x, y, z, willHarvest);
}

@Override
public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune) {
ArrayList<ItemStack> result = Lists.newArrayList();
if (!hasCustomDropps()) result.addAll(super.getDrops(world, x, y, z, metadata, fortune));
if (hasCustomDropps() || dropInventory()) {
	TileEntity te = world.getTileEntity(x, y, z);
	getCustomDrops(te, result);
}
return result;
}

 

 

TileDraconiumChest extends TileEntity implements IInventory, IEnergyHandler, ICustomItemData

 

@Override
public void writeDataToItem(NBTTagCompound compound, ItemStack stack) {
NBTTagCompound[] tag = new NBTTagCompound[items.length];

for (int i = 0; i < items.length; i++) {
	tag[i] = new NBTTagCompound();

	if (items[i] != null) {
		tag[i] = items[i].writeToNBT(tag[i]);
	}

	compound.setTag("Item" + i, tag[i]);
}

for (int i = 0; i < itemsCrafting.length; i++) {
	tag[i] = new NBTTagCompound();

	if (itemsCrafting[i] != null) {
		tag[i] = itemsCrafting[i].writeToNBT(tag[i]);
	}

	compound.setTag("CraftingItem" + i, tag[i]);
}

compound.setInteger("Red", red);
compound.setInteger("Green", green);
compound.setInteger("Blue", blue);
compound.setBoolean("Edit", editMode);
compound.setByte("AutoFeed", (byte) smeltingAutoFeed);
if (hasCustomInventoryName()) stack.setStackDisplayName(customName);
energy.writeToNBT(compound);
}

 

 

I think thats everything related to saving to the item.

 

I am the author of Draconic Evolution

Link to comment
Share on other sites

The error seems to occur when spawning the item in the world. And based on the error log i believe the error is occuring when the server tries to send all that data to the client. But the client doesn't need to know about all of the stored items so would there be a way to limit what is sent to the client?

I am the author of Draconic Evolution

Link to comment
Share on other sites

The error seems to occur when spawning the item in the world. And based on the error log i believe the error is occuring when the server tries to send all that data to the client. But the client doesn't need to know about all of the stored items so would there be a way to limit what is sent to the client?

 

You can override

getShareTag()

in your item and let it return false. It prevents it from sending NBT to the client, but it will prevent ALL nbt from being sent!

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Download the correct version of optifine for the version of forge you are using.
    • Also I have method for add thirst by pushing the keybord button. public boolean handle(Supplier<NetworkEvent.Context> supplier) { NetworkEvent.Context context = supplier.get(); context.enqueueWork(() -> { ServerPlayer player = context.getSender(); ServerLevel level = player.getLevel(); if(hasWaterAroundThem(player, level, 2)) { player.sendSystemMessage(Component.translatable(MESSAGE_DRINK_WATER).withStyle(ChatFormatting.DARK_AQUA)); level.playSound(null, player.getOnPos(), SoundEvents.GENERIC_DRINK, SoundSource.PLAYERS, 0.5F, level.random.nextFloat() * 0.1F + 0.9F); player.getCapability(PlayerThirstProvider.PLAYER_THIRST).ifPresent(thirst -> { thirst.addThirst(1); player.sendSystemMessage(Component.literal("Current Thirst " + thirst.getThirst()) .withStyle(ChatFormatting.AQUA)); ModMessages.sendToPlayer(new ThirstDataSyncS2CPacket(thirst.getThirst()), player); }); } else { player.sendSystemMessage(Component.translatable(MESSAGE_NO_WATER).withStyle(ChatFormatting.RED)); player.getCapability(PlayerThirstProvider.PLAYER_THIRST).ifPresent(thirst -> { player.sendSystemMessage(Component.literal("Current Thirst " + thirst.getThirst()) .withStyle(ChatFormatting.AQUA)); ModMessages.sendToPlayer(new ThirstDataSyncS2CPacket(thirst.getThirst()), player); }); } }); return true; } Maybe that can be made in this method?
    • Crash report.   ---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem. Time: 10/5/22, 2:58 AM Description: Exception in server tick loop java.lang.NoSuchMethodError: 'void net.minecraft.server.level.DistanceManager.addRegionTicket(net.minecraft.server.level.TicketType, net.minecraft.world.level.ChunkPos, int, java.lang.Object, boolean)'     at net.minecraft.server.level.ServerChunkCache.addRegionTicket(ServerChunkCache.java:429) ~[client-1.18.2-20220404.173914-srg.jar%2381!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.level.ServerChunkCache.m_8387_(ServerChunkCache.java:425) ~[client-1.18.2-20220404.173914-srg.jar%2381!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.server.MinecraftServer.m_129940_(MinecraftServer.java:471) ~[client-1.18.2-20220404.173914-srg.jar%2381!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:access.MinecraftServerAccess,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A}     at net.minecraft.server.MinecraftServer.m_130006_(MinecraftServer.java:318) ~[client-1.18.2-20220404.173914-srg.jar%2381!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:access.MinecraftServerAccess,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A}     at net.minecraft.client.server.IntegratedServer.m_7038_(IntegratedServer.java:84) ~[client-1.18.2-20220404.173914-srg.jar%2381!/:?] {re:classloading,xf:OptiFine:default}     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[client-1.18.2-20220404.173914-srg.jar%2381!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:access.MinecraftServerAccess,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A}     at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:261) ~[client-1.18.2-20220404.173914-srg.jar%2381!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:access.MinecraftServerAccess,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:A}     at java.lang.Thread.run(Thread.java:833) [?:?] {re:mixin} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.18.2     Minecraft Version ID: 1.18.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.1, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 888081408 bytes (846 MiB) / 2126512128 bytes (2028 MiB) up to 4294967296 bytes (4096 MiB)     CPUs: 8     Processor Vendor: GenuineIntel     Processor Name: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz     Identifier: Intel64 Family 6 Model 158 Stepping 13     Microarchitecture: Coffee Lake     Frequency (GHz): 3.60     Number of physical packages: 1     Number of physical CPUs: 8     Number of logical CPUs: 8     Graphics card #0 name: NVIDIA GeForce RTX 2060 SUPER     Graphics card #0 vendor: NVIDIA (0x10de)     Graphics card #0 VRAM (MB): 4095.00     Graphics card #0 deviceId: 0x1f06     Graphics card #0 versionInfo: DriverVersion=31.0.15.1748     Memory slot #0 capacity (MB): 8192.00     Memory slot #0 clockSpeed (GHz): 2.13     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 8192.00     Memory slot #1 clockSpeed (GHz): 2.13     Memory slot #1 type: DDR4     Virtual memory max (MB): 20267.54     Virtual memory used (MB): 10935.73     Swap memory total (MB): 3968.00     Swap memory used (MB): 13.47     JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m     Server Running: true     Player Count: 0 / 8; []     Data Packs: vanilla, mod:terrablender (incompatible), mod:swingthroughgrass (incompatible), mod:humancompanions (incompatible), mod:mobz (incompatible), mod:creativecore (incompatible), mod:trolls, mod:jei (incompatible), mod:yungsbridges, mod:kingvillager, mod:kobolds, mod:waystones (incompatible), mod:epicfight, mod:enhancedvisuals (incompatible), mod:yungsextras, mod:zombieawareness (incompatible), mod:yungsapi, mod:betterthirdperson (incompatible), mod:magistuarmory, mod:guardvillagers (incompatible), mod:coroutil (incompatible), mod:balm (incompatible), mod:enhancedcelestials (incompatible), mod:byg (incompatible), mod:cameraoverhaul (incompatible), mod:cloth_config (incompatible), mod:forge, mod:travelerstitles, mod:dsurround     World Generation: Stable     Type: Integrated Server (map_client.txt)     Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge'     OptiFine Version: OptiFine_1.18.2_HD_U_H7     OptiFine Build: 20220410-185216     Render Distance Chunks: 8     Mipmaps: 4     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: null     OpenGlVersion: 3.2.0 NVIDIA 517.48     OpenGlRenderer: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2     OpenGlVendor: NVIDIA Corporation     CpuCount: 8     ModLauncher: 9.1.3+9.1.3+main.9b69c82a     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:          mixin PLUGINSERVICE          eventbus PLUGINSERVICE          slf4jfixer PLUGINSERVICE          object_holder_definalize PLUGINSERVICE          runtime_enum_extender PLUGINSERVICE          capability_token_subclass PLUGINSERVICE          accesstransformer PLUGINSERVICE          runtimedistcleaner PLUGINSERVICE          mixin TRANSFORMATIONSERVICE          OptiFine TRANSFORMATIONSERVICE          fml TRANSFORMATIONSERVICE     FML Language Providers:         minecraft@1.0         lowcodefml@null         javafml@null     Mod List:         client-1.18.2-20220404.173914-srg.jar             |Minecraft                     |minecraft                     |1.18.2              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f         TerraBlender-forge-1.18.2-1.2.0.126.jar           |TerraBlender                  |terrablender                  |1.2.0.126           |DONE      |Manifest: NOSIGNATURE         swingthroughgrass-1.18.2-1.9.0.jar                |SwingThroughGrass             |swingthroughgrass             |1.18.2-1.9.0        |DONE      |Manifest: NOSIGNATURE         humancompanions-1.18.2-1.4.7.jar                  |Human Companions              |humancompanions               |1.18.2-1.4.7        |DONE      |Manifest: NOSIGNATURE         mobz-3.3.4-forge.jar                              |MobZ                          |mobz                          |3.3.4               |DONE      |Manifest: NOSIGNATURE         CreativeCore_FORGE_v2.6.15_mc1.18.2.jar           |CreativeCore                  |creativecore                  |0.0NONE             |DONE      |Manifest: NOSIGNATURE         trolls-0.3.jar                                    |trolls                        |trolls                        |1.0.0               |DONE      |Manifest: NOSIGNATURE         jei-1.18.2-9.7.1.255.jar                          |Just Enough Items             |jei                           |9.7.1.255           |DONE      |Manifest: NOSIGNATURE         YungsBridges-1.18.2-Forge-2.1.0.jar               |YUNG's Bridges                |yungsbridges                  |1.18.2-Forge-2.1.0  |DONE      |Manifest: NOSIGNATURE         kingvillager-1.10.jar                             |The King of the Village       |kingvillager                  |1.10                |DONE      |Manifest: NOSIGNATURE         Kobolds-2.1.0.jar                                 |Kobolds                       |kobolds                       |2.1.0               |DONE      |Manifest: NOSIGNATURE         waystones-forge-1.18.2-10.1.0.jar                 |Waystones                     |waystones                     |10.1.0              |DONE      |Manifest: NOSIGNATURE         EpicFight-18.3.6.jar                              |Epic Fight                    |epicfight                     |18.3.6              |DONE      |Manifest: NOSIGNATURE         EnhancedVisuals_FORGE_v1.5.5_mc1.18.2.jar         |EnhancedVisuals               |enhancedvisuals               |1.5.5               |DONE      |Manifest: NOSIGNATURE         YungsExtras-1.18.2-Forge-2.1.0.jar                |YUNG's Extras                 |yungsextras                   |1.18.2-Forge-2.1.0  |DONE      |Manifest: NOSIGNATURE         zombieawareness-1.18.1-1.12.3.jar                 |Zombie Awareness              |zombieawareness               |1.18.1-1.12.3       |DONE      |Manifest: NOSIGNATURE         YungsApi-1.18.2-Forge-2.0.8.jar                   |YUNG's API                    |yungsapi                      |1.18.2-Forge-2.0.8  |DONE      |Manifest: NOSIGNATURE         BetterThirdPerson-Forge-1.18.2-1.8.1.jar          |Better Third Person           |betterthirdperson             |1.8.1               |DONE      |Manifest: NOSIGNATURE         [1.18.x]-Epic-Knights-Armor-and-Weapons-6.6v.jar  |Epic Knights: Armor and Weapon|magistuarmory                 |1.0                 |DONE      |Manifest: NOSIGNATURE         guardvillagers-1.18.2.1.4.3.jar                   |Guard Villagers               |guardvillagers                |1.4.3               |DONE      |Manifest: NOSIGNATURE         coroutil-1.18.1-1.2.38.jar                        |CoroUtil                      |coroutil                      |1.18.1-1.2.38       |DONE      |Manifest: NOSIGNATURE         balm-3.2.0+0.jar                                  |Balm                          |balm                          |3.2.0+0             |DONE      |Manifest: NOSIGNATURE         Enhanced_Celestials-forge-1.18.2-2.0.7.jar        |Enhanced Celestials           |enhancedcelestials            |2.0.7               |DONE      |Manifest: NOSIGNATURE         Oh_The_Biomes_You'll_Go-forge-1.18.2-1.4.4.jar    |Oh The Biomes You'll Go       |byg                           |1.4                 |DONE      |Manifest: NOSIGNATURE         cameraoverhaul-1.0-1.18.2.jar                     |Camera Overhaul               |cameraoverhaul                |1.0.0               |DONE      |Manifest: NOSIGNATURE         cloth-config-6.4.90-forge.jar                     |Cloth Config v4 API           |cloth_config                  |6.4.90              |DONE      |Manifest: NOSIGNATURE         forge-1.18.2-40.1.80-universal.jar                |Forge                         |forge                         |40.1.80             |DONE      |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90         TravelersTitles-1.18.2-Forge-2.1.1.jar            |Traveler's Titles             |travelerstitles               |1.18.2-Forge-2.1.1  |DONE      |Manifest: NOSIGNATURE         DynamicSurroundings-5.0.0.4.jar                   |§3Dynamic Surroundings: Resurr|dsurround                     |5.0.0.4             |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 2bc32199-3d7c-43e8-84ef-530961eda183     FML: 40.1     Forge: net.minecraftforge:40.1.80
    • I have attached capability.  @SubscribeEvent public static void OnAttachCapabilitiesPlayer(AttachCapabilitiesEvent<Entity> event) { if(event.getObject() instanceof Player) { if(!event.getObject().getCapability(PlayerThirstProvider.PLAYER_THIRST).isPresent()) { event.addCapability(new ResourceLocation(HardLife.MODID, "properties"), new PlayerThirstProvider()); } } } This capability working, but I can't understand how to add thirst points via using items such food or bottle of water.
    • I'm currently playing through Harmonious Engineering 3 with a couple of extra mods installed. Today when I was playing, I suddenly realized I couldn't mine, at all. It's been a little while since the last time I was mining as I'd just been crafting components for machines so I've no idea when it started.  However I can't find a solution. It's like the game doesn't recognize any pickaxe as a pickaxe? Like a drill item worked, but nothing else has been able to mine stone. Dirt is fine, wood is fine, but anything meant for pickaxes is like mining with a open hand, it doesn't even drop. Please let me know how to fix this.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.