类 ShapelessRecipeBuilder.Result
java.lang.Object
net.minecraft.data.recipes.CraftingRecipeBuilder.CraftingResult
net.minecraft.data.recipes.ShapelessRecipeBuilder.Result
- 所有已实现的接口:
FinishedRecipe
-
字段概要
字段修饰符和类型字段说明private final Advancement.Builder
private final ResourceLocation
private final int
private final String
private final ResourceLocation
private final List<Ingredient>
private final Item
-
构造器概要
构造器构造器说明Result
(ResourceLocation pId, Item pResult, int pCount, String pGroup, CraftingBookCategory pCategory, List<Ingredient> pIngredients, Advancement.Builder pAdvancement, ResourceLocation pAdvancementId) -
方法概要
修饰符和类型方法说明getId()
getType()
com.google.gson.JsonObject
void
serializeRecipeData
(com.google.gson.JsonObject pJson) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.data.recipes.FinishedRecipe
serializeRecipe
-
字段详细资料
-
id
-
result
-
count
private final int count -
group
-
ingredients
-
advancement
-
advancementId
-
-
构造器详细资料
-
Result
public Result(ResourceLocation pId, Item pResult, int pCount, String pGroup, CraftingBookCategory pCategory, List<Ingredient> pIngredients, Advancement.Builder pAdvancement, ResourceLocation pAdvancementId)
-
-
方法详细资料
-
serializeRecipeData
public void serializeRecipeData(com.google.gson.JsonObject pJson) -
getType
-
getId
-
serializeAdvancement
@Nullable public com.google.gson.JsonObject serializeAdvancement() -
getAdvancementId
-