PocketMine-MP 5.28.3 git-94fb5d95b92604840dabb719f04327efa559cf94
Loading...
Searching...
No Matches
pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchemaUtils Class Reference
+ Collaboration diagram for pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchemaUtils:

Static Public Member Functions

static describe (BlockStateUpgradeSchema $schema)
 
static fromJsonModel (BlockStateUpgradeSchemaModel $model, int $schemaId)
 
static loadSchemaFromString (string $raw, int $schemaId)
 
static loadSchemas (string $path, int $maxSchemaId)
 
static tagToJsonModel (Tag $tag)
 
static toJsonModel (BlockStateUpgradeSchema $schema)
 

Detailed Description

Definition at line 58 of file BlockStateUpgradeSchemaUtils.php.

Member Function Documentation

◆ describe()

static pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchemaUtils::describe ( BlockStateUpgradeSchema $schema)
static

Definition at line 60 of file BlockStateUpgradeSchemaUtils.php.

◆ fromJsonModel()

static pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchemaUtils::fromJsonModel ( BlockStateUpgradeSchemaModel $model,
int $schemaId )
static

Definition at line 120 of file BlockStateUpgradeSchemaUtils.php.

◆ loadSchemaFromString()

static pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchemaUtils::loadSchemaFromString ( string $raw,
int $schemaId )
static

Definition at line 416 of file BlockStateUpgradeSchemaUtils.php.

◆ loadSchemas()

static pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchemaUtils::loadSchemas ( string $path,
int $maxSchemaId )
static

Returns a list of schemas ordered by schema ID. Oldest schemas appear first.

Returns
BlockStateUpgradeSchema[]

Definition at line 377 of file BlockStateUpgradeSchemaUtils.php.

◆ tagToJsonModel()

static pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchemaUtils::tagToJsonModel ( Tag $tag)
static

Definition at line 96 of file BlockStateUpgradeSchemaUtils.php.

◆ toJsonModel()

static pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchemaUtils::toJsonModel ( BlockStateUpgradeSchema $schema)
static

Definition at line 290 of file BlockStateUpgradeSchemaUtils.php.


The documentation for this class was generated from the following file: