Class SmithingTrimRecipeJsonBuilder

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

public class SmithingTrimRecipeJsonBuilder extends Object
Mappings:
Namespace Name
official mg
intermediary net/minecraft/class_8076
named net/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder
  • Field Details

    • category

      private final RecipeCategory category
      Mappings:
      Namespace Name Mixin selector
      official a Lmg;a:Llz;
      intermediary field_42097 Lnet/minecraft/class_8076;field_42097:Lnet/minecraft/class_7800;
      named category Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;category:Lnet/minecraft/recipe/book/RecipeCategory;
    • template

      private final Ingredient template
      Mappings:
      Namespace Name Mixin selector
      official b Lmg;b:Lciu;
      intermediary field_42098 Lnet/minecraft/class_8076;field_42098:Lnet/minecraft/class_1856;
      named template Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;template:Lnet/minecraft/recipe/Ingredient;
    • base

      private final Ingredient base
      Mappings:
      Namespace Name Mixin selector
      official c Lmg;c:Lciu;
      intermediary field_42099 Lnet/minecraft/class_8076;field_42099:Lnet/minecraft/class_1856;
      named base Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;base:Lnet/minecraft/recipe/Ingredient;
    • addition

      private final Ingredient addition
      Mappings:
      Namespace Name Mixin selector
      official d Lmg;d:Lciu;
      intermediary field_42100 Lnet/minecraft/class_8076;field_42100:Lnet/minecraft/class_1856;
      named addition Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;addition:Lnet/minecraft/recipe/Ingredient;
    • advancement

      private final Advancement.Builder advancement
      Mappings:
      Namespace Name Mixin selector
      official e Lmg;e:Lae$a;
      intermediary field_42101 Lnet/minecraft/class_8076;field_42101:Lnet/minecraft/class_161$class_162;
      named advancement Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;advancement:Lnet/minecraft/advancement/Advancement$Builder;
    • serializer

      private final RecipeSerializer<?> serializer
      Mappings:
      Namespace Name Mixin selector
      official f Lmg;f:Lcja;
      intermediary field_42102 Lnet/minecraft/class_8076;field_42102:Lnet/minecraft/class_1865;
      named serializer Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;serializer:Lnet/minecraft/recipe/RecipeSerializer;
  • Constructor Details

    • SmithingTrimRecipeJsonBuilder

      public SmithingTrimRecipeJsonBuilder(RecipeSerializer<?> serializer, RecipeCategory category, Ingredient template, Ingredient base, Ingredient addition)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lmg;<init>(Lcja;Llz;Lciu;Lciu;Lciu;)V
      intermediary <init> Lnet/minecraft/class_8076;<init>(Lnet/minecraft/class_1865;Lnet/minecraft/class_7800;Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;)V
      named <init> Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;<init>(Lnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;)V
  • Method Details

    • create

      public static SmithingTrimRecipeJsonBuilder create(Ingredient template, Ingredient base, Ingredient addition, RecipeCategory category)
      Mappings:
      Namespace Name Mixin selector
      official a Lmg;a(Lciu;Lciu;Lciu;Llz;)Lmg;
      intermediary method_48540 Lnet/minecraft/class_8076;method_48540(Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;)Lnet/minecraft/class_8076;
      named create Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;)Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;
    • criterion

      public SmithingTrimRecipeJsonBuilder criterion(String name, CriterionConditions conditions)
      Mappings:
      Namespace Name Mixin selector
      official a Lmg;a(Ljava/lang/String;Lam;)Lmg;
      intermediary method_48541 Lnet/minecraft/class_8076;method_48541(Ljava/lang/String;Lnet/minecraft/class_184;)Lnet/minecraft/class_8076;
      named criterion Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;
    • offerTo

      public void offerTo(Consumer<RecipeJsonProvider> exporter, String recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Lmg;a(Ljava/util/function/Consumer;Ljava/lang/String;)V
      intermediary method_48543 Lnet/minecraft/class_8076;method_48543(Ljava/util/function/Consumer;Ljava/lang/String;)V
      named offerTo Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;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 Lmg;a(Ljava/util/function/Consumer;Ladd;)V
      intermediary method_48542 Lnet/minecraft/class_8076;method_48542(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)V
      named offerTo Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
    • validate

      private void validate(Identifier recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Lmg;a(Ladd;)V
      intermediary method_48539 Lnet/minecraft/class_8076;method_48539(Lnet/minecraft/class_2960;)V
      named validate Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;validate(Lnet/minecraft/util/Identifier;)V