Add a network packet system

This commit is contained in:
zontreck 2024-05-22 14:22:08 -07:00
parent 71f028f25c
commit a082210fa9
4 changed files with 266 additions and 1 deletions

View file

@ -264,6 +264,13 @@ abstract class Tag {
}
}
CompoundTag asCompoundTag() {
if (this is CompoundTag) {
return this as CompoundTag;
} else
return CompoundTag();
}
void prettyPrint(int indent, bool recurse);
static String getCanonicalName(TagType type) {