ExactRecipeIngredient
Implements RecipeIngredient
Recipe ingredient that matches exactly one item, without wildcards. Note that recipe inputs cannot require NBT.
Methods
__construct()
php
public function __construct(\pocketmine\item\Item $item)__toString()
php
public function __toString() : stringaccepts()
php
public function accepts(\pocketmine\item\Item $item) : boolgetItem()
php
public function getItem() : \pocketmine\item\Item