Package net.minecraft.data.server.recipe
Class ShapedRecipeJsonBuilder.ShapedRecipeJsonProvider
java.lang.Object
net.minecraft.data.server.recipe.RecipeJsonBuilder.CraftingRecipeJsonProvider
net.minecraft.data.server.recipe.ShapedRecipeJsonBuilder.ShapedRecipeJsonProvider
- All Implemented Interfaces:
RecipeJsonProvider
- Enclosing class:
ShapedRecipeJsonBuilder
private static class ShapedRecipeJsonBuilder.ShapedRecipeJsonProvider
extends RecipeJsonBuilder.CraftingRecipeJsonProvider
- Mappings:
Namespace Name official mb$a
intermediary net/minecraft/class_2447$class_2448
named net/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Advancement.Builder
private final Identifier
private final boolean
private final String
private final Map<Character,
Ingredient> private final Item
private final Identifier
private final int
-
Constructor Summary
ConstructorDescriptionShapedRecipeJsonProvider
(Identifier recipeId, Item output, int resultCount, String group, CraftingRecipeCategory craftingCategory, List<String> pattern, Map<Character, Ingredient> inputs, Advancement.Builder advancementBuilder, Identifier advancementId, boolean bool) -
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
Lmb$a;a:Ladd;
intermediary field_11385
Lnet/minecraft/class_2447$class_2448;field_11385:Lnet/minecraft/class_2960;
named recipeId
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;recipeId:Lnet/minecraft/util/Identifier;
-
output
- Mappings:
Namespace Name Mixin selector official b
Lmb$a;b:Lcfq;
intermediary field_11383
Lnet/minecraft/class_2447$class_2448;field_11383:Lnet/minecraft/class_1792;
named output
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;output:Lnet/minecraft/item/Item;
-
resultCount
private final int resultCount- Mappings:
Namespace Name Mixin selector official c
Lmb$a;c:I
intermediary field_11386
Lnet/minecraft/class_2447$class_2448;field_11386:I
named resultCount
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;resultCount:I
-
group
- Mappings:
Namespace Name Mixin selector official d
Lmb$a;d:Ljava/lang/String;
intermediary field_11387
Lnet/minecraft/class_2447$class_2448;field_11387:Ljava/lang/String;
named group
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;group:Ljava/lang/String;
-
pattern
- Mappings:
Namespace Name Mixin selector official e
Lmb$a;e:Ljava/util/List;
intermediary field_11384
Lnet/minecraft/class_2447$class_2448;field_11384:Ljava/util/List;
named pattern
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;pattern:Ljava/util/List;
-
inputs
- Mappings:
Namespace Name Mixin selector official f
Lmb$a;f:Ljava/util/Map;
intermediary field_11388
Lnet/minecraft/class_2447$class_2448;field_11388:Ljava/util/Map;
named inputs
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;inputs:Ljava/util/Map;
-
advancementBuilder
- Mappings:
Namespace Name Mixin selector official g
Lmb$a;g:Lae$a;
intermediary field_11389
Lnet/minecraft/class_2447$class_2448;field_11389:Lnet/minecraft/class_161$class_162;
named advancementBuilder
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;advancementBuilder:Lnet/minecraft/advancement/Advancement$Builder;
-
advancementId
- Mappings:
Namespace Name Mixin selector official h
Lmb$a;h:Ladd;
intermediary field_11390
Lnet/minecraft/class_2447$class_2448;field_11390:Lnet/minecraft/class_2960;
named advancementId
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;advancementId:Lnet/minecraft/util/Identifier;
-
field_42957
private final boolean field_42957- Mappings:
Namespace Name Mixin selector official i
Lmb$a;i:Z
intermediary field_42957
Lnet/minecraft/class_2447$class_2448;field_42957:Z
named field_42957
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;field_42957:Z
-
-
Constructor Details
-
ShapedRecipeJsonProvider
public ShapedRecipeJsonProvider(Identifier recipeId, Item output, int resultCount, String group, CraftingRecipeCategory craftingCategory, List<String> pattern, Map<Character, Ingredient> inputs, Advancement.Builder advancementBuilder, Identifier advancementId, boolean bool) - Mappings:
Namespace Name Mixin selector official <init>
Lmb$a;<init>(Ladd;Lcfq;ILjava/lang/String;Lcin;Ljava/util/List;Ljava/util/Map;Lae$a;Ladd;Z)V
intermediary <init>
Lnet/minecraft/class_2447$class_2448;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_1792;ILjava/lang/String;Lnet/minecraft/class_7710;Ljava/util/List;Ljava/util/Map;Lnet/minecraft/class_161$class_162;Lnet/minecraft/class_2960;Z)V
named <init>
Lnet/minecraft/data/server/recipe/ShapedRecipeJsonBuilder$ShapedRecipeJsonProvider;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/item/Item;ILjava/lang/String;Lnet/minecraft/recipe/book/CraftingRecipeCategory;Ljava/util/List;Ljava/util/Map;Lnet/minecraft/advancement/Advancement$Builder;Lnet/minecraft/util/Identifier;Z)V
-
-
Method Details
-
serialize
- Specified by:
serialize
in interfaceRecipeJsonProvider
- Overrides:
serialize
in classRecipeJsonBuilder.CraftingRecipeJsonProvider
- 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
-
getSerializer
- 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;
-
getRecipeId
- 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;
-
toAdvancementJson
- 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
- 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;
-