Package org.bukkit.inventory
Interface RecipeChoice.ItemTypeChoice
- All Superinterfaces:
Cloneable,Predicate<ItemStack>,RecipeChoice
- Enclosing interface:
RecipeChoice
Represents a choice that will be valid if the
ItemStack.getType()
matches any of the item types in the set.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.inventory.RecipeChoice
RecipeChoice.ExactChoice, RecipeChoice.ItemTypeChoice, RecipeChoice.MaterialChoice -
Method Summary
Modifier and TypeMethodDescriptionGets the set of item types that this choice will match.Methods inherited from interface org.bukkit.inventory.RecipeChoice
clone, getItemStack, test, validate
-
Method Details
-
itemTypes
RegistryKeySet<ItemType> itemTypes()Gets the set of item types that this choice will match.- Returns:
- the set of item types
-