@Override public void b(NBTTagCompound nbttagcompound) { super.b(nbttagcompound); flow.writeToNBT(nbttagcompound); nbttagcompound.setByte("lDir", lastDir); nbttagcompound.setByte("pCol", paintColor); }
@Override public void a(NBTTagCompound nbttagcompound) { super.a(nbttagcompound); flow.readFromNBT(nbttagcompound); lastDir = nbttagcompound.getByte("lDir"); paintColor = nbttagcompound.getByte("pCol"); }