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