BlockStateUpgradeSchemaModelBlockRemap
Properties
$copiedState
php
public array $copiedState$newFlattenedName
php
public \pocketmine\data\bedrock\block\upgrade\model\BlockStateUpgradeSchemaModelFlattenInfo $newFlattenedNameEither this or newName must be present Due to technical limitations of jsonmapper, we can't use a union type here
$newName
php
public string $newNameEither this or newFlattenedName must be present Due to technical limitations of jsonmapper, we can't use a union type here
$newState
php
public ?array $newState$oldState
php
public ?array $oldStateMethods
__construct()
php
public function __construct(array $oldState, string|\pocketmine\data\bedrock\block\upgrade\model\BlockStateUpgradeSchemaModelFlattenInfo $newNameRule, array $newState, array $copiedState)