Interface CraftingRecipeJsonFactory

All Known Implementing Classes:
ShapedRecipeJsonFactory, ShapelessRecipeJsonFactory

public interface CraftingRecipeJsonFactory
Mappings:
Namespace Name
official jn
intermediary net/minecraft/class_5797
named net/minecraft/data/server/recipe/CraftingRecipeJsonFactory
  • Method Details

    • criterion

      CraftingRecipeJsonFactory criterion​(String name, CriterionConditions conditions)
      Mappings:
      Namespace Name Mixin selector
      official a Ljn;a(Ljava/lang/String;Lag;)Ljn;
      intermediary method_33530 Lnet/minecraft/class_5797;method_33530(Ljava/lang/String;Lnet/minecraft/class_184;)Lnet/minecraft/class_5797;
      named criterion Lnet/minecraft/data/server/recipe/CraftingRecipeJsonFactory;criterion(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/CraftingRecipeJsonFactory;
    • group

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

      void offerTo​(Consumer<RecipeJsonProvider> exporter)
      Mappings:
      Namespace Name Mixin selector
      official a Ljn;a(Ljava/util/function/Consumer;)V
      intermediary method_10431 Lnet/minecraft/class_5797;method_10431(Ljava/util/function/Consumer;)V
      named offerTo Lnet/minecraft/data/server/recipe/CraftingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;)V