Package net.minecraft.data.server.recipe
Class ShapedRecipeJsonFactory.ShapedRecipeJsonProvider
java.lang.Object
net.minecraft.data.server.recipe.ShapedRecipeJsonFactory.ShapedRecipeJsonProvider
- All Implemented Interfaces:
RecipeJsonProvider
- Enclosing class:
- ShapedRecipeJsonFactory
private static class ShapedRecipeJsonFactory.ShapedRecipeJsonProvider
extends Object
implements RecipeJsonProvider
- Mappings:
Namespace Name official jz$aintermediary net/minecraft/class_2447$class_2448named net/minecraft/data/server/recipe/ShapedRecipeJsonFactory$ShapedRecipeJsonProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Identifierprivate Advancement.Taskprivate Stringprivate Map<Character,Ingredient>private Itemprivate Identifierprivate int -
Constructor Summary
ConstructorsConstructorDescriptionShapedRecipeJsonProvider(Identifier recipeId, Item output, int resultCount, String group, List<String> pattern, Map<Character,Ingredient> inputs, Advancement.Task builder, Identifier advancementId) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.data.server.recipe.RecipeJsonProvider
toJson
-
Field Details
-
recipeId
- Mappings:
Namespace Name Mixin selector official aLjz$a;a:Lww;intermediary field_11385Lnet/minecraft/class_2447$class_2448;field_11385:Lnet/minecraft/class_2960;named recipeIdLnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory$ShapedRecipeJsonProvider;recipeId:Lnet/minecraft/util/Identifier;
-
output
- Mappings:
Namespace Name Mixin selector official bLjz$a;b:Lbql;intermediary field_11383Lnet/minecraft/class_2447$class_2448;field_11383:Lnet/minecraft/class_1792;named outputLnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory$ShapedRecipeJsonProvider;output:Lnet/minecraft/item/Item;
-
resultCount
private final int resultCount- Mappings:
Namespace Name Mixin selector official cLjz$a;c:Iintermediary field_11386Lnet/minecraft/class_2447$class_2448;field_11386:Inamed resultCountLnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory$ShapedRecipeJsonProvider;resultCount:I
-
group
- Mappings:
Namespace Name Mixin selector official dLjz$a;d:Ljava/lang/String;intermediary field_11387Lnet/minecraft/class_2447$class_2448;field_11387:Ljava/lang/String;named groupLnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory$ShapedRecipeJsonProvider;group:Ljava/lang/String;
-
pattern
- Mappings:
Namespace Name Mixin selector official eLjz$a;e:Ljava/util/List;intermediary field_11384Lnet/minecraft/class_2447$class_2448;field_11384:Ljava/util/List;named patternLnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory$ShapedRecipeJsonProvider;pattern:Ljava/util/List;
-
inputs
- Mappings:
Namespace Name Mixin selector official fLjz$a;f:Ljava/util/Map;intermediary field_11388Lnet/minecraft/class_2447$class_2448;field_11388:Ljava/util/Map;named inputsLnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory$ShapedRecipeJsonProvider;inputs:Ljava/util/Map;
-
builder
- Mappings:
Namespace Name Mixin selector official gLjz$a;g:Lae$a;intermediary field_11389Lnet/minecraft/class_2447$class_2448;field_11389:Lnet/minecraft/class_161$class_162;named builderLnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory$ShapedRecipeJsonProvider;builder:Lnet/minecraft/advancement/Advancement$Task;
-
advancementId
- Mappings:
Namespace Name Mixin selector official hLjz$a;h:Lww;intermediary field_11390Lnet/minecraft/class_2447$class_2448;field_11390:Lnet/minecraft/class_2960;named advancementIdLnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory$ShapedRecipeJsonProvider;advancementId:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
ShapedRecipeJsonProvider
public ShapedRecipeJsonProvider(Identifier recipeId, Item output, int resultCount, String group, List<String> pattern, Map<Character,Ingredient> inputs, Advancement.Task builder, Identifier advancementId)- Mappings:
Namespace Name Mixin selector official <init>Ljz$a;<init>(Lww;Lbql;ILjava/lang/String;Ljava/util/List;Ljava/util/Map;Lae$a;Lww;)Vintermediary <init>Lnet/minecraft/class_2447$class_2448;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_1792;ILjava/lang/String;Ljava/util/List;Ljava/util/Map;Lnet/minecraft/class_161$class_162;Lnet/minecraft/class_2960;)Vnamed <init>Lnet/minecraft/data/server/recipe/ShapedRecipeJsonFactory$ShapedRecipeJsonProvider;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/item/Item;ILjava/lang/String;Ljava/util/List;Ljava/util/Map;Lnet/minecraft/advancement/Advancement$Task;Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceRecipeJsonProvider- Mappings:
Namespace Name Mixin selector official aLjw;a(Lcom/google/gson/JsonObject;)Vintermediary method_10416Lnet/minecraft/class_2444;method_10416(Lcom/google/gson/JsonObject;)Vnamed serializeLnet/minecraft/data/server/recipe/RecipeJsonProvider;serialize(Lcom/google/gson/JsonObject;)V
-
getSerializer
- Specified by:
getSerializerin interfaceRecipeJsonProvider- Mappings:
Namespace Name Mixin selector official cLjw;c()Lbtj;intermediary method_17800Lnet/minecraft/class_2444;method_17800()Lnet/minecraft/class_1865;named getSerializerLnet/minecraft/data/server/recipe/RecipeJsonProvider;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;
-
getRecipeId
- Specified by:
getRecipeIdin interfaceRecipeJsonProvider- Mappings:
Namespace Name Mixin selector official bLjw;b()Lww;intermediary method_10417Lnet/minecraft/class_2444;method_10417()Lnet/minecraft/class_2960;named getRecipeIdLnet/minecraft/data/server/recipe/RecipeJsonProvider;getRecipeId()Lnet/minecraft/util/Identifier;
-
toAdvancementJson
- Specified by:
toAdvancementJsonin interfaceRecipeJsonProvider- Mappings:
Namespace Name Mixin selector official dLjw;d()Lcom/google/gson/JsonObject;intermediary method_10415Lnet/minecraft/class_2444;method_10415()Lcom/google/gson/JsonObject;named toAdvancementJsonLnet/minecraft/data/server/recipe/RecipeJsonProvider;toAdvancementJson()Lcom/google/gson/JsonObject;
-
getAdvancementId
- Specified by:
getAdvancementIdin interfaceRecipeJsonProvider- Mappings:
Namespace Name Mixin selector official eLjw;e()Lww;intermediary method_10418Lnet/minecraft/class_2444;method_10418()Lnet/minecraft/class_2960;named getAdvancementIdLnet/minecraft/data/server/recipe/RecipeJsonProvider;getAdvancementId()Lnet/minecraft/util/Identifier;
-