Class CookingRecipeJsonBuilder

java.lang.Object
net.minecraft.data.server.recipe.CookingRecipeJsonBuilder
All Implemented Interfaces:
CraftingRecipeJsonBuilder

public class CookingRecipeJsonBuilder extends Object implements CraftingRecipeJsonBuilder
Mappings:
Namespace Name
named net/minecraft/data/server/recipe/CookingRecipeJsonBuilder
intermediary net/minecraft/class_2454
official pf
  • Field Details

    • category

      private final RecipeCategory category
      Mappings:
      Namespace Name Mixin selector
      named category Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;category:Lnet/minecraft/recipe/book/RecipeCategory;
      intermediary field_40647 Lnet/minecraft/class_2454;field_40647:Lnet/minecraft/class_7800;
      official b Lpf;b:Lpa;
    • cookingCategory

      private final CookingRecipeCategory cookingCategory
      Mappings:
      Namespace Name Mixin selector
      named cookingCategory Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;cookingCategory:Lnet/minecraft/recipe/book/CookingRecipeCategory;
      intermediary field_40648 Lnet/minecraft/class_2454;field_40648:Lnet/minecraft/class_7709;
      official c Lpf;c:Ldbp;
    • output

      private final Item output
      Mappings:
      Namespace Name Mixin selector
      named output Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;output:Lnet/minecraft/item/Item;
      intermediary field_11417 Lnet/minecraft/class_2454;field_11417:Lnet/minecraft/class_1792;
      official d Lpf;d:Lcxk;
    • input

      private final Ingredient input
      Mappings:
      Namespace Name Mixin selector
      named input Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;input:Lnet/minecraft/recipe/Ingredient;
      intermediary field_11418 Lnet/minecraft/class_2454;field_11418:Lnet/minecraft/class_1856;
      official e Lpf;e:Ldbz;
    • experience

      private final float experience
      Mappings:
      Namespace Name Mixin selector
      named experience Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;experience:F
      intermediary field_11414 Lnet/minecraft/class_2454;field_11414:F
      official f Lpf;f:F
    • cookingTime

      private final int cookingTime
      Mappings:
      Namespace Name Mixin selector
      named cookingTime Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;cookingTime:I
      intermediary field_11415 Lnet/minecraft/class_2454;field_11415:I
      official g Lpf;g:I
    • criteria

      private final Map<String,AdvancementCriterion<?>> criteria
      Mappings:
      Namespace Name Mixin selector
      named criteria Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;criteria:Ljava/util/Map;
      intermediary field_46150 Lnet/minecraft/class_2454;field_46150:Ljava/util/Map;
      official h Lpf;h:Ljava/util/Map;
    • group

      @Nullable private @Nullable String group
      Mappings:
      Namespace Name Mixin selector
      named group Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;group:Ljava/lang/String;
      intermediary field_11419 Lnet/minecraft/class_2454;field_11419:Ljava/lang/String;
      official i Lpf;i:Ljava/lang/String;
    • recipeFactory

      private final AbstractCookingRecipe.RecipeFactory<?> recipeFactory
      Mappings:
      Namespace Name Mixin selector
      named recipeFactory Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;recipeFactory:Lnet/minecraft/recipe/AbstractCookingRecipe$RecipeFactory;
      intermediary field_47504 Lnet/minecraft/class_2454;field_47504:Lnet/minecraft/class_1874$class_3958;
      official j Lpf;j:Ldbj$a;
  • Constructor Details

    • CookingRecipeJsonBuilder

      private CookingRecipeJsonBuilder(RecipeCategory category, CookingRecipeCategory cookingCategory, ItemConvertible output, Ingredient input, float experience, int cookingTime, AbstractCookingRecipe.RecipeFactory<?> recipeFactory)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;<init>(Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/recipe/book/CookingRecipeCategory;Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/recipe/Ingredient;FILnet/minecraft/recipe/AbstractCookingRecipe$RecipeFactory;)V
      intermediary <init> Lnet/minecraft/class_2454;<init>(Lnet/minecraft/class_7800;Lnet/minecraft/class_7709;Lnet/minecraft/class_1935;Lnet/minecraft/class_1856;FILnet/minecraft/class_1874$class_3958;)V
      official <init> Lpf;<init>(Lpa;Ldbp;Ldhg;Ldbz;FILdbj$a;)V
  • Method Details

    • create

      public static <T extends AbstractCookingRecipe> CookingRecipeJsonBuilder create(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, RecipeSerializer<T> serializer, AbstractCookingRecipe.RecipeFactory<T> recipeFactory)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;FILnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/recipe/AbstractCookingRecipe$RecipeFactory;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
      intermediary method_17801 Lnet/minecraft/class_2454;method_17801(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;FILnet/minecraft/class_1865;Lnet/minecraft/class_1874$class_3958;)Lnet/minecraft/class_2454;
      official a Lpf;a(Ldbz;Lpa;Ldhg;FILdcn;Ldbj$a;)Lpf;
    • createCampfireCooking

      public static CookingRecipeJsonBuilder createCampfireCooking(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime)
      Mappings:
      Namespace Name Mixin selector
      named createCampfireCooking Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;createCampfireCooking(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
      intermediary method_35916 Lnet/minecraft/class_2454;method_35916(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;
      official a Lpf;a(Ldbz;Lpa;Ldhg;FI)Lpf;
    • createBlasting

      public static CookingRecipeJsonBuilder createBlasting(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime)
      Mappings:
      Namespace Name Mixin selector
      named createBlasting Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;createBlasting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
      intermediary method_10473 Lnet/minecraft/class_2454;method_10473(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;
      official b Lpf;b(Ldbz;Lpa;Ldhg;FI)Lpf;
    • createSmelting

      public static CookingRecipeJsonBuilder createSmelting(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime)
      Mappings:
      Namespace Name Mixin selector
      named createSmelting Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;createSmelting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
      intermediary method_17802 Lnet/minecraft/class_2454;method_17802(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;
      official c Lpf;c(Ldbz;Lpa;Ldhg;FI)Lpf;
    • createSmoking

      public static CookingRecipeJsonBuilder createSmoking(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime)
      Mappings:
      Namespace Name Mixin selector
      named createSmoking Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;createSmoking(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
      intermediary method_35918 Lnet/minecraft/class_2454;method_35918(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;
      official d Lpf;d(Ldbz;Lpa;Ldhg;FI)Lpf;
    • criterion

      public CookingRecipeJsonBuilder criterion(String string, AdvancementCriterion<?> advancementCriterion)
      Specified by:
      criterion in interface CraftingRecipeJsonBuilder
      Mappings:
      Namespace Name Mixin selector
      named criterion Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/AdvancementCriterion;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
      intermediary method_10469 Lnet/minecraft/class_2454;method_10469(Ljava/lang/String;Lnet/minecraft/class_175;)Lnet/minecraft/class_2454;
      official b Lpf;b(Ljava/lang/String;Lap;)Lpf;
    • group

      Specified by:
      group in interface CraftingRecipeJsonBuilder
      Mappings:
      Namespace Name Mixin selector
      named group Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
      intermediary method_35917 Lnet/minecraft/class_2454;method_35917(Ljava/lang/String;)Lnet/minecraft/class_2454;
      official b Lpf;b(Ljava/lang/String;)Lpf;
    • getOutputItem

      public Item getOutputItem()
      Specified by:
      getOutputItem in interface CraftingRecipeJsonBuilder
      Mappings:
      Namespace Name Mixin selector
      named getOutputItem Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;getOutputItem()Lnet/minecraft/item/Item;
      intermediary method_36441 Lnet/minecraft/class_5797;method_36441()Lnet/minecraft/class_1792;
      official a Loz;a()Lcxk;
    • offerTo

      public void offerTo(RecipeExporter exporter, RegistryKey<Recipe<?>> recipeKey)
      Specified by:
      offerTo in interface CraftingRecipeJsonBuilder
      Mappings:
      Namespace Name Mixin selector
      named offerTo Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/registry/RegistryKey;)V
      intermediary method_17972 Lnet/minecraft/class_5797;method_17972(Lnet/minecraft/class_8790;Lnet/minecraft/class_5321;)V
      official a Loz;a(Lpb;Laly;)V
    • getSmeltingRecipeCategory

      private static CookingRecipeCategory getSmeltingRecipeCategory(ItemConvertible output)
      Mappings:
      Namespace Name Mixin selector
      named getSmeltingRecipeCategory Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;getSmeltingRecipeCategory(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/recipe/book/CookingRecipeCategory;
      intermediary method_46216 Lnet/minecraft/class_2454;method_46216(Lnet/minecraft/class_1935;)Lnet/minecraft/class_7709;
      official b Lpf;b(Ldhg;)Ldbp;
    • getBlastingRecipeCategory

      private static CookingRecipeCategory getBlastingRecipeCategory(ItemConvertible output)
      Mappings:
      Namespace Name Mixin selector
      named getBlastingRecipeCategory Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;getBlastingRecipeCategory(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/recipe/book/CookingRecipeCategory;
      intermediary method_46217 Lnet/minecraft/class_2454;method_46217(Lnet/minecraft/class_1935;)Lnet/minecraft/class_7709;
      official c Lpf;c(Ldhg;)Ldbp;
    • getCookingRecipeCategory

      private static CookingRecipeCategory getCookingRecipeCategory(RecipeSerializer<? extends AbstractCookingRecipe> serializer, ItemConvertible output)
      Mappings:
      Namespace Name Mixin selector
      named getCookingRecipeCategory Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;getCookingRecipeCategory(Lnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/recipe/book/CookingRecipeCategory;
      intermediary method_46215 Lnet/minecraft/class_2454;method_46215(Lnet/minecraft/class_1865;Lnet/minecraft/class_1935;)Lnet/minecraft/class_7709;
      official a Lpf;a(Ldcn;Ldhg;)Ldbp;
    • validate

      private void validate(RegistryKey<Recipe<?>> recipeKey)
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;validate(Lnet/minecraft/registry/RegistryKey;)V
      intermediary method_10471 Lnet/minecraft/class_2454;method_10471(Lnet/minecraft/class_5321;)V
      official a Lpf;a(Laly;)V