Interface CraftingRecipeJsonBuilder

All Known Implementing Classes:
CookingRecipeJsonBuilder, ShapedRecipeJsonBuilder, ShapelessRecipeJsonBuilder, SingleItemRecipeJsonBuilder

public interface CraftingRecipeJsonBuilder
Mappings:
Namespace Name
official mw
intermediary net/minecraft/class_5797
named net/minecraft/data/server/recipe/CraftingRecipeJsonBuilder
  • Field Details

    • ROOT

      static final Identifier ROOT
      Mappings:
      Namespace Name Mixin selector
      official a Lmw;a:Lahg;
      intermediary field_39377 Lnet/minecraft/class_5797;field_39377:Lnet/minecraft/class_2960;
      named ROOT Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;ROOT:Lnet/minecraft/util/Identifier;
  • Method Details

    • criterion

      CraftingRecipeJsonBuilder criterion(String name, AdvancementCriterion<?> criterion)
      Mappings:
      Namespace Name Mixin selector
      official a Lmw;a(Ljava/lang/String;Lan;)Lmw;
      intermediary method_33530 Lnet/minecraft/class_5797;method_33530(Ljava/lang/String;Lnet/minecraft/class_175;)Lnet/minecraft/class_5797;
      named criterion Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/AdvancementCriterion;)Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;
    • group

      Mappings:
      Namespace Name Mixin selector
      official a Lmw;a(Ljava/lang/String;)Lmw;
      intermediary method_33529 Lnet/minecraft/class_5797;method_33529(Ljava/lang/String;)Lnet/minecraft/class_5797;
      named group Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;
    • getOutputItem

      Item getOutputItem()
      Mappings:
      Namespace Name Mixin selector
      official a Lmw;a()Lcmt;
      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

      void offerTo(RecipeExporter exporter, Identifier recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Lmw;a(Lmy;Lahg;)V
      intermediary method_17972 Lnet/minecraft/class_5797;method_17972(Lnet/minecraft/class_8790;Lnet/minecraft/class_2960;)V
      named offerTo Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/util/Identifier;)V
    • offerTo

      default void offerTo(RecipeExporter exporter)
      Mappings:
      Namespace Name Mixin selector
      official a Lmw;a(Lmy;)V
      intermediary method_10431 Lnet/minecraft/class_5797;method_10431(Lnet/minecraft/class_8790;)V
      named offerTo Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;)V
    • offerTo

      default void offerTo(RecipeExporter exporter, String recipePath)
      Mappings:
      Namespace Name Mixin selector
      official a Lmw;a(Lmy;Ljava/lang/String;)V
      intermediary method_36443 Lnet/minecraft/class_5797;method_36443(Lnet/minecraft/class_8790;Ljava/lang/String;)V
      named offerTo Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;Ljava/lang/String;)V
    • getItemId

      static Identifier getItemId(ItemConvertible item)
      Mappings:
      Namespace Name Mixin selector
      official a Lmw;a(Lcto;)Lahg;
      intermediary method_36442 Lnet/minecraft/class_5797;method_36442(Lnet/minecraft/class_1935;)Lnet/minecraft/class_2960;
      named getItemId Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;getItemId(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/util/Identifier;
    • toCraftingCategory

      static CraftingRecipeCategory toCraftingCategory(RecipeCategory category)
      Mappings:
      Namespace Name Mixin selector
      official a Lmw;a(Lmx;)Lcps;
      intermediary method_55308 Lnet/minecraft/class_5797;method_55308(Lnet/minecraft/class_7800;)Lnet/minecraft/class_7710;
      named toCraftingCategory Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;toCraftingCategory(Lnet/minecraft/recipe/book/RecipeCategory;)Lnet/minecraft/recipe/book/CraftingRecipeCategory;