Class ComplexRecipeJsonBuilder

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

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

    • serializer

      final RecipeSerializer<?> serializer
      Mappings:
      Namespace Name Mixin selector
      official a Lmh;a:Lcja;
      intermediary field_11429 Lnet/minecraft/class_2456;field_11429:Lnet/minecraft/class_1865;
      named serializer Lnet/minecraft/data/server/recipe/ComplexRecipeJsonBuilder;serializer:Lnet/minecraft/recipe/RecipeSerializer;
  • Constructor Details

    • ComplexRecipeJsonBuilder

      public ComplexRecipeJsonBuilder(RecipeSerializer<?> serializer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lmh;<init>(Lcja;)V
      intermediary <init> Lnet/minecraft/class_2456;<init>(Lnet/minecraft/class_1865;)V
      named <init> Lnet/minecraft/data/server/recipe/ComplexRecipeJsonBuilder;<init>(Lnet/minecraft/recipe/RecipeSerializer;)V
  • Method Details

    • create

      public static ComplexRecipeJsonBuilder create(RecipeSerializer<? extends CraftingRecipe> serializer)
      Mappings:
      Namespace Name Mixin selector
      official a Lmh;a(Lcja;)Lmh;
      intermediary method_10476 Lnet/minecraft/class_2456;method_10476(Lnet/minecraft/class_1865;)Lnet/minecraft/class_2456;
      named create Lnet/minecraft/data/server/recipe/ComplexRecipeJsonBuilder;create(Lnet/minecraft/recipe/RecipeSerializer;)Lnet/minecraft/data/server/recipe/ComplexRecipeJsonBuilder;
    • offerTo

      public void offerTo(Consumer<RecipeJsonProvider> exporter, String recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Lmh;a(Ljava/util/function/Consumer;Ljava/lang/String;)V
      intermediary method_10475 Lnet/minecraft/class_2456;method_10475(Ljava/util/function/Consumer;Ljava/lang/String;)V
      named offerTo Lnet/minecraft/data/server/recipe/ComplexRecipeJsonBuilder;offerTo(Ljava/util/function/Consumer;Ljava/lang/String;)V