22declare(strict_types=1);
24namespace pocketmine\data\bedrock\block\upgrade;
36 public string $prefix,
37 public string $flattenedProperty,
38 public string $suffix,
39 public array $flattenedValueRemaps
41 ksort($this->flattenedValueRemaps, SORT_STRING);
44 public function equals(
self $that) : bool{
45 return $this->prefix === $that->prefix &&
46 $this->flattenedProperty === $that->flattenedProperty &&
47 $this->suffix === $that->suffix &&
48 $this->flattenedValueRemaps === $that->flattenedValueRemaps;
__construct(public string $prefix, public string $flattenedProperty, public string $suffix, public array $flattenedValueRemaps)