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

Public Member Functions

 __construct (private int $entryId, private ItemStack $item, private int $groupId)
 
 getEntryId ()
 
 getGroupId ()
 
 getItem ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

Definition at line 22 of file CreativeItemEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\inventory\CreativeItemEntry::__construct ( private int $entryId,
private ItemStack $item,
private int $groupId )

Definition at line 23 of file CreativeItemEntry.php.

Member Function Documentation

◆ getEntryId()

pocketmine\network\mcpe\protocol\types\inventory\CreativeItemEntry::getEntryId ( )

Definition at line 29 of file CreativeItemEntry.php.

◆ getGroupId()

pocketmine\network\mcpe\protocol\types\inventory\CreativeItemEntry::getGroupId ( )

Definition at line 33 of file CreativeItemEntry.php.

◆ getItem()

pocketmine\network\mcpe\protocol\types\inventory\CreativeItemEntry::getItem ( )

Definition at line 31 of file CreativeItemEntry.php.

◆ read()

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

Definition at line 35 of file CreativeItemEntry.php.

◆ write()

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

Definition at line 42 of file CreativeItemEntry.php.


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