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