|
PocketMine-MP 5.43.2 git-a137a986d01d9af23452b2e741699a770c7ae112
|
Collaboration diagram for pocketmine\data\bedrock\block\convert\BlockStateReader:Public Member Functions | |
| __construct (private BlockStateData $data) | |
| badValueException (string $name, string $stringifiedValue, ?string $reason=null) | |
| checkUnreadProperties () | |
| ignored (string $name) | |
| missingOrWrongTypeException (string $name, ?Tag $tag) | |
| readBool (string $name) | |
| readBoundedInt (string $name, int $min, int $max) | |
| readInt (string $name) | |
| readString (string $name) | |
| todo (string $name) | |
Definition at line 37 of file BlockStateReader.php.
| pocketmine\data\bedrock\block\convert\BlockStateReader::__construct | ( | private BlockStateData | $data | ) |
Definition at line 45 of file BlockStateReader.php.
| pocketmine\data\bedrock\block\convert\BlockStateReader::badValueException | ( | string | $name, |
| string | $stringifiedValue, | ||
| ?string | $reason = null ) |
Definition at line 55 of file BlockStateReader.php.
| pocketmine\data\bedrock\block\convert\BlockStateReader::checkUnreadProperties | ( | ) |
| BlockStateDeserializeException |
Definition at line 127 of file BlockStateReader.php.
| 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 109 of file BlockStateReader.php.
| pocketmine\data\bedrock\block\convert\BlockStateReader::missingOrWrongTypeException | ( | string | $name, |
| ?Tag | $tag ) |
Definition at line 51 of file BlockStateReader.php.
| pocketmine\data\bedrock\block\convert\BlockStateReader::readBool | ( | string | $name | ) |
| BlockStateDeserializeException |
Definition at line 63 of file BlockStateReader.php.
References pocketmine\nbt\tag\Tag\getValue().
Here is the call graph for this function:| pocketmine\data\bedrock\block\convert\BlockStateReader::readBoundedInt | ( | string | $name, |
| int | $min, | ||
| int | $max ) |
| BlockStateDeserializeException |
Definition at line 87 of file BlockStateReader.php.
| pocketmine\data\bedrock\block\convert\BlockStateReader::readInt | ( | string | $name | ) |
| BlockStateDeserializeException |
Definition at line 77 of file BlockStateReader.php.
References pocketmine\nbt\tag\Tag\getValue().
Here is the call graph for this function:| pocketmine\data\bedrock\block\convert\BlockStateReader::readString | ( | string | $name | ) |
| BlockStateDeserializeException |
Definition at line 96 of file BlockStateReader.php.
References pocketmine\nbt\tag\Tag\getValue().
Here is the call graph for this function:| pocketmine\data\bedrock\block\convert\BlockStateReader::todo | ( | string | $name | ) |
Used to mark unused properties that haven't been implemented yet
Definition at line 120 of file BlockStateReader.php.