PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
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: