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