Class LegacySmithingRecipeJsonBuilder

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

@Deprecated(forRemoval=true) public class LegacySmithingRecipeJsonBuilder extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Mappings:
Namespace Name
official lx
intermediary net/minecraft/class_5377
named net/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder
  • Field Details

    • base

      private final Ingredient base
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official a Llx;a:Lciu;
      intermediary field_25491 Lnet/minecraft/class_5377;field_25491:Lnet/minecraft/class_1856;
      named base Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;base:Lnet/minecraft/recipe/Ingredient;
    • addition

      private final Ingredient addition
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official b Llx;b:Lciu;
      intermediary field_25492 Lnet/minecraft/class_5377;field_25492:Lnet/minecraft/class_1856;
      named addition Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;addition:Lnet/minecraft/recipe/Ingredient;
    • category

      private final RecipeCategory category
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official c Llx;c:Llz;
      intermediary field_40651 Lnet/minecraft/class_5377;field_40651:Lnet/minecraft/class_7800;
      named category Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;category:Lnet/minecraft/recipe/book/RecipeCategory;
    • result

      private final Item result
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official d Llx;d:Lcfq;
      intermediary field_25493 Lnet/minecraft/class_5377;field_25493:Lnet/minecraft/class_1792;
      named result Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;result:Lnet/minecraft/item/Item;
    • advancementBuilder

      private final Advancement.Builder advancementBuilder
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official e Llx;e:Lae$a;
      intermediary field_25494 Lnet/minecraft/class_5377;field_25494:Lnet/minecraft/class_161$class_162;
      named advancementBuilder Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;advancementBuilder:Lnet/minecraft/advancement/Advancement$Builder;
    • serializer

      private final RecipeSerializer<?> serializer
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official f Llx;f:Lcja;
      intermediary field_25495 Lnet/minecraft/class_5377;field_25495:Lnet/minecraft/class_1865;
      named serializer Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;serializer:Lnet/minecraft/recipe/RecipeSerializer;
  • Constructor Details

    • LegacySmithingRecipeJsonBuilder

      public LegacySmithingRecipeJsonBuilder(RecipeSerializer<?> serializer, Ingredient base, Ingredient addition, RecipeCategory category, Item result)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official <init> Llx;<init>(Lcja;Lciu;Lciu;Llz;Lcfq;)V
      intermediary <init> Lnet/minecraft/class_5377;<init>(Lnet/minecraft/class_1865;Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1792;)V
      named <init> Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;<init>(Lnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/Item;)V
  • Method Details

    • create

      public static LegacySmithingRecipeJsonBuilder create(Ingredient base, Ingredient addition, RecipeCategory category, Item result)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official a Llx;a(Lciu;Lciu;Llz;Lcfq;)Llx;
      intermediary method_29729 Lnet/minecraft/class_5377;method_29729(Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1792;)Lnet/minecraft/class_5377;
      named create Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/Item;)Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;
    • criterion

      public LegacySmithingRecipeJsonBuilder criterion(String criterionName, CriterionConditions conditions)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official a Llx;a(Ljava/lang/String;Lam;)Llx;
      intermediary method_29730 Lnet/minecraft/class_5377;method_29730(Ljava/lang/String;Lnet/minecraft/class_184;)Lnet/minecraft/class_5377;
      named criterion Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;
    • offerTo

      public void offerTo(Consumer<RecipeJsonProvider> exporter, String recipeId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official a Llx;a(Ljava/util/function/Consumer;Ljava/lang/String;)V
      intermediary method_29731 Lnet/minecraft/class_5377;method_29731(Ljava/util/function/Consumer;Ljava/lang/String;)V
      named offerTo Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;offerTo(Ljava/util/function/Consumer;Ljava/lang/String;)V
    • offerTo

      public void offerTo(Consumer<RecipeJsonProvider> exporter, Identifier recipeId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official a Llx;a(Ljava/util/function/Consumer;Ladd;)V
      intermediary method_29732 Lnet/minecraft/class_5377;method_29732(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)V
      named offerTo Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
    • validate

      private void validate(Identifier recipeId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Mappings:
      Namespace Name Mixin selector
      official a Llx;a(Ladd;)V
      intermediary method_29733 Lnet/minecraft/class_5377;method_29733(Lnet/minecraft/class_2960;)V
      named validate Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder;validate(Lnet/minecraft/util/Identifier;)V