SNBT Serialization now implemented
This commit is contained in:
parent
84b37f8b04
commit
daf9cb7376
16 changed files with 54 additions and 28 deletions
|
@ -65,4 +65,12 @@ void main() {
|
|||
Tag.writeStringifiedNamedTag(ct, sb, 0);
|
||||
print(sb.toString());
|
||||
});
|
||||
|
||||
test("Read BigTest, Output to SNBT", () async {
|
||||
CompoundTag ct =
|
||||
await NbtIo.read("${Directory.current.path}/test/bigtest.nbt");
|
||||
StringBuilder sb = StringBuilder();
|
||||
Tag.writeStringifiedNamedTag(ct, sb, 0);
|
||||
print(sb.toString());
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue