Copied NBTTag.scala from my NBT repository