def write(self, nbt: NBTStream): nbt.put_short(self.value)
def write(self, nbt: NBTStream): nbt.put_double(self.value)
def read(self, nbt: NBTStream, tracker: ReaderTracker): self.value = nbt.get_signed_short()
def write(self, nbt: NBTStream): nbt.put_byte(self.value)
def read(self, nbt: NBTStream, tracker: ReaderTracker): self.value = nbt.get_double()
def write(self, nbt: NBTStream): nbt.put_int(len(self.value)) nbt.put(bytes(self.value))
def read(self, nbt: NBTStream, tracker: ReaderTracker): self.value = nbt.get(nbt.get_int())
def write(self, nbt: NBTStream): nbt.put_int_array(self.value)
def write(self, nbt: NBTStream): nbt.put_string(self.value)
def read(self, nbt: NBTStream, tracker: ReaderTracker): self.value = nbt.get_string()