Class ComplexRecipeJsonBuilder

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

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

    • recipeFactory

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

    • ComplexRecipeJsonBuilder

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

    • create

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

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

      public void offerTo(RecipeExporter exporter, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lng;a(Lmy;Lahg;)V
      intermediary method_10475 Lnet/minecraft/class_2456;method_10475(Lnet/minecraft/class_8790;Lnet/minecraft/class_2960;)V
      named offerTo Lnet/minecraft/data/server/recipe/ComplexRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/util/Identifier;)V