80 $typeId = $blockState->getTypeId();
82 $locatedSerializer = $this->serializers[$typeId] ??
null;
83 if($locatedSerializer ===
null){
88 return $locatedSerializer;
99 $result = $locatedSerializer($blockState);
101 return $result instanceof Writer ? $result->getBlockStateData() : $result;