Class CookingRecipeJsonFactory

java.lang.Object
net.minecraft.data.server.recipe.CookingRecipeJsonFactory

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

    • result

      private final Item result
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a:Lbnr;
      intermediary field_11417 Lnet/minecraft/class_2454;field_11417:Lnet/minecraft/class_1792;
      named result Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;result:Lnet/minecraft/item/Item;
    • ingredient

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

      private final float experience
      Mappings:
      Namespace Name Mixin selector
      official c Ljr;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 Ljr;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 Ljr;e:Ly$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

      private String group
      Mappings:
      Namespace Name Mixin selector
      official f Ljr;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 Ljr;g:Lbqw;
      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 result, Ingredient ingredient, float experience, int cookingTime, CookingRecipeSerializer<?> serializer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljr;<init>(Lbtu;Lbqk;FILbqw;)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 Ljr;a(Lbqk;Lbtu;FILbqw;)Ljr;
      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;
    • createBlasting

      public static CookingRecipeJsonFactory createBlasting​(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime)
      Mappings:
      Namespace Name Mixin selector
      official b Ljr;b(Lbqk;Lbtu;FI)Ljr;
      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 Ljr;c(Lbqk;Lbtu;FI)Ljr;
      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;
    • criterion

      public CookingRecipeJsonFactory criterion​(String criterionName, CriterionConditions conditions)
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a(Ljava/lang/String;Lag;)Ljr;
      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;
    • offerTo

      public void offerTo​(Consumer<RecipeJsonProvider> exporter)
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a(Ljava/util/function/Consumer;)V
      intermediary method_10470 Lnet/minecraft/class_2454;method_10470(Ljava/util/function/Consumer;)V
      named offerTo Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;)V
    • offerTo

      public void offerTo​(Consumer<RecipeJsonProvider> exporter, String recipeIdStr)
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a(Ljava/util/function/Consumer;Ljava/lang/String;)V
      intermediary method_10472 Lnet/minecraft/class_2454;method_10472(Ljava/util/function/Consumer;Ljava/lang/String;)V
      named offerTo Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Ljava/lang/String;)V
    • offerTo

      public void offerTo​(Consumer<RecipeJsonProvider> exporter, Identifier recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a(Ljava/util/function/Consumer;Lwb;)V
      intermediary method_10468 Lnet/minecraft/class_2454;method_10468(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)V
      named offerTo Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
    • validate

      private void validate​(Identifier recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Ljr;a(Lwb;)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