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