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