Package net.minecraft.data.server.recipe
Interface CraftingRecipeJsonFactory
- All Known Implementing Classes:
CookingRecipeJsonFactory
,ShapedRecipeJsonFactory
,ShapelessRecipeJsonFactory
,SingleItemRecipeJsonFactory
public interface CraftingRecipeJsonFactory
- Mappings:
Namespace Name official ka
intermediary net/minecraft/class_5797
named net/minecraft/data/server/recipe/CraftingRecipeJsonFactory
-
Method Summary
Modifier and TypeMethodDescriptioncriterion
(String name, CriterionConditions conditions) static Identifier
getItemId
(ItemConvertible item) default void
offerTo
(Consumer<RecipeJsonProvider> exporter) default void
offerTo
(Consumer<RecipeJsonProvider> exporter, String recipePath) void
offerTo
(Consumer<RecipeJsonProvider> exporter, Identifier recipeId)
-
Method Details
-
criterion
- Mappings:
Namespace Name Mixin selector official a
Lka;a(Ljava/lang/String;Lan;)Lka;
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
Lka;a(Ljava/lang/String;)Lka;
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;
-
getOutputItem
Item getOutputItem()- Mappings:
Namespace Name Mixin selector official a
Lka;a()Lbua;
intermediary method_36441
Lnet/minecraft/class_5797;method_36441()Lnet/minecraft/class_1792;
named getOutputItem
Lnet/minecraft/data/server/recipe/CraftingRecipeJsonFactory;getOutputItem()Lnet/minecraft/item/Item;
-
offerTo
- Mappings:
Namespace Name Mixin selector official a
Lka;a(Ljava/util/function/Consumer;Lyh;)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/CraftingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
-
offerTo
- Mappings:
Namespace Name Mixin selector official a
Lka;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
-
offerTo
- Mappings:
Namespace Name Mixin selector official a
Lka;a(Ljava/util/function/Consumer;Ljava/lang/String;)V
intermediary method_36443
Lnet/minecraft/class_5797;method_36443(Ljava/util/function/Consumer;Ljava/lang/String;)V
named offerTo
Lnet/minecraft/data/server/recipe/CraftingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Ljava/lang/String;)V
-
getItemId
- Mappings:
Namespace Name Mixin selector official a
Lka;a(Lcac;)Lyh;
intermediary method_36442
Lnet/minecraft/class_5797;method_36442(Lnet/minecraft/class_1935;)Lnet/minecraft/class_2960;
named getItemId
Lnet/minecraft/data/server/recipe/CraftingRecipeJsonFactory;getItemId(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/util/Identifier;
-