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