Skip to content

BlockStateUpgradeSchema ​

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

Properties ​

$addedProperties ​

php
public array $addedProperties

$flattenedProperties ​

php
public array $flattenedProperties

$maxVersionMajor ​

php
public readonly int $maxVersionMajor

$maxVersionMinor ​

php
public readonly int $maxVersionMinor

$maxVersionPatch ​

php
public readonly int $maxVersionPatch

$maxVersionRevision ​

php
public readonly int $maxVersionRevision

$remappedPropertyValues ​

php
public array $remappedPropertyValues

$remappedStates ​

php
public array $remappedStates

$removedProperties ​

php
public array $removedProperties

$renamedIds ​

php
public array $renamedIds

$renamedProperties ​

php
public array $renamedProperties

$versionId ​

php
public readonly int $versionId

Methods ​

__construct() ​

php
public function __construct(int $maxVersionMajor, int $maxVersionMinor, int $maxVersionPatch, int $maxVersionRevision, int $schemaId)

getSchemaId() ​

php
public function getSchemaId() : int

getVersionId() ​

php
public function getVersionId() : int

Deprecated

This is defined by Mojang, and therefore cannot be relied on. Use getSchemaId() instead for

isEmpty() ​

php
public function isEmpty() : bool

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