Class ComplexRecipeJsonBuilder

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

public class ComplexRecipeJsonBuilder extends Object
Mappings:
Namespace Name
named net/minecraft/data/server/recipe/ComplexRecipeJsonBuilder
intermediary net/minecraft/class_2456
official pj
  • Field Details

    • recipeFactory

      private final Function<CraftingRecipeCategory,Recipe<?>> recipeFactory
      Mappings:
      Namespace Name Mixin selector
      named recipeFactory Lnet/minecraft/data/server/recipe/ComplexRecipeJsonBuilder;recipeFactory:Ljava/util/function/Function;
      intermediary field_47506 Lnet/minecraft/class_2456;field_47506:Ljava/util/function/Function;
      official a Lpj;a:Ljava/util/function/Function;
  • Constructor Details

    • ComplexRecipeJsonBuilder

      public ComplexRecipeJsonBuilder(Function<CraftingRecipeCategory,Recipe<?>> recipeFactory)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/server/recipe/ComplexRecipeJsonBuilder;<init>(Ljava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_2456;<init>(Ljava/util/function/Function;)V
      official <init> Lpj;<init>(Ljava/util/function/Function;)V
  • Method Details

    • create

      public static ComplexRecipeJsonBuilder create(Function<CraftingRecipeCategory,Recipe<?>> recipeFactory)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/data/server/recipe/ComplexRecipeJsonBuilder;create(Ljava/util/function/Function;)Lnet/minecraft/data/server/recipe/ComplexRecipeJsonBuilder;
      intermediary method_10476 Lnet/minecraft/class_2456;method_10476(Ljava/util/function/Function;)Lnet/minecraft/class_2456;
      official a Lpj;a(Ljava/util/function/Function;)Lpj;
    • offerTo

      public void offerTo(RecipeExporter exporter, String id)
      Mappings:
      Namespace Name Mixin selector
      named offerTo Lnet/minecraft/data/server/recipe/ComplexRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;Ljava/lang/String;)V
      intermediary method_53820 Lnet/minecraft/class_2456;method_53820(Lnet/minecraft/class_8790;Ljava/lang/String;)V
      official a Lpj;a(Lpb;Ljava/lang/String;)V
    • offerTo

      public void offerTo(RecipeExporter exporter, RegistryKey<Recipe<?>> recipeKey)
      Mappings:
      Namespace Name Mixin selector
      named offerTo Lnet/minecraft/data/server/recipe/ComplexRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/registry/RegistryKey;)V
      intermediary method_10475 Lnet/minecraft/class_2456;method_10475(Lnet/minecraft/class_8790;Lnet/minecraft/class_5321;)V
      official a Lpj;a(Lpb;Laly;)V