java.lang.Cloneable
, java.util.function.Predicate<ItemStack>
, RecipeChoice
public static class RecipeChoice.MaterialChoice extends java.lang.Object implements RecipeChoice
RecipeChoice.MaterialChoice
Constructor | Description |
---|---|
MaterialChoice(java.util.List<Material> choices) |
Modifier and Type | Method | Description |
---|---|---|
RecipeChoice.MaterialChoice |
clone() |
|
boolean |
equals(java.lang.Object obj) |
|
java.util.List<Material> |
getChoices() |
|
ItemStack |
getItemStack() |
Gets a single item stack representative of this stack choice.
|
int |
hashCode() |
|
boolean |
test(ItemStack t) |
|
java.lang.String |
toString() |
public MaterialChoice(java.util.List<Material> choices)
public boolean test(ItemStack t)
test
in interface java.util.function.Predicate<ItemStack>
public ItemStack getItemStack()
RecipeChoice
getItemStack
in interface RecipeChoice
public java.util.List<Material> getChoices()
public RecipeChoice.MaterialChoice clone()
clone
in interface RecipeChoice
clone
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018. All rights reserved.