PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
|
Public Member Functions | |
__construct (private string $itemId,) | |
__toString () | |
accepts (Item $item) | |
getItemId () | |
Recipe ingredient that matches items by their Minecraft ID only. This is used for things like the crafting table recipe from planks (multiple types of planks are accepted).
WARNING: Plugins shouldn't usually use this. This is a hack that relies on internal Minecraft behaviour, which might change or break at any time.
Definition at line 38 of file MetaWildcardRecipeIngredient.php.
pocketmine\crafting\MetaWildcardRecipeIngredient::__construct | ( | private string | $itemId | ) |
Definition at line 40 of file MetaWildcardRecipeIngredient.php.
pocketmine\crafting\MetaWildcardRecipeIngredient::__toString | ( | ) |
Definition at line 54 of file MetaWildcardRecipeIngredient.php.
pocketmine\crafting\MetaWildcardRecipeIngredient::accepts | ( | Item | $item | ) |
Implements pocketmine\crafting\RecipeIngredient.
Definition at line 46 of file MetaWildcardRecipeIngredient.php.
pocketmine\crafting\MetaWildcardRecipeIngredient::getItemId | ( | ) |
Definition at line 44 of file MetaWildcardRecipeIngredient.php.