public void writeCommonNBT(NBTTagCompound nbt) { super.writeCommonNBT(nbt); nbt.setInteger("MineBlocks", totalMineBlocks); nbt.setInteger("MinedBlocks", currentMineBlocks); }