Class SingleItemRecipeJsonBuilder

java.lang.Object
net.minecraft.data.server.recipe.SingleItemRecipeJsonBuilder
All Implemented Interfaces:
CraftingRecipeJsonBuilder

public class SingleItemRecipeJsonBuilder extends Object implements CraftingRecipeJsonBuilder
Mappings:
Namespace Name
official kz
intermediary net/minecraft/class_3981
named net/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder
  • Field Details

    • output

      private final Item output
      Mappings:
      Namespace Name Mixin selector
      official b Lkz;b:Lcat;
      intermediary field_17690 Lnet/minecraft/class_3981;field_17690:Lnet/minecraft/class_1792;
      named output Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;output:Lnet/minecraft/item/Item;
    • input

      private final Ingredient input
      Mappings:
      Namespace Name Mixin selector
      official c Lkz;c:Lcdm;
      intermediary field_17691 Lnet/minecraft/class_3981;field_17691:Lnet/minecraft/class_1856;
      named input Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;input:Lnet/minecraft/recipe/Ingredient;
    • count

      private final int count
      Mappings:
      Namespace Name Mixin selector
      official d Lkz;d:I
      intermediary field_17692 Lnet/minecraft/class_3981;field_17692:I
      named count Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;count:I
    • advancementBuilder

      private final Advancement.Builder advancementBuilder
      Mappings:
      Namespace Name Mixin selector
      official e Lkz;e:Laf$a;
      intermediary field_17693 Lnet/minecraft/class_3981;field_17693:Lnet/minecraft/class_161$class_162;
      named advancementBuilder Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;advancementBuilder:Lnet/minecraft/advancement/Advancement$Builder;
    • group

      @Nullable private @Nullable String group
      Mappings:
      Namespace Name Mixin selector
      official f Lkz;f:Ljava/lang/String;
      intermediary field_17694 Lnet/minecraft/class_3981;field_17694:Ljava/lang/String;
      named group Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;group:Ljava/lang/String;
    • serializer

      private final RecipeSerializer<?> serializer
      Mappings:
      Namespace Name Mixin selector
      official g Lkz;g:Lcdr;
      intermediary field_17695 Lnet/minecraft/class_3981;field_17695:Lnet/minecraft/class_1865;
      named serializer Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;serializer:Lnet/minecraft/recipe/RecipeSerializer;
  • Constructor Details

    • SingleItemRecipeJsonBuilder

      public SingleItemRecipeJsonBuilder(RecipeSerializer<?> serializer, Ingredient input, ItemConvertible output, int outputCount)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkz;<init>(Lcdr;Lcdm;Lcgw;I)V
      intermediary <init> Lnet/minecraft/class_3981;<init>(Lnet/minecraft/class_1865;Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;I)V
      named <init> Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;<init>(Lnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;I)V
  • Method Details

    • createStonecutting

      public static SingleItemRecipeJsonBuilder createStonecutting(Ingredient input, ItemConvertible output)
      Mappings:
      Namespace Name Mixin selector
      official a Lkz;a(Lcdm;Lcgw;)Lkz;
      intermediary method_17968 Lnet/minecraft/class_3981;method_17968(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;)Lnet/minecraft/class_3981;
      named createStonecutting Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;createStonecutting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;
    • createStonecutting

      public static SingleItemRecipeJsonBuilder createStonecutting(Ingredient input, ItemConvertible output, int outputCount)
      Mappings:
      Namespace Name Mixin selector
      official a Lkz;a(Lcdm;Lcgw;I)Lkz;
      intermediary method_17969 Lnet/minecraft/class_3981;method_17969(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;I)Lnet/minecraft/class_3981;
      named createStonecutting Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;createStonecutting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;
    • criterion

      public SingleItemRecipeJsonBuilder criterion(String string, CriterionConditions criterionConditions)
      Specified by:
      criterion in interface CraftingRecipeJsonBuilder
      Mappings:
      Namespace Name Mixin selector
      official b Lkz;b(Ljava/lang/String;Lan;)Lkz;
      intermediary method_17970 Lnet/minecraft/class_3981;method_17970(Ljava/lang/String;Lnet/minecraft/class_184;)Lnet/minecraft/class_3981;
      named criterion Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;
    • group

      Specified by:
      group in interface CraftingRecipeJsonBuilder
      Mappings:
      Namespace Name Mixin selector
      official b Lkz;b(Ljava/lang/String;)Lkz;
      intermediary method_35919 Lnet/minecraft/class_3981;method_35919(Ljava/lang/String;)Lnet/minecraft/class_3981;
      named group Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;
    • getOutputItem

      public Item getOutputItem()
      Specified by:
      getOutputItem in interface CraftingRecipeJsonBuilder
      Mappings:
      Namespace Name Mixin selector
      official a Lku;a()Lcat;
      intermediary method_36441 Lnet/minecraft/class_5797;method_36441()Lnet/minecraft/class_1792;
      named getOutputItem Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;getOutputItem()Lnet/minecraft/item/Item;
    • offerTo

      public void offerTo(Consumer<RecipeJsonProvider> exporter, Identifier recipeId)
      Specified by:
      offerTo in interface CraftingRecipeJsonBuilder
      Mappings:
      Namespace Name Mixin selector
      official a Lku;a(Ljava/util/function/Consumer;Labb;)V
      intermediary method_17972 Lnet/minecraft/class_5797;method_17972(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)V
      named offerTo Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
    • validate

      private void validate(Identifier recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Lkz;a(Labb;)V
      intermediary method_17973 Lnet/minecraft/class_3981;method_17973(Lnet/minecraft/class_2960;)V
      named validate Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;validate(Lnet/minecraft/util/Identifier;)V