Package net.minecraft.data.server.recipe
Class LegacySmithingRecipeJsonBuilder.SmithingRecipeJsonProvider
java.lang.Object
net.minecraft.data.server.recipe.LegacySmithingRecipeJsonBuilder.SmithingRecipeJsonProvider
- All Implemented Interfaces:
RecipeJsonProvider
- Enclosing class:
LegacySmithingRecipeJsonBuilder
public static class LegacySmithingRecipeJsonBuilder.SmithingRecipeJsonProvider
extends Object
implements RecipeJsonProvider
- Mappings:
Namespace Name official lx$a
intermediary net/minecraft/class_5377$class_5378
named net/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder$SmithingRecipeJsonProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Ingredient
private final Advancement.Builder
private final Identifier
private final Ingredient
private final Identifier
private final Item
private final RecipeSerializer<?>
-
Constructor Summary
ConstructorDescriptionSmithingRecipeJsonProvider
(Identifier recipeId, RecipeSerializer<?> serializer, Ingredient base, Ingredient addition, Item result, Advancement.Builder advancementBuilder, Identifier advancementId) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.data.server.recipe.RecipeJsonProvider
toJson
-
Field Details
-
recipeId
- Mappings:
Namespace Name Mixin selector official a
Llx$a;a:Ladd;
intermediary field_25496
Lnet/minecraft/class_5377$class_5378;field_25496:Lnet/minecraft/class_2960;
named recipeId
Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder$SmithingRecipeJsonProvider;recipeId:Lnet/minecraft/util/Identifier;
-
base
- Mappings:
Namespace Name Mixin selector official b
Llx$a;b:Lciu;
intermediary field_25497
Lnet/minecraft/class_5377$class_5378;field_25497:Lnet/minecraft/class_1856;
named base
Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder$SmithingRecipeJsonProvider;base:Lnet/minecraft/recipe/Ingredient;
-
addition
- Mappings:
Namespace Name Mixin selector official c
Llx$a;c:Lciu;
intermediary field_25498
Lnet/minecraft/class_5377$class_5378;field_25498:Lnet/minecraft/class_1856;
named addition
Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder$SmithingRecipeJsonProvider;addition:Lnet/minecraft/recipe/Ingredient;
-
result
- Mappings:
Namespace Name Mixin selector official d
Llx$a;d:Lcfq;
intermediary field_25499
Lnet/minecraft/class_5377$class_5378;field_25499:Lnet/minecraft/class_1792;
named result
Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder$SmithingRecipeJsonProvider;result:Lnet/minecraft/item/Item;
-
advancementBuilder
- Mappings:
Namespace Name Mixin selector official e
Llx$a;e:Lae$a;
intermediary field_25500
Lnet/minecraft/class_5377$class_5378;field_25500:Lnet/minecraft/class_161$class_162;
named advancementBuilder
Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder$SmithingRecipeJsonProvider;advancementBuilder:Lnet/minecraft/advancement/Advancement$Builder;
-
advancementId
- Mappings:
Namespace Name Mixin selector official f
Llx$a;f:Ladd;
intermediary field_25501
Lnet/minecraft/class_5377$class_5378;field_25501:Lnet/minecraft/class_2960;
named advancementId
Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder$SmithingRecipeJsonProvider;advancementId:Lnet/minecraft/util/Identifier;
-
serializer
- Mappings:
Namespace Name Mixin selector official g
Llx$a;g:Lcja;
intermediary field_25502
Lnet/minecraft/class_5377$class_5378;field_25502:Lnet/minecraft/class_1865;
named serializer
Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder$SmithingRecipeJsonProvider;serializer:Lnet/minecraft/recipe/RecipeSerializer;
-
-
Constructor Details
-
SmithingRecipeJsonProvider
public SmithingRecipeJsonProvider(Identifier recipeId, RecipeSerializer<?> serializer, Ingredient base, Ingredient addition, Item result, Advancement.Builder advancementBuilder, Identifier advancementId) - Mappings:
Namespace Name Mixin selector official <init>
Llx$a;<init>(Ladd;Lcja;Lciu;Lciu;Lcfq;Lae$a;Ladd;)V
intermediary <init>
Lnet/minecraft/class_5377$class_5378;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_1865;Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_1792;Lnet/minecraft/class_161$class_162;Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/data/server/recipe/LegacySmithingRecipeJsonBuilder$SmithingRecipeJsonProvider;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/Item;Lnet/minecraft/advancement/Advancement$Builder;Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
serialize
- Specified by:
serialize
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official a
Llw;a(Lcom/google/gson/JsonObject;)V
intermediary method_10416
Lnet/minecraft/class_2444;method_10416(Lcom/google/gson/JsonObject;)V
named serialize
Lnet/minecraft/data/server/recipe/RecipeJsonProvider;serialize(Lcom/google/gson/JsonObject;)V
-
getRecipeId
- Specified by:
getRecipeId
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official b
Llw;b()Ladd;
intermediary method_10417
Lnet/minecraft/class_2444;method_10417()Lnet/minecraft/class_2960;
named getRecipeId
Lnet/minecraft/data/server/recipe/RecipeJsonProvider;getRecipeId()Lnet/minecraft/util/Identifier;
-
getSerializer
- Specified by:
getSerializer
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official c
Llw;c()Lcja;
intermediary method_17800
Lnet/minecraft/class_2444;method_17800()Lnet/minecraft/class_1865;
named getSerializer
Lnet/minecraft/data/server/recipe/RecipeJsonProvider;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;
-
toAdvancementJson
- Specified by:
toAdvancementJson
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official d
Llw;d()Lcom/google/gson/JsonObject;
intermediary method_10415
Lnet/minecraft/class_2444;method_10415()Lcom/google/gson/JsonObject;
named toAdvancementJson
Lnet/minecraft/data/server/recipe/RecipeJsonProvider;toAdvancementJson()Lcom/google/gson/JsonObject;
-
getAdvancementId
- Specified by:
getAdvancementId
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official e
Llw;e()Ladd;
intermediary method_10418
Lnet/minecraft/class_2444;method_10418()Lnet/minecraft/class_2960;
named getAdvancementId
Lnet/minecraft/data/server/recipe/RecipeJsonProvider;getAdvancementId()Lnet/minecraft/util/Identifier;
-