Package net.minecraft.data.server.recipe
Class SmithingRecipeJsonFactory
java.lang.Object
net.minecraft.data.server.recipe.SmithingRecipeJsonFactory
public class SmithingRecipeJsonFactory extends Object
- Mappings:
Namespace Name official ju
intermediary net/minecraft/class_5377
named net/minecraft/data/server/recipe/SmithingRecipeJsonFactory
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SmithingRecipeJsonFactory.SmithingRecipeJsonProvider
-
Field Summary
Fields Modifier and Type Field Description private Ingredient
addition
private Ingredient
base
private Advancement.Task
builder
private Item
result
private RecipeSerializer<?>
serializer
-
Constructor Summary
Constructors Constructor Description SmithingRecipeJsonFactory(RecipeSerializer<?> serializer, Ingredient base, Ingredient addition, Item result)
-
Method Summary
Modifier and Type Method Description static SmithingRecipeJsonFactory
create(Ingredient base, Ingredient addition, Item result)
SmithingRecipeJsonFactory
criterion(String criterionName, CriterionConditions conditions)
void
offerTo(Consumer<RecipeJsonProvider> exporter, String recipeId)
void
offerTo(Consumer<RecipeJsonProvider> exporter, Identifier recipeId)
private void
validate(Identifier recipeId)
-
Field Details
-
base
- Mappings:
Namespace Name Mixin selector official a
Lju;a:Lbqk;
intermediary field_25491
Lnet/minecraft/class_5377;field_25491:Lnet/minecraft/class_1856;
named base
Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;base:Lnet/minecraft/recipe/Ingredient;
-
addition
- Mappings:
Namespace Name Mixin selector official b
Lju;b:Lbqk;
intermediary field_25492
Lnet/minecraft/class_5377;field_25492:Lnet/minecraft/class_1856;
named addition
Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;addition:Lnet/minecraft/recipe/Ingredient;
-
result
- Mappings:
Namespace Name Mixin selector official c
Lju;c:Lbnr;
intermediary field_25493
Lnet/minecraft/class_5377;field_25493:Lnet/minecraft/class_1792;
named result
Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;result:Lnet/minecraft/item/Item;
-
builder
- Mappings:
Namespace Name Mixin selector official d
Lju;d:Ly$a;
intermediary field_25494
Lnet/minecraft/class_5377;field_25494:Lnet/minecraft/class_161$class_162;
named builder
Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;builder:Lnet/minecraft/advancement/Advancement$Task;
-
serializer
- Mappings:
Namespace Name Mixin selector official e
Lju;e:Lbqp;
intermediary field_25495
Lnet/minecraft/class_5377;field_25495:Lnet/minecraft/class_1865;
named serializer
Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;serializer:Lnet/minecraft/recipe/RecipeSerializer;
-
-
Constructor Details
-
SmithingRecipeJsonFactory
public SmithingRecipeJsonFactory(RecipeSerializer<?> serializer, Ingredient base, Ingredient addition, Item result)- Mappings:
Namespace Name Mixin selector official <init>
Lju;<init>(Lbqp;Lbqk;Lbqk;Lbnr;)V
intermediary <init>
Lnet/minecraft/class_5377;<init>(Lnet/minecraft/class_1865;Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_1792;)V
named <init>
Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;<init>(Lnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/Item;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lju;a(Lbqk;Lbqk;Lbnr;)Lju;
intermediary method_29729
Lnet/minecraft/class_5377;method_29729(Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_1792;)Lnet/minecraft/class_5377;
named create
Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/Item;)Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;
-
criterion
- Mappings:
Namespace Name Mixin selector official a
Lju;a(Ljava/lang/String;Lag;)Lju;
intermediary method_29730
Lnet/minecraft/class_5377;method_29730(Ljava/lang/String;Lnet/minecraft/class_184;)Lnet/minecraft/class_5377;
named criterion
Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;criterion(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;
-
offerTo
- Mappings:
Namespace Name Mixin selector official a
Lju;a(Ljava/util/function/Consumer;Ljava/lang/String;)V
intermediary method_29731
Lnet/minecraft/class_5377;method_29731(Ljava/util/function/Consumer;Ljava/lang/String;)V
named offerTo
Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Ljava/lang/String;)V
-
offerTo
- Mappings:
Namespace Name Mixin selector official a
Lju;a(Ljava/util/function/Consumer;Lwb;)V
intermediary method_29732
Lnet/minecraft/class_5377;method_29732(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)V
named offerTo
Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
-
validate
- Mappings:
Namespace Name Mixin selector official a
Lju;a(Lwb;)V
intermediary method_29733
Lnet/minecraft/class_5377;method_29733(Lnet/minecraft/class_2960;)V
named validate
Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory;validate(Lnet/minecraft/util/Identifier;)V
-