PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
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.