@Override protected void writeSyncTag(NBTTagCompound NBT) { super.writeSyncTag(NBT); tank.writeToNBT(NBT); }
@Override protected void readSyncTag(NBTTagCompound NBT) { super.readSyncTag(NBT); steam = NBT.getInteger("energy"); }
@Override protected void readSyncTag(NBTTagCompound NBT) { super.readSyncTag(NBT); tank.readFromNBT(NBT); }
@Override protected void writeSyncTag(NBTTagCompound NBT) { super.writeSyncTag(NBT); NBT.setInteger("energy", steam); }