Added support for upgrading states via remap (needed for end rods and all-sided-logs)

This commit is contained in:
Dylan K. Taylor
2022-02-09 20:05:20 +00:00
parent 166ffe430a
commit 0226f5466c
4 changed files with 43 additions and 2 deletions

View File

@ -57,6 +57,12 @@ final class BlockStateUpgradeSchema{
*/
public array $remappedPropertyValues = [];
/**
* @var BlockStateUpgradeSchemaBlockRemap[][]
* @phpstan-var array<string, list<BlockStateUpgradeSchemaBlockRemap>>
*/
public array $remappedStates = [];
public function __construct(
public int $maxVersionMajor,
public int $maxVersionMinor,