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

Public Member Functions

 __construct (private int $categoryId, private string $categoryName, private ItemStack $icon)
 
 getCategoryId ()
 
 getCategoryName ()
 
 getIcon ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

Definition at line 22 of file CreativeGroupEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\inventory\CreativeGroupEntry::__construct ( private int $categoryId,
private string $categoryName,
private ItemStack $icon )

Definition at line 23 of file CreativeGroupEntry.php.

Member Function Documentation

◆ getCategoryId()

pocketmine\network\mcpe\protocol\types\inventory\CreativeGroupEntry::getCategoryId ( )

Definition at line 29 of file CreativeGroupEntry.php.

◆ getCategoryName()

pocketmine\network\mcpe\protocol\types\inventory\CreativeGroupEntry::getCategoryName ( )

Definition at line 31 of file CreativeGroupEntry.php.

◆ getIcon()

pocketmine\network\mcpe\protocol\types\inventory\CreativeGroupEntry::getIcon ( )

Definition at line 33 of file CreativeGroupEntry.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\inventory\CreativeGroupEntry::read ( ByteBufferReader $in)
static

Definition at line 35 of file CreativeGroupEntry.php.

◆ write()

pocketmine\network\mcpe\protocol\types\inventory\CreativeGroupEntry::write ( ByteBufferWriter $out)

Definition at line 42 of file CreativeGroupEntry.php.


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