BlockStateUpgradeSchemaUtils
Methods
describe()
php
public static function describe(\pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema $schema) : stringfromJsonModel()
php
public static function fromJsonModel(\pocketmine\data\bedrock\block\upgrade\model\BlockStateUpgradeSchemaModel $model, int $schemaId) : \pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchemaloadSchemaFromString()
php
public static function loadSchemaFromString(string $raw, int $schemaId) : \pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchemaloadSchemas()
php
public static function loadSchemas(string $path, int $maxSchemaId) : arrayReturns a list of schemas ordered by schema ID. Oldest schemas appear first.
tagToJsonModel()
php
public static function tagToJsonModel(\pocketmine\nbt\tag\Tag $tag) : \pocketmine\data\bedrock\block\upgrade\model\BlockStateUpgradeSchemaModelTagtoJsonModel()
php
public static function toJsonModel(\pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema $schema) : \pocketmine\data\bedrock\block\upgrade\model\BlockStateUpgradeSchemaModel