Class SmithingTrimRecipeJsonBuilder

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

public class SmithingTrimRecipeJsonBuilder extends Object
Mappings:
Namespace Name
official lx
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 Llx;a:Llq;
      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 Llx;b:Lcis;
      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 Llx;c:Lcis;
      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 Llx;d:Lcis;
      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 Llx;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 Llx;f:Lcix;
      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> Llx;<init>(Lcix;Llq;Lcis;Lcis;Lcis;)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 Llx;a(Lcis;Lcis;Lcis;Llq;)Llx;
      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 Llx;a(Ljava/lang/String;Lam;)Llx;
      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, Identifier recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Llx;a(Ljava/util/function/Consumer;Lacq;)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 Llx;a(Lacq;)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