|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Inheritance diagram for pocketmine\crafting\MetaWildcardRecipeIngredient:
Collaboration diagram for pocketmine\crafting\MetaWildcardRecipeIngredient: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.