PocketMine-MP 5.18.1 git-9381fc4172e5dce4cada1cb356050c8a2ab57b94
|
Public Member Functions | |
deserialize (BlockStateData $stateData) | |
Implementors of this interface decide how a block should be deserialized and represented at runtime. This is used by world providers when decoding blockstates into block IDs.
@phpstan-type BlockStateId int
Definition at line 32 of file BlockStateDeserializer.php.
pocketmine\data\bedrock\block\BlockStateDeserializer::deserialize | ( | BlockStateData | $stateData | ) |
Deserializes blockstate NBT into an implementation-defined blockstate ID, for runtime paletted storage.
@phpstan-return BlockStateId
BlockStateDeserializeException |
Implemented in pocketmine\data\bedrock\block\convert\BlockStateToObjectDeserializer.