Exemplo n.º 1
0
        public static NbtTag CreateCompound(string[] keys, object[] values)
        {
            NbtTag compound = new NbtTagCompound();

            compound.Add(keys, values);
            return(compound);
        }
Exemplo n.º 2
0
        public static NbtTag CreateCompound(params object[] values)
        {
            NbtTag compound = new NbtTagCompound();

            compound.Add(values);
            return(compound);
        }
Exemplo n.º 3
0
        internal override NbtTag Clone()
        {
            NbtTagCompound compound = new NbtTagCompound();

            foreach (NbtTag tag in this)
            {
                compound.Add(tag.Name, tag);
            }
            return(compound);
        }
Exemplo n.º 4
0
 internal override NbtTag Clone()
 {
     NbtTagCompound compound = new NbtTagCompound();
     foreach (NbtTag tag in this) compound.Add(tag.Name, tag);
     return compound;
 }