Adds a new functions to the NBT Tag abstract: getter and setter for value

This commit is contained in:
zontreck 2024-07-21 05:19:57 -07:00
parent ba8315f5ee
commit fdb5669897
15 changed files with 113 additions and 1 deletions

View file

@ -173,6 +173,10 @@ abstract class Tag {
_key = key;
}
dynamic getValue();
void setValue(dynamic val);
static Tag readNamedTag(ByteLayer data) {
var type = data.readByte();
if (type == 0) {