BlockStateUpgradeSchema
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 $versionIdMethods
__construct()
php
public function __construct(int $maxVersionMajor, int $maxVersionMinor, int $maxVersionPatch, int $maxVersionRevision, int $schemaId)getSchemaId()
php
public function getSchemaId() : intgetVersionId()
php
public function getVersionId() : intDeprecated
This is defined by Mojang, and therefore cannot be relied on. Use getSchemaId() instead for
isEmpty()
php
public function isEmpty() : bool