PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\ItemTypeEntry Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\ItemTypeEntry:

Public Member Functions

 __construct (private string $stringId, private int $numericId, private bool $componentBased, private int $version, private CacheableNbt $componentNbt)
 
 getComponentNbt ()
 
 getNumericId ()
 
 getStringId ()
 
 getVersion ()
 
 isComponentBased ()
 

Detailed Description

Definition at line 17 of file ItemTypeEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\ItemTypeEntry::__construct ( private string $stringId,
private int $numericId,
private bool $componentBased,
private int $version,
private CacheableNbt $componentNbt )

@phpstan-param CacheableNbt<\pocketmine\nbt\tag\CompoundTag> $componentNbt

Definition at line 21 of file ItemTypeEntry.php.

Member Function Documentation

◆ getComponentNbt()

pocketmine\network\mcpe\protocol\types\ItemTypeEntry::getComponentNbt ( )

@phpstan-return CacheableNbt<\pocketmine\nbt\tag\CompoundTag>

Definition at line 38 of file ItemTypeEntry.php.

◆ getNumericId()

pocketmine\network\mcpe\protocol\types\ItemTypeEntry::getNumericId ( )

Definition at line 31 of file ItemTypeEntry.php.

◆ getStringId()

pocketmine\network\mcpe\protocol\types\ItemTypeEntry::getStringId ( )

Definition at line 29 of file ItemTypeEntry.php.

◆ getVersion()

pocketmine\network\mcpe\protocol\types\ItemTypeEntry::getVersion ( )

Definition at line 35 of file ItemTypeEntry.php.

◆ isComponentBased()

pocketmine\network\mcpe\protocol\types\ItemTypeEntry::isComponentBased ( )

Definition at line 33 of file ItemTypeEntry.php.


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