interface · pocketmine\data\bedrock\block\BlockStateSerializer · source
Implementors of this interface decide how blockstate IDs will be represented as NBT.
public function serialize(int $stateId) : \pocketmine\data\bedrock\block\BlockStateDataSerializes an implementation-defined blockstate ID to NBT for storage.