/* SAVING & LOADING */ @Override public void readFromNBT(NBTTagCompound data) { super.readFromNBT(data); tankManager.readFromNBT(data); }
@Override public void writeToNBT(NBTTagCompound data) { super.writeToNBT(data); tankManager.writeToNBT(data); }
@Override public void handleUpdatePacket(PacketUpdate packet) throws IOException { DataInputStream stream = ((PacketPayloadStream) packet.payload).stream; tankManager.readData(stream); }