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
named net/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder
intermediary net/minecraft/class_3981
official ov
  • Field Details

    • category

      private final RecipeCategory category
      Mappings:
      Namespace Name Mixin selector
      named category Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;category:Lnet/minecraft/recipe/book/RecipeCategory;
      intermediary field_40650 Lnet/minecraft/class_3981;field_40650:Lnet/minecraft/class_7800;
      official b Lov;b:Lop;
    • output

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

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

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

      private final Map<String,AdvancementCriterion<?>> criteria
      Mappings:
      Namespace Name Mixin selector
      named criteria Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;criteria:Ljava/util/Map;
      intermediary field_46151 Lnet/minecraft/class_3981;field_46151:Ljava/util/Map;
      official f Lov;f:Ljava/util/Map;
    • group

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

      private final CuttingRecipe.RecipeFactory<?> recipeFactory
      Mappings:
      Namespace Name Mixin selector
      named recipeFactory Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;recipeFactory:Lnet/minecraft/recipe/CuttingRecipe$RecipeFactory;
      intermediary field_47505 Lnet/minecraft/class_3981;field_47505:Lnet/minecraft/class_3972$class_3974;
      official h Lov;h:Lczk$a;
  • Constructor Details

    • SingleItemRecipeJsonBuilder

      public SingleItemRecipeJsonBuilder(RecipeCategory category, CuttingRecipe.RecipeFactory<?> recipeFactory, Ingredient input, ItemConvertible output, int count)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;<init>(Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/recipe/CuttingRecipe$RecipeFactory;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;I)V
      intermediary <init> Lnet/minecraft/class_3981;<init>(Lnet/minecraft/class_7800;Lnet/minecraft/class_3972$class_3974;Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;I)V
      official <init> Lov;<init>(Lop;Lczk$a;Lcyt;Ldby;I)V
  • Method Details

    • createStonecutting

      public static SingleItemRecipeJsonBuilder createStonecutting(Ingredient input, RecipeCategory category, ItemConvertible output)
      Mappings:
      Namespace Name Mixin selector
      named createStonecutting Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;createStonecutting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;
      intermediary method_17968 Lnet/minecraft/class_3981;method_17968(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;)Lnet/minecraft/class_3981;
      official a Lov;a(Lcyt;Lop;Ldby;)Lov;
    • createStonecutting

      public static SingleItemRecipeJsonBuilder createStonecutting(Ingredient input, RecipeCategory category, ItemConvertible output, int count)
      Mappings:
      Namespace Name Mixin selector
      named createStonecutting Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;createStonecutting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;
      intermediary method_17969 Lnet/minecraft/class_3981;method_17969(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;I)Lnet/minecraft/class_3981;
      official a Lov;a(Lcyt;Lop;Ldby;I)Lov;
    • criterion

      public SingleItemRecipeJsonBuilder criterion(String string, AdvancementCriterion<?> advancementCriterion)
      Specified by:
      criterion in interface CraftingRecipeJsonBuilder
      Mappings:
      Namespace Name Mixin selector
      named criterion Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/AdvancementCriterion;)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;
      intermediary method_17970 Lnet/minecraft/class_3981;method_17970(Ljava/lang/String;Lnet/minecraft/class_175;)Lnet/minecraft/class_3981;
      official b Lov;b(Ljava/lang/String;Lan;)Lov;
    • group

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

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

      public void offerTo(RecipeExporter exporter, Identifier recipeId)
      Specified by:
      offerTo in interface CraftingRecipeJsonBuilder
      Mappings:
      Namespace Name Mixin selector
      named offerTo Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/util/Identifier;)V
      intermediary method_17972 Lnet/minecraft/class_5797;method_17972(Lnet/minecraft/class_8790;Lnet/minecraft/class_2960;)V
      official a Loo;a(Loq;Lalf;)V
    • validate

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