Skip to content

BlockStateUpgrader ​

final class · pocketmine\data\bedrock\block\upgrade\BlockStateUpgrader · source

Methods ​

__construct() ​

php
public function __construct(array $upgradeSchemas)

addSchema() ​

php
public function addSchema(\pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema $schema) : void

upgrade() ​

php
public function upgrade(\pocketmine\data\bedrock\block\BlockStateData $blockStateData) : \pocketmine\data\bedrock\block\BlockStateData

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.