public function getLong() { return $this->endianness === self::BIG_ENDIAN ? Binary::readLong($this->get(8)) : Binary::readLLong($this->get(8)); }
public function read(NBT $nbt) { $this->value = $nbt->getLong(); }