Example #1
0
        public object ToNBT()
        {
            NBT nbt = new NBT();

            nbt.Set("id", Id.ToString());
            nbt.Set("Count", (short)1);
            nbt.Set("tag", this.nbt);
            return(nbt);
        }
Example #2
0
 public This Set(string key, int?value)
 {
     del.Set(key, value);
     return(this as This);
 }