Interface CraftingRecipeJsonBuilder

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

public interface CraftingRecipeJsonBuilder
Mappings:
Namespace Name
official lr
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 Llr;a:Laew;
      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 Llr;a(Ljava/lang/String;Lam;)Llr;
      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

      CraftingRecipeJsonBuilder group(@Nullable @Nullable String group)
      Mappings:
      Namespace Name Mixin selector
      official a Llr;a(Ljava/lang/String;)Llr;
      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 Llr;a()Lcja;
      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 Llr;a(Llt;Laew;)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 Llr;a(Llt;)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 Llr;a(Llt;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 Llr;a(Lcpu;)Laew;
      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;