CreativeInventoryEntry
Methods
__construct()
php
public function __construct(\pocketmine\item\Item $item, \pocketmine\inventory\CreativeCategory $category, ?\pocketmine\inventory\CreativeGroup $group = null)getCategory()
php
public function getCategory() : \pocketmine\inventory\CreativeCategorygetGroup()
php
public function getGroup() : ?\pocketmine\inventory\CreativeGroupgetItem()
php
public function getItem() : \pocketmine\item\ItemmatchesItem()
php
public function matchesItem(\pocketmine\item\Item $item) : bool