Class ComplexRecipeJsonFactory

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

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

    • serializer

      final SpecialRecipeSerializer<?> serializer
      Mappings:
      Namespace Name Mixin selector
      official a Lkg;a:Lbxg;
      intermediary field_11429 Lnet/minecraft/class_2456;field_11429:Lnet/minecraft/class_1866;
      named serializer Lnet/minecraft/data/server/recipe/ComplexRecipeJsonFactory;serializer:Lnet/minecraft/recipe/SpecialRecipeSerializer;
  • Constructor Details

    • ComplexRecipeJsonFactory

      public ComplexRecipeJsonFactory(SpecialRecipeSerializer<?> serializer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkg;<init>(Lbxg;)V
      intermediary <init> Lnet/minecraft/class_2456;<init>(Lnet/minecraft/class_1866;)V
      named <init> Lnet/minecraft/data/server/recipe/ComplexRecipeJsonFactory;<init>(Lnet/minecraft/recipe/SpecialRecipeSerializer;)V
  • Method Details

    • create

      public static ComplexRecipeJsonFactory create(SpecialRecipeSerializer<?> serializer)
      Mappings:
      Namespace Name Mixin selector
      official a Lkg;a(Lbxg;)Lkg;
      intermediary method_10476 Lnet/minecraft/class_2456;method_10476(Lnet/minecraft/class_1866;)Lnet/minecraft/class_2456;
      named create Lnet/minecraft/data/server/recipe/ComplexRecipeJsonFactory;create(Lnet/minecraft/recipe/SpecialRecipeSerializer;)Lnet/minecraft/data/server/recipe/ComplexRecipeJsonFactory;
    • offerTo

      public void offerTo(Consumer<RecipeJsonProvider> exporter, String recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Lkg;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/ComplexRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Ljava/lang/String;)V