类 ShapedRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.ShapedRecipeBuilder
- 所有已实现的接口:
RecipeBuilder
-
字段概要
字段修饰符和类型字段说明private final RecipeCategory
private final int
private String
private final HolderGetter
<Item> private final Map
<Character, Ingredient> private final Item
private boolean
从接口继承的字段 net.minecraft.data.recipes.RecipeBuilder
ROOT_RECIPE_ADVANCEMENT
-
构造器概要
构造器限定符构造器说明private
ShapedRecipeBuilder
(HolderGetter<Item> p_364858_, RecipeCategory p_249996_, ItemLike p_251475_, int p_248948_) -
方法概要
修饰符和类型方法说明define
(Character p_126125_, Ingredient p_126126_) private ShapedRecipePattern
ensureValid
(ResourceKey<Recipe<?>> p_362567_) void
save
(RecipeOutput p_298334_, ResourceKey<Recipe<?>> p_366310_) static ShapedRecipeBuilder
shaped
(HolderGetter<Item> p_364206_, RecipeCategory p_251325_, ItemLike p_250636_) static ShapedRecipeBuilder
shaped
(HolderGetter<Item> p_364196_, RecipeCategory p_250853_, ItemLike p_249747_, int p_366751_) showNotification
(boolean p_273326_) unlockedBy
(String p_176751_, Criterion<?> p_300780_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.data.recipes.RecipeBuilder
save, save
-
字段详细资料
-
items
-
category
-
result
-
count
private final int count -
rows
-
key
-
criteria
-
group
-
showNotification
private boolean showNotification
-
-
构造器详细资料
-
ShapedRecipeBuilder
private ShapedRecipeBuilder(HolderGetter<Item> p_364858_, RecipeCategory p_249996_, ItemLike p_251475_, int p_248948_)
-
-
方法详细资料
-
shaped
public static ShapedRecipeBuilder shaped(HolderGetter<Item> p_364206_, RecipeCategory p_251325_, ItemLike p_250636_) -
shaped
public static ShapedRecipeBuilder shaped(HolderGetter<Item> p_364196_, RecipeCategory p_250853_, ItemLike p_249747_, int p_366751_) -
define
-
define
-
define
-
pattern
-
unlockedBy
- 指定者:
unlockedBy
在接口中RecipeBuilder
-
group
- 指定者:
group
在接口中RecipeBuilder
-
showNotification
-
getResult
- 指定者:
getResult
在接口中RecipeBuilder
-
save
- 指定者:
save
在接口中RecipeBuilder
-
ensureValid
-