Class CookingRecipeJsonFactory

java.lang.Object
net.minecraft.data.server.recipe.CookingRecipeJsonFactory
All Implemented Interfaces:
CraftingRecipeJsonFactory

public class CookingRecipeJsonFactory extends Object implements CraftingRecipeJsonFactory
Mappings:
Namespace Name
official kb
intermediary net/minecraft/class_2454
named net/minecraft/data/server/recipe/CookingRecipeJsonFactory
  • Field Details

    • output

      private final Item output
      Mappings:
      Namespace Name Mixin selector
      official a Lkb;a:Lbql;
      intermediary field_11417 Lnet/minecraft/class_2454;field_11417:Lnet/minecraft/class_1792;
      named output Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;output:Lnet/minecraft/item/Item;
    • input

      private final Ingredient input
      Mappings:
      Namespace Name Mixin selector
      official b Lkb;b:Lbte;
      intermediary field_11418 Lnet/minecraft/class_2454;field_11418:Lnet/minecraft/class_1856;
      named input Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;input:Lnet/minecraft/recipe/Ingredient;
    • experience

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

      private final int cookingTime
      Mappings:
      Namespace Name Mixin selector
      official d Lkb;d:I
      intermediary field_11415 Lnet/minecraft/class_2454;field_11415:I
      named cookingTime Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;cookingTime:I
    • builder

      private final Advancement.Task builder
      Mappings:
      Namespace Name Mixin selector
      official e Lkb;e:Lae$a;
      intermediary field_11416 Lnet/minecraft/class_2454;field_11416:Lnet/minecraft/class_161$class_162;
      named builder Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;builder:Lnet/minecraft/advancement/Advancement$Task;
    • group

      @Nullable private @Nullable String group
      Mappings:
      Namespace Name Mixin selector
      official f Lkb;f:Ljava/lang/String;
      intermediary field_11419 Lnet/minecraft/class_2454;field_11419:Ljava/lang/String;
      named group Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;group:Ljava/lang/String;
    • serializer

      private final CookingRecipeSerializer<?> serializer
      Mappings:
      Namespace Name Mixin selector
      official g Lkb;g:Lbtq;
      intermediary field_17599 Lnet/minecraft/class_2454;field_17599:Lnet/minecraft/class_3957;
      named serializer Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;serializer:Lnet/minecraft/recipe/CookingRecipeSerializer;
  • Constructor Details

    • CookingRecipeJsonFactory

      private CookingRecipeJsonFactory(ItemConvertible output, Ingredient input, float experience, int cookingTime, CookingRecipeSerializer<?> serializer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkb;<init>(Lbwo;Lbte;FILbtq;)V
      intermediary <init> Lnet/minecraft/class_2454;<init>(Lnet/minecraft/class_1935;Lnet/minecraft/class_1856;FILnet/minecraft/class_3957;)V
      named <init> Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;<init>(Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/recipe/Ingredient;FILnet/minecraft/recipe/CookingRecipeSerializer;)V
  • Method Details

    • create

      public static CookingRecipeJsonFactory create(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime, CookingRecipeSerializer<?> serializer)
      Mappings:
      Namespace Name Mixin selector
      official a Lkb;a(Lbte;Lbwo;FILbtq;)Lkb;
      intermediary method_17801 Lnet/minecraft/class_2454;method_17801(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FILnet/minecraft/class_3957;)Lnet/minecraft/class_2454;
      named create Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FILnet/minecraft/recipe/CookingRecipeSerializer;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
    • create

      public static CookingRecipeJsonFactory create(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime)
      Mappings:
      Namespace Name Mixin selector
      official a Lkb;a(Lbte;Lbwo;FI)Lkb;
      intermediary method_35916 Lnet/minecraft/class_2454;method_35916(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;
      named create Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
    • createBlasting

      public static CookingRecipeJsonFactory createBlasting(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime)
      Mappings:
      Namespace Name Mixin selector
      official b Lkb;b(Lbte;Lbwo;FI)Lkb;
      intermediary method_10473 Lnet/minecraft/class_2454;method_10473(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;
      named createBlasting Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;createBlasting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
    • createSmelting

      public static CookingRecipeJsonFactory createSmelting(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime)
      Mappings:
      Namespace Name Mixin selector
      official c Lkb;c(Lbte;Lbwo;FI)Lkb;
      intermediary method_17802 Lnet/minecraft/class_2454;method_17802(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;
      named createSmelting Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;createSmelting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
    • createSmoking

      public static CookingRecipeJsonFactory createSmoking(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime)
      Mappings:
      Namespace Name Mixin selector
      official d Lkb;d(Lbte;Lbwo;FI)Lkb;
      intermediary method_35918 Lnet/minecraft/class_2454;method_35918(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;
      named createSmoking Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;createSmoking(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
    • criterion

      public CookingRecipeJsonFactory criterion(String string, CriterionConditions criterionConditions)
      Specified by:
      criterion in interface CraftingRecipeJsonFactory
      Mappings:
      Namespace Name Mixin selector
      official b Lkb;b(Ljava/lang/String;Lam;)Lkb;
      intermediary method_10469 Lnet/minecraft/class_2454;method_10469(Ljava/lang/String;Lnet/minecraft/class_184;)Lnet/minecraft/class_2454;
      named criterion Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;criterion(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
    • group

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

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

      public void offerTo(Consumer<RecipeJsonProvider> exporter, Identifier recipeId)
      Specified by:
      offerTo in interface CraftingRecipeJsonFactory
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Ljava/util/function/Consumer;Lww;)V
      intermediary method_17972 Lnet/minecraft/class_5797;method_17972(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)V
      named offerTo Lnet/minecraft/data/server/recipe/CraftingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
    • validate

      private void validate(Identifier recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Lkb;a(Lww;)V
      intermediary method_10471 Lnet/minecraft/class_2454;method_10471(Lnet/minecraft/class_2960;)V
      named validate Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;validate(Lnet/minecraft/util/Identifier;)V