Skip to content

CreativeInventoryEntry ​

final class · pocketmine\inventory\CreativeInventoryEntry · source

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\CreativeCategory

getGroup() ​

php
public function getGroup() : ?\pocketmine\inventory\CreativeGroup

getItem() ​

php
public function getItem() : \pocketmine\item\Item

matchesItem() ​

php
public function matchesItem(\pocketmine\item\Item $item) : bool

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.