类 RecipeChoice.MaterialChoice
java.lang.Object
org.bukkit.inventory.RecipeChoice.MaterialChoice
- 所有已实现的接口:
Cloneable,Predicate<ItemStack>,RecipeChoice
- 封闭接口:
- RecipeChoice
代表多个匹配材料的选择。
-
嵌套类概要
从接口继承的嵌套类/接口 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) 使用指定标签的当前值构造一个 MaterialChoice。 -
方法概要
-
构造器详细资料
-
MaterialChoice
-
MaterialChoice
-
MaterialChoice
使用指定标签的当前值构造一个 MaterialChoice。- 参数:
choices- 标签。原文:Constructs a MaterialChoice with the current values of the specified tag.
-
MaterialChoice
-
-
方法详细资料
-
test
- 指定者:
test在接口中Predicate<ItemStack>- 指定者:
test在接口中RecipeChoice
-
getItemStack
从接口复制的说明:RecipeChoice获取此物品栈选择的单个代表性物品栈。- 指定者:
getItemStack在接口中RecipeChoice- 返回:
- 单个代表性物品。
-
getChoices
-
clone
- 指定者:
clone在接口中RecipeChoice- 覆盖:
clone在类中Object
-
hashCode
public int hashCode() -
equals
-
toString
-