类 ModShapedRecipeBuilder.Result
java.lang.Object
committee.nova.mods.avaritia.init.data.provider.recipe.ModShapedRecipeBuilder.Result
- 所有已实现的接口:
net.minecraft.data.recipes.FinishedRecipe
-
构造器概要
构造器构造器说明Result(net.minecraft.resources.ResourceLocation resourceLocation, net.minecraft.world.level.ItemLike item, net.minecraft.resources.ResourceLocation result2, int count, int tier, net.minecraft.nbt.CompoundTag nbt, String group, net.minecraft.world.item.crafting.CraftingBookCategory p_273500_, List<String> p_273744_, Map<Character, net.minecraft.world.item.crafting.Ingredient> p_272991_, net.minecraft.advancements.Advancement.Builder p_273260_, net.minecraft.resources.ResourceLocation p_273106_, boolean p_272862_) -
方法概要
修饰符和类型方法说明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 pJson) 从类继承的方法 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 resourceLocation, net.minecraft.world.level.ItemLike item, net.minecraft.resources.ResourceLocation result2, int count, int tier, net.minecraft.nbt.CompoundTag nbt, String group, net.minecraft.world.item.crafting.CraftingBookCategory p_273500_, List<String> p_273744_, Map<Character, net.minecraft.world.item.crafting.Ingredient> p_272991_, net.minecraft.advancements.Advancement.Builder p_273260_, net.minecraft.resources.ResourceLocation p_273106_, boolean p_272862_)
-
-
方法详细资料
-
serializeRecipeData
public void serializeRecipeData(@NotNull @NotNull com.google.gson.JsonObject pJson) - 指定者:
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()
-