public static NbtTag CreateCompound(string[] keys, object[] values) { NbtTag compound = new NbtTagCompound(); compound.Add(keys, values); return(compound); }
public static NbtTag CreateCompound(params object[] values) { NbtTag compound = new NbtTagCompound(); compound.Add(values); return(compound); }
internal override NbtTag Clone() { NbtTagCompound compound = new NbtTagCompound(); foreach (NbtTag tag in this) { compound.Add(tag.Name, tag); } return(compound); }
internal override NbtTag Clone() { NbtTagCompound compound = new NbtTagCompound(); foreach (NbtTag tag in this) compound.Add(tag.Name, tag); return compound; }