public static NbtBase createtag(Stream s) { NbtType T = NbtReader.TagType(s); if (T == NbtType.TAG_end) { return(new NbtEnd()); } NbtBase n = createtag(T); n.tagname = NbtReader.TagString(s); return(n); }
public override void ReadStream(Stream s) { tagvalue = NbtReader.TagString(s); }