| 
    PocketMine-MP 5.37.1 git-cef37e7835c666594588f957a47b27d521c6a58e
    
   | 
 
 Inheritance diagram for pocketmine\data\bedrock\block\BlockStateSerializer:
 Collaboration diagram for pocketmine\data\bedrock\block\BlockStateSerializer:Public Member Functions | |
| serialize (int $stateId) | |
Implementors of this interface decide how blockstate IDs will be represented as NBT.
@phpstan-type BlockStateId int
Definition at line 31 of file BlockStateSerializer.php.
| pocketmine\data\bedrock\block\BlockStateSerializer::serialize | ( | int | $stateId | ) | 
Serializes an implementation-defined blockstate ID to NBT for storage.
@phpstan-param BlockStateId $stateId
| BlockStateSerializeException | 
Implemented in pocketmine\data\bedrock\block\convert\BlockObjectToStateSerializer.