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()
RecipeChoice
getItemStack
in interface RecipeChoice
@NotNull public RecipeChoice.ExactChoice clone()
clone
in interface RecipeChoice
clone
in class Object
public boolean test(@NotNull ItemStack t)
test
in interface Predicate<ItemStack>
test
in interface RecipeChoice
Copyright © 2022. All rights reserved.