类 RecipeChoice.MaterialChoice
java.lang.Object
org.bukkit.inventory.RecipeChoice.MaterialChoice
- 所有已实现的接口:
Cloneable
,Predicate<ItemStack>
,RecipeChoice
- 封闭接口:
- RecipeChoice
Represents a choice of multiple matching Materials.
-
嵌套类概要
从接口继承的嵌套类/接口 org.bukkit.inventory.RecipeChoice
RecipeChoice.ExactChoice, RecipeChoice.MaterialChoice
-
构造器概要
构造器说明MaterialChoice
(@NotNull List<Material> choices) MaterialChoice
(@NotNull Material choice) MaterialChoice
(@NotNull Material... choices) MaterialChoice
(@NotNull Tag<Material> choices) Constructs a MaterialChoice with the current values of the specified tag. -
方法概要
-
构造器详细资料
-
MaterialChoice
-
MaterialChoice
-
MaterialChoice
Constructs a MaterialChoice with the current values of the specified tag.- 参数:
choices
- the tag
-
MaterialChoice
-
-
方法详细资料
-
test
- 指定者:
test
在接口中Predicate<ItemStack>
- 指定者:
test
在接口中RecipeChoice
-
getItemStack
从接口复制的说明:RecipeChoice
Gets a single item stack representative of this stack choice.- 指定者:
getItemStack
在接口中RecipeChoice
- 返回:
- a single representative item
-
getChoices
-
clone
- 指定者:
clone
在接口中RecipeChoice
- 覆盖:
clone
在类中Object
-
hashCode
public int hashCode() -
equals
-
toString
-