类 ModShapedRecipeBuilder

java.lang.Object
net.minecraft.data.recipes.CraftingRecipeBuilder
committee.nova.mods.avaritia.init.data.provider.recipe.ModShapedRecipeBuilder
所有已实现的接口:
net.minecraft.data.recipes.RecipeBuilder

public class ModShapedRecipeBuilder extends net.minecraft.data.recipes.CraftingRecipeBuilder implements net.minecraft.data.recipes.RecipeBuilder
Name: Avaritia-forge / ModRecipeBuilder
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    static class 
     

    从类继承的嵌套类/接口 net.minecraft.data.recipes.CraftingRecipeBuilder

    net.minecraft.data.recipes.CraftingRecipeBuilder.CraftingResult
  • 字段概要

    从接口继承的字段 net.minecraft.data.recipes.RecipeBuilder

    ROOT_RECIPE_ADVANCEMENT
  • 构造器概要

    构造器
    构造器
    说明
    ModShapedRecipeBuilder(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.resources.ResourceLocation itemLocation, int count, int tier, net.minecraft.nbt.CompoundTag nbt)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    define(Character character, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> tagKey)
     
    define(Character character, net.minecraft.world.item.crafting.Ingredient ingredient)
     
    define(Character character, net.minecraft.world.item.ItemStack stack)
     
    define(Character character, net.minecraft.world.level.ItemLike itemLike)
     
    @NotNull net.minecraft.world.item.Item
     
    group(String pGroupName)
     
     
    void
    save(@NotNull Consumer<net.minecraft.data.recipes.FinishedRecipe> recipeConsumer, @NotNull net.minecraft.resources.ResourceLocation location)
     
    static @NotNull ModShapedRecipeBuilder
    shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation)
     
    static @NotNull ModShapedRecipeBuilder
    shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation, int tier)
     
    static @NotNull ModShapedRecipeBuilder
    shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation, net.minecraft.nbt.CompoundTag nbt)
     
    static @NotNull ModShapedRecipeBuilder
    shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation, net.minecraft.nbt.CompoundTag nbt, int tier)
     
    static @NotNull ModShapedRecipeBuilder
    shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike)
     
    static @NotNull ModShapedRecipeBuilder
    shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, int tier)
     
    static @NotNull ModShapedRecipeBuilder
    shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, int count, int tier)
     
    static @NotNull ModShapedRecipeBuilder
    shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.nbt.CompoundTag nbt)
     
    static @NotNull ModShapedRecipeBuilder
    shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.nbt.CompoundTag nbt, int tier)
     
    static @NotNull ModShapedRecipeBuilder
    shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.resources.ResourceLocation itemLocation, int count, int tier, net.minecraft.nbt.CompoundTag nbt)
     
    showNotification(boolean show)
     
    unlockedBy(@NotNull String string, @NotNull net.minecraft.advancements.CriterionTriggerInstance pCriterionTrigger)
     

    从类继承的方法 net.minecraft.data.recipes.CraftingRecipeBuilder

    determineBookCategory

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 net.minecraft.data.recipes.RecipeBuilder

    save, save
  • 构造器详细资料

    • ModShapedRecipeBuilder

      public ModShapedRecipeBuilder(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.resources.ResourceLocation itemLocation, int count, int tier, net.minecraft.nbt.CompoundTag nbt)
  • 方法详细资料

    • shaped

      @Contract("_, _, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation, net.minecraft.nbt.CompoundTag nbt, int tier)
    • shaped

      @Contract("_, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation, net.minecraft.nbt.CompoundTag nbt)
    • shaped

      @Contract("_, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation, int tier)
    • shaped

      @Contract("_, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation)
    • shaped

      @Contract("_, _, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.nbt.CompoundTag nbt, int tier)
    • shaped

      @Contract("_, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.nbt.CompoundTag nbt)
    • shaped

      @Contract("_, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, int tier)
    • shaped

      @Contract("_, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike)
    • shaped

      @Contract("_, _, _, _, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.resources.ResourceLocation itemLocation, int count, int tier, net.minecraft.nbt.CompoundTag nbt)
    • shaped

      @Contract("_,_,_,_ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, int count, int tier)
    • define

      public ModShapedRecipeBuilder define(Character character, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> tagKey)
    • define

      public ModShapedRecipeBuilder define(Character character, net.minecraft.world.level.ItemLike itemLike)
    • define

      public ModShapedRecipeBuilder define(Character character, net.minecraft.world.item.ItemStack stack)
    • define

      public ModShapedRecipeBuilder define(Character character, net.minecraft.world.item.crafting.Ingredient ingredient)
    • pattern

      public ModShapedRecipeBuilder pattern(String s)
    • unlockedBy

      @NotNull public @NotNull ModShapedRecipeBuilder unlockedBy(@NotNull @NotNull String string, @NotNull @NotNull net.minecraft.advancements.CriterionTriggerInstance pCriterionTrigger)
      指定者:
      unlockedBy 在接口中 net.minecraft.data.recipes.RecipeBuilder
    • group

      @NotNull public @NotNull ModShapedRecipeBuilder group(@Nullable String pGroupName)
      指定者:
      group 在接口中 net.minecraft.data.recipes.RecipeBuilder
    • showNotification

      public ModShapedRecipeBuilder showNotification(boolean show)
    • getResult

      @NotNull public @NotNull net.minecraft.world.item.Item getResult()
      指定者:
      getResult 在接口中 net.minecraft.data.recipes.RecipeBuilder
    • save

      public void save(@NotNull @NotNull Consumer<net.minecraft.data.recipes.FinishedRecipe> recipeConsumer, @NotNull @NotNull net.minecraft.resources.ResourceLocation location)
      指定者:
      save 在接口中 net.minecraft.data.recipes.RecipeBuilder