public function write(NBT $nbt, bool $network = false) { $nbt->putInt(strlen($this->value), $network); $nbt->put($this->value); }