类 SmithingTrimRecipe
java.lang.Object
org.bukkit.inventory.SmithingRecipe
org.bukkit.inventory.SmithingTrimRecipe
- 所有已实现的接口:
ComplexRecipe
,Recipe
,Keyed
Represents a smithing trim recipe.
-
构造器概要
构造器构造器说明SmithingTrimRecipe
(@NotNull NamespacedKey key, @Nullable RecipeChoice template, @Nullable RecipeChoice base, @Nullable RecipeChoice addition) 已过时。trimPattern must be specifiedSmithingTrimRecipe
(@NotNull NamespacedKey key, @Nullable RecipeChoice template, @Nullable RecipeChoice base, @Nullable RecipeChoice addition, @NotNull TrimPattern trimPattern) -
方法概要
修饰符和类型方法说明Get the template recipe item.从类继承的方法 org.bukkit.inventory.SmithingRecipe
getAddition, getBase, getKey, getResult
-
构造器详细资料
-
SmithingTrimRecipe
@Deprecated(since="1.21.5") public SmithingTrimRecipe(@NotNull @NotNull NamespacedKey key, @Nullable @Nullable RecipeChoice template, @Nullable @Nullable RecipeChoice base, @Nullable @Nullable RecipeChoice addition) 已过时。trimPattern must be specifiedCreate a smithing recipe to produce the specified result ItemStack.- 参数:
key
- The unique recipe keytemplate
- The template item.base
- The base ingredientaddition
- The addition ingredient- 另请参阅:
-
SmithingTrimRecipe
public SmithingTrimRecipe(@NotNull @NotNull NamespacedKey key, @Nullable @Nullable RecipeChoice template, @Nullable @Nullable RecipeChoice base, @Nullable @Nullable RecipeChoice addition, @NotNull @NotNull TrimPattern trimPattern)
-
-
方法详细资料
-
getTemplate
Get the template recipe item.- 返回:
- template choice
-
getTrimPattern
-