PocketMine-MP 5.16.1 git-585aee9386a787c95e73dd0a05ffca8329606b68
pocketmine\item\ItemIdentifier Class Reference
+ Collaboration diagram for pocketmine\item\ItemIdentifier:

Public Member Functions

 __construct (private int $typeId)
 
 getTypeId ()
 

Static Public Member Functions

static fromBlock (Block $block)
 

Detailed Description

Definition at line 28 of file ItemIdentifier.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\item\ItemIdentifier::__construct ( private int  $typeId)

Definition at line 29 of file ItemIdentifier.php.

Member Function Documentation

◆ fromBlock()

static pocketmine\item\ItemIdentifier::fromBlock ( Block  $block)
static

Definition at line 33 of file ItemIdentifier.php.

◆ getTypeId()

pocketmine\item\ItemIdentifier::getTypeId ( )

Definition at line 38 of file ItemIdentifier.php.


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