Package net.minecraft.data.server.recipe
Class ShapelessRecipeJsonFactory.ShapelessRecipeJsonProvider
java.lang.Object
net.minecraft.data.server.recipe.ShapelessRecipeJsonFactory.ShapelessRecipeJsonProvider
- All Implemented Interfaces:
RecipeJsonProvider
- Enclosing class:
- ShapelessRecipeJsonFactory
public static class ShapelessRecipeJsonFactory.ShapelessRecipeJsonProvider
extends Object
implements RecipeJsonProvider
- Mappings:
Namespace Name official ka$a
intermediary net/minecraft/class_2450$class_2451
named net/minecraft/data/server/recipe/ShapelessRecipeJsonFactory$ShapelessRecipeJsonProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Identifier
private final Advancement.Task
private final int
private final String
private final List<Ingredient>
private final Item
private final Identifier
-
Constructor Summary
ConstructorDescriptionShapelessRecipeJsonProvider
(Identifier recipeId, Item output, int outputCount, String group, List<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, wait
Methods inherited from interface net.minecraft.data.server.recipe.RecipeJsonProvider
toJson
-
Field Details
-
recipeId
- Mappings:
Namespace Name Mixin selector official a
Lka$a;a:Lww;
intermediary field_11402
Lnet/minecraft/class_2450$class_2451;field_11402:Lnet/minecraft/class_2960;
named recipeId
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory$ShapelessRecipeJsonProvider;recipeId:Lnet/minecraft/util/Identifier;
-
output
- Mappings:
Namespace Name Mixin selector official b
Lka$a;b:Lbql;
intermediary field_11403
Lnet/minecraft/class_2450$class_2451;field_11403:Lnet/minecraft/class_1792;
named output
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory$ShapelessRecipeJsonProvider;output:Lnet/minecraft/item/Item;
-
count
private final int count- Mappings:
Namespace Name Mixin selector official c
Lka$a;c:I
intermediary field_11400
Lnet/minecraft/class_2450$class_2451;field_11400:I
named count
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory$ShapelessRecipeJsonProvider;count:I
-
group
- Mappings:
Namespace Name Mixin selector official d
Lka$a;d:Ljava/lang/String;
intermediary field_11399
Lnet/minecraft/class_2450$class_2451;field_11399:Ljava/lang/String;
named group
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory$ShapelessRecipeJsonProvider;group:Ljava/lang/String;
-
inputs
- Mappings:
Namespace Name Mixin selector official e
Lka$a;e:Ljava/util/List;
intermediary field_11404
Lnet/minecraft/class_2450$class_2451;field_11404:Ljava/util/List;
named inputs
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory$ShapelessRecipeJsonProvider;inputs:Ljava/util/List;
-
builder
- Mappings:
Namespace Name Mixin selector official f
Lka$a;f:Lae$a;
intermediary field_11401
Lnet/minecraft/class_2450$class_2451;field_11401:Lnet/minecraft/class_161$class_162;
named builder
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory$ShapelessRecipeJsonProvider;builder:Lnet/minecraft/advancement/Advancement$Task;
-
advancementId
- Mappings:
Namespace Name Mixin selector official g
Lka$a;g:Lww;
intermediary field_11405
Lnet/minecraft/class_2450$class_2451;field_11405:Lnet/minecraft/class_2960;
named advancementId
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory$ShapelessRecipeJsonProvider;advancementId:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
ShapelessRecipeJsonProvider
public ShapelessRecipeJsonProvider(Identifier recipeId, Item output, int outputCount, String group, List<Ingredient> inputs, Advancement.Task builder, Identifier advancementId) - Mappings:
Namespace Name Mixin selector official <init>
Lka$a;<init>(Lww;Lbql;ILjava/lang/String;Ljava/util/List;Lae$a;Lww;)V
intermediary <init>
Lnet/minecraft/class_2450$class_2451;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_1792;ILjava/lang/String;Ljava/util/List;Lnet/minecraft/class_161$class_162;Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory$ShapelessRecipeJsonProvider;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/item/Item;ILjava/lang/String;Ljava/util/List;Lnet/minecraft/advancement/Advancement$Task;Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
serialize
- Specified by:
serialize
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official a
Ljw;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
- Specified by:
getSerializer
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official c
Ljw;c()Lbtj;
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
- Specified by:
getRecipeId
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official b
Ljw;b()Lww;
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
- Specified by:
toAdvancementJson
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official d
Ljw;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
Ljw;e()Lww;
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;
-