Jump to content

How do you handle items with with lots of nbt?


brandon3055

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.



×
×
  • Create New...

Important Information

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