PocketMine-MP 5.25.1 git-694aa17cc916a954b10fe12721c81b1dc73eecd5
Loading...
Searching...
No Matches
pocketmine\inventory\CreativeInventoryEntry Class Reference
+ Collaboration diagram for pocketmine\inventory\CreativeInventoryEntry:

Public Member Functions

 __construct (Item $item, private readonly CreativeCategory $category, private readonly ?CreativeGroup $group=null)
 
 getCategory ()
 
 getGroup ()
 
 getItem ()
 
 matchesItem (Item $item)
 

Detailed Description

Definition at line 28 of file CreativeInventoryEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\inventory\CreativeInventoryEntry::__construct ( Item $item,
private readonly CreativeCategory $category,
private readonly ?CreativeGroup $group = null )

Definition at line 31 of file CreativeInventoryEntry.php.

Member Function Documentation

◆ getCategory()

pocketmine\inventory\CreativeInventoryEntry::getCategory ( )

Definition at line 41 of file CreativeInventoryEntry.php.

◆ getGroup()

pocketmine\inventory\CreativeInventoryEntry::getGroup ( )

Definition at line 43 of file CreativeInventoryEntry.php.

◆ getItem()

pocketmine\inventory\CreativeInventoryEntry::getItem ( )

Definition at line 39 of file CreativeInventoryEntry.php.

◆ matchesItem()

pocketmine\inventory\CreativeInventoryEntry::matchesItem ( Item $item)

Definition at line 45 of file CreativeInventoryEntry.php.


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