The current state of a barrel is now saved in the NBT.