public static Chunk LoadFrom(Stream stream) { using (var wrapper = new StreamWrapper(stream)) using (var reader = new NbtReader(wrapper)) { var rootTag = reader.ReadTag().AsCompound(); return(new Chunk(rootTag)); } }
public NbtTag ReadNbtTag() { return(_nbtReader.ReadTag()); }