Definition at line 45 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 338 of file BlockStateReader.php.
◆ missingOrWrongTypeException()
pocketmine\data\bedrock\block\convert\BlockStateReader::missingOrWrongTypeException |
( |
string | $name, |
|
|
?Tag | $tag ) |
◆ read5MinusHorizontalFacing()
pocketmine\data\bedrock\block\convert\BlockStateReader::read5MinusHorizontalFacing |
( |
| ) |
|
This is for trapdoors, because Mojang botched the conversion in 1.13
- Exceptions
-
BlockStateDeserializeException | |
Definition at line 218 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 |
( |
| ) |
|
Used by pumpkins as of 1.20.0.23 beta
- Exceptions
-
BlockStateDeserializeException | |
Definition at line 231 of file BlockStateReader.php.
◆ 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 |
( |
| ) |
|
@phpstan-return Axis::*
- Exceptions
-
BlockStateDeserializeException | |
Definition at line 272 of file BlockStateReader.php.
◆ 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 |
( |
| ) |
|
@phpstan-return Facing::UP|Facing::NORTH|Facing::SOUTH|Facing::WEST|Facing::EAST
- Exceptions
-
BlockStateDeserializeException | |
Definition at line 298 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 349 of file BlockStateReader.php.
The documentation for this class was generated from the following file: