PocketMine-MP 5.15.1 git-fb9a74e8799c71ed8292cfa53abe7a4c9204629d
pocketmine\block\BlockIdentifier Class Reference
+ Collaboration diagram for pocketmine\block\BlockIdentifier:

Public Member Functions

 __construct (private int $blockTypeId, private ?string $tileClass=null)
 getBlockTypeId ()
 getTileClass ()

Detailed Description

Definition at line 29 of file BlockIdentifier.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\block\BlockIdentifier::__construct ( private int  $blockTypeId,
private ?string  $tileClass = null 

@phpstan-param class-string<Tile>|null $tileClass

Definition at line 33 of file BlockIdentifier.php.

References pocketmine\utils\Utils\testValidInstance().

+ Here is the call graph for this function:

Member Function Documentation

◆ getBlockTypeId()

pocketmine\block\BlockIdentifier::getBlockTypeId ( )

Definition at line 45 of file BlockIdentifier.php.

◆ getTileClass()

pocketmine\block\BlockIdentifier::getTileClass ( )

@phpstan-return class-string<Tile>|null

Definition at line 50 of file BlockIdentifier.php.

The documentation for this class was generated from the following file: