Cloneable, Predicate<ItemStack>, RecipeChoice@Deprecated public static class RecipeChoice.ExactChoice extends Object implements RecipeChoice
RecipeChoice.ExactChoice, RecipeChoice.MaterialChoice| Constructor | Description |
|---|---|
ExactChoice(List<ItemStack> choices) |
Deprecated.
|
ExactChoice(ItemStack stack) |
Deprecated.
|
ExactChoice(ItemStack... stacks) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
RecipeChoice.ExactChoice |
clone() |
Deprecated.
|
boolean |
equals(Object obj) |
Deprecated.
|
List<ItemStack> |
getChoices() |
Deprecated.
|
ItemStack |
getItemStack() |
Deprecated.
Gets a single item stack representative of this stack choice.
|
int |
hashCode() |
Deprecated.
|
boolean |
test(ItemStack t) |
Deprecated.
|
String |
toString() |
Deprecated.
|
public ExactChoice(@NotNull
ItemStack stack)
public ExactChoice(@NotNull
ItemStack... stacks)
@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 © 2020. All rights reserved.