PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
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: