*/ interface StringProperty extends Property{ /** * @return string[] * @phpstan-return list */ public function getPossibleValues() : array; /** * TODO: These are only used for flattened IDs for now, we should expand their use to all properties * in the future and remove the dependencies on BlockStateReader and BlockStateWriter * @phpstan-param TBlock $block */ public function deserializePlain(object $block, string $raw) : void; /** * TODO: These are only used for flattened IDs for now, we should expand their use to all properties * in the future and remove the dependencies on BlockStateReader and BlockStateWriter * @phpstan-param TBlock $block */ public function serializePlain(object $block) : string; }