PocketMine-MP 5.14.2 git-50e2c469a547a16a23b2dc691e70a51d34e29395
pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema Class Reference
+ Collaboration diagram for pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema:

Public Member Functions

 __construct (public readonly int $maxVersionMajor, public readonly int $maxVersionMinor, public readonly int $maxVersionPatch, public readonly int $maxVersionRevision, private int $schemaId)
 
 getSchemaId ()
 
 getVersionId ()
 
 isEmpty ()
 

Public Attributes

array $addedProperties = []
 
array $remappedPropertyValues = []
 
array $remappedStates = []
 
array $removedProperties = []
 
array $renamedIds = []
 
array $renamedProperties = []
 
readonly int $versionId
 

Detailed Description

Definition at line 30 of file BlockStateUpgradeSchema.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema::__construct ( public readonly int  $maxVersionMajor,
public readonly int  $maxVersionMinor,
public readonly int  $maxVersionPatch,
public readonly int  $maxVersionRevision,
private int  $schemaId 
)

Definition at line 69 of file BlockStateUpgradeSchema.php.

Member Function Documentation

◆ getSchemaId()

pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema::getSchemaId ( )

Definition at line 87 of file BlockStateUpgradeSchema.php.

◆ getVersionId()

pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema::getVersionId ( )
Deprecated:
This is defined by Mojang, and therefore cannot be relied on. Use getSchemaId() instead for internal version management.

Definition at line 83 of file BlockStateUpgradeSchema.php.

◆ isEmpty()

pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema::isEmpty ( )

Definition at line 89 of file BlockStateUpgradeSchema.php.

Member Data Documentation

◆ $addedProperties

array pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema::$addedProperties = []

Definition at line 41 of file BlockStateUpgradeSchema.php.

◆ $remappedPropertyValues

array pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema::$remappedPropertyValues = []

Definition at line 59 of file BlockStateUpgradeSchema.php.

◆ $remappedStates

array pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema::$remappedStates = []

Definition at line 65 of file BlockStateUpgradeSchema.php.

◆ $removedProperties

array pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema::$removedProperties = []

Definition at line 47 of file BlockStateUpgradeSchema.php.

◆ $renamedIds

array pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema::$renamedIds = []

Definition at line 35 of file BlockStateUpgradeSchema.php.

◆ $renamedProperties

array pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema::$renamedProperties = []

Definition at line 53 of file BlockStateUpgradeSchema.php.

◆ $versionId

readonly int pocketmine\data\bedrock\block\upgrade\BlockStateUpgradeSchema::$versionId

Definition at line 67 of file BlockStateUpgradeSchema.php.


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