类 ModShapelessRecipeBuilder.Result
java.lang.Object
committee.nova.mods.avaritia.init.data.provider.recipe.ModShapelessRecipeBuilder.Result
- 所有已实现的接口:
net.minecraft.data.recipes.FinishedRecipe
-
构造器概要
构造器构造器说明Result(net.minecraft.resources.ResourceLocation p_249007_, net.minecraft.world.item.Item p_248667_, int count, int tier, String p_248592_, net.minecraft.world.item.crafting.CraftingBookCategory p_249485_, List<net.minecraft.world.item.crafting.Ingredient> p_252312_, net.minecraft.advancements.Advancement.Builder p_249909_, net.minecraft.resources.ResourceLocation p_249109_) -
方法概要
修饰符和类型方法说明net.minecraft.resources.ResourceLocation@NotNull net.minecraft.resources.ResourceLocationgetId()@NotNull net.minecraft.world.item.crafting.RecipeSerializer<?>getType()com.google.gson.JsonObjectvoidserializeRecipeData(@NotNull com.google.gson.JsonObject p_126230_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 net.minecraft.data.recipes.FinishedRecipe
serializeRecipe
-
构造器详细资料
-
Result
public Result(net.minecraft.resources.ResourceLocation p_249007_, net.minecraft.world.item.Item p_248667_, int count, int tier, String p_248592_, net.minecraft.world.item.crafting.CraftingBookCategory p_249485_, List<net.minecraft.world.item.crafting.Ingredient> p_252312_, net.minecraft.advancements.Advancement.Builder p_249909_, net.minecraft.resources.ResourceLocation p_249109_)
-
-
方法详细资料
-
serializeRecipeData
public void serializeRecipeData(@NotNull @NotNull com.google.gson.JsonObject p_126230_) - 指定者:
serializeRecipeData在接口中net.minecraft.data.recipes.FinishedRecipe
-
getType
@NotNull public @NotNull net.minecraft.world.item.crafting.RecipeSerializer<?> getType() -
getId
@NotNull public @NotNull net.minecraft.resources.ResourceLocation getId() -
serializeAdvancement
@Nullable public com.google.gson.JsonObject serializeAdvancement() -
getAdvancementId
@Nullable public net.minecraft.resources.ResourceLocation getAdvancementId()
-