Definition at line 48 of file BlockStateReader.php.
◆ __construct()
| pocketmine\data\bedrock\block\convert\BlockStateReader::__construct |
( |
private BlockStateData | $data | ) |
|
◆ badValueException()
| pocketmine\data\bedrock\block\convert\BlockStateReader::badValueException |
( |
string | $name, |
|
|
string | $stringifiedValue, |
|
|
?string | $reason = null ) |
◆ checkUnreadProperties()
| pocketmine\data\bedrock\block\convert\BlockStateReader::checkUnreadProperties |
( |
| ) |
|
◆ ignored()
| pocketmine\data\bedrock\block\convert\BlockStateReader::ignored |
( |
string | $name | ) |
|
Explicitly mark a property as unused, so it doesn't get flagged as an error when debug mode is enabled
Definition at line 334 of file BlockStateReader.php.
◆ mapIntFromInt()
| pocketmine\data\bedrock\block\convert\BlockStateReader::mapIntFromInt |
( |
string | $name, |
|
|
IntFromRawStateMap | $map ) |
◆ mapIntFromString()
| pocketmine\data\bedrock\block\convert\BlockStateReader::mapIntFromString |
( |
string | $name, |
|
|
IntFromRawStateMap | $map ) |
◆ missingOrWrongTypeException()
| pocketmine\data\bedrock\block\convert\BlockStateReader::missingOrWrongTypeException |
( |
string | $name, |
|
|
?Tag | $tag ) |
◆ read5MinusHorizontalFacing()
| pocketmine\data\bedrock\block\convert\BlockStateReader::read5MinusHorizontalFacing |
( |
| ) |
|
- Deprecated
- This is for trapdoors, because Mojang botched the conversion in 1.13
- Exceptions
-
| BlockStateDeserializeException | |
Definition at line 217 of file BlockStateReader.php.
◆ readBellAttachmentType()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readBellAttachmentType |
( |
| ) |
|
◆ readBlockFace()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readBlockFace |
( |
| ) |
|
◆ readBool()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readBool |
( |
string | $name | ) |
|
◆ readBoundedInt()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readBoundedInt |
( |
string | $name, |
|
|
int | $min, |
|
|
int | $max ) |
◆ readCardinalHorizontalFacing()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readCardinalHorizontalFacing |
( |
| ) |
|
◆ readCoralFacing()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readCoralFacing |
( |
| ) |
|
◆ readEndRodFacingDirection()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readEndRodFacingDirection |
( |
| ) |
|
◆ readFacingDirection()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readFacingDirection |
( |
| ) |
|
◆ readFacingFlags()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readFacingFlags |
( |
| ) |
|
◆ readFacingWithoutDown()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readFacingWithoutDown |
( |
| ) |
|
◆ readFacingWithoutUp()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readFacingWithoutUp |
( |
| ) |
|
◆ readHorizontalFacing()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readHorizontalFacing |
( |
| ) |
|
◆ readInt()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readInt |
( |
string | $name | ) |
|
◆ readLegacyHorizontalFacing()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readLegacyHorizontalFacing |
( |
| ) |
|
◆ readPillarAxis()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readPillarAxis |
( |
| ) |
|
◆ readSlabPosition()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readSlabPosition |
( |
| ) |
|
◆ readString()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readString |
( |
string | $name | ) |
|
◆ readTorchFacing()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readTorchFacing |
( |
| ) |
|
◆ readUnitEnum()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readUnitEnum |
( |
string | $name, |
|
|
EnumFromRawStateMap | $map ) |
- Deprecated
- @phpstan-template TEnum of \UnitEnum @phpstan-param EnumFromRawStateMap<TEnum, string> $map @phpstan-return TEnum
- Exceptions
-
| BlockStateDeserializeException | |
Definition at line 321 of file BlockStateReader.php.
◆ readWallConnectionType()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readWallConnectionType |
( |
string | $name | ) |
|
◆ readWeirdoHorizontalFacing()
| pocketmine\data\bedrock\block\convert\BlockStateReader::readWeirdoHorizontalFacing |
( |
| ) |
|
◆ todo()
| pocketmine\data\bedrock\block\convert\BlockStateReader::todo |
( |
string | $name | ) |
|
Used to mark unused properties that haven't been implemented yet
Definition at line 345 of file BlockStateReader.php.
The documentation for this class was generated from the following file: