Class SmithingTrimRecipeJsonBuilder

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

public class SmithingTrimRecipeJsonBuilder extends Object
Mappings:
Namespace Name
official ma
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 Lma;a:Lls;
      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 Lma;b:Lcmg;
      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 Lma;c:Lcmg;
      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 Lma;d:Lcmg;
      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;
    • criteria

      private final Map<String,AdvancementCriterion<?>> criteria
      Mappings:
      Namespace Name Mixin selector
      official e Lma;e:Ljava/util/Map;
      intermediary field_46153 Lnet/minecraft/class_8076;field_46153:Ljava/util/Map;
      named criteria Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;criteria:Ljava/util/Map;
    • serializer

      private final RecipeSerializer<?> serializer
      Mappings:
      Namespace Name Mixin selector
      official f Lma;f:Lcmm;
      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> Lma;<init>(Lcmm;Lls;Lcmg;Lcmg;Lcmg;)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 Lma;a(Lcmg;Lcmg;Lcmg;Lls;)Lma;
      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, AdvancementCriterion<?> criterion)
      Mappings:
      Namespace Name Mixin selector
      official a Lma;a(Ljava/lang/String;Lam;)Lma;
      intermediary method_48541 Lnet/minecraft/class_8076;method_48541(Ljava/lang/String;Lnet/minecraft/class_175;)Lnet/minecraft/class_8076;
      named criterion Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/AdvancementCriterion;)Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;
    • offerTo

      public void offerTo(RecipeExporter exporter, Identifier recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Lma;a(Llt;Laew;)V
      intermediary method_48542 Lnet/minecraft/class_8076;method_48542(Lnet/minecraft/class_8790;Lnet/minecraft/class_2960;)V
      named offerTo Lnet/minecraft/data/server/recipe/SmithingTrimRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/util/Identifier;)V
    • validate

      private void validate(Identifier recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Lma;a(Laew;)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