public static class RecipeChoice.MaterialChoice extends Object implements RecipeChoice
RecipeChoice.ExactChoice, RecipeChoice.MaterialChoice| Constructor and Description | 
|---|
MaterialChoice(List<Material> choices)  | 
MaterialChoice(Material... choices)  | 
MaterialChoice(Material choice)  | 
| Modifier and Type | Method and Description | 
|---|---|
RecipeChoice.MaterialChoice | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<Material> | 
getChoices()  | 
ItemStack | 
getItemStack()
Gets a single item stack representative of this stack choice. 
 | 
int | 
hashCode()  | 
boolean | 
test(ItemStack t)  | 
String | 
toString()  | 
public MaterialChoice(@NotNull
                      Material choice)
public MaterialChoice(@NotNull
                      Material... choices)
public boolean test(@NotNull
                    ItemStack t)
test in interface Predicate<ItemStack>test in interface RecipeChoice@NotNull public ItemStack getItemStack()
RecipeChoicegetItemStack in interface RecipeChoice@NotNull public RecipeChoice.MaterialChoice clone()
clone in interface RecipeChoiceclone in class ObjectCopyright © 2022. All rights reserved.