Package net.minecraft.data.server.recipe
Class ShapelessRecipeJsonBuilder.ShapelessRecipeJsonProvider
java.lang.Object
net.minecraft.data.server.recipe.RecipeJsonBuilder.CraftingRecipeJsonProvider
net.minecraft.data.server.recipe.ShapelessRecipeJsonBuilder.ShapelessRecipeJsonProvider
- All Implemented Interfaces:
RecipeJsonProvider
- Enclosing class:
ShapelessRecipeJsonBuilder
public static class ShapelessRecipeJsonBuilder.ShapelessRecipeJsonProvider
extends RecipeJsonBuilder.CraftingRecipeJsonProvider
- Mappings:
Namespace Name official lw$a
intermediary net/minecraft/class_2450$class_2451
named net/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AdvancementEntry
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, CraftingRecipeCategory craftingCategory, List<Ingredient> inputs, AdvancementEntry advancementBuilder) -
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
Llw$a;a:Laew;
intermediary field_11402
Lnet/minecraft/class_2450$class_2451;field_11402:Lnet/minecraft/class_2960;
named recipeId
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;recipeId:Lnet/minecraft/util/Identifier;
-
output
- Mappings:
Namespace Name Mixin selector official b
Llw$a;b:Lcja;
intermediary field_11403
Lnet/minecraft/class_2450$class_2451;field_11403:Lnet/minecraft/class_1792;
named output
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;output:Lnet/minecraft/item/Item;
-
count
private final int count- Mappings:
Namespace Name Mixin selector official c
Llw$a;c:I
intermediary field_11400
Lnet/minecraft/class_2450$class_2451;field_11400:I
named count
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;count:I
-
group
- Mappings:
Namespace Name Mixin selector official d
Llw$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/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;group:Ljava/lang/String;
-
inputs
- Mappings:
Namespace Name Mixin selector official e
Llw$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/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;inputs:Ljava/util/List;
-
advancementBuilder
- Mappings:
Namespace Name Mixin selector official f
Llw$a;f:Laf;
intermediary field_11401
Lnet/minecraft/class_2450$class_2451;field_11401:Lnet/minecraft/class_8779;
named advancementBuilder
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;advancementBuilder:Lnet/minecraft/advancement/AdvancementEntry;
-
-
Constructor Details
-
ShapelessRecipeJsonProvider
public ShapelessRecipeJsonProvider(Identifier recipeId, Item output, int outputCount, String group, CraftingRecipeCategory craftingCategory, List<Ingredient> inputs, AdvancementEntry advancementBuilder) - Mappings:
Namespace Name Mixin selector official <init>
Llw$a;<init>(Laew;Lcja;ILjava/lang/String;Lcly;Ljava/util/List;Laf;)V
intermediary <init>
Lnet/minecraft/class_2450$class_2451;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_1792;ILjava/lang/String;Lnet/minecraft/class_7710;Ljava/util/List;Lnet/minecraft/class_8779;)V
named <init>
Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/item/Item;ILjava/lang/String;Lnet/minecraft/recipe/book/CraftingRecipeCategory;Ljava/util/List;Lnet/minecraft/advancement/AdvancementEntry;)V
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject json) - Specified by:
serialize
in interfaceRecipeJsonProvider
- Overrides:
serialize
in classRecipeJsonBuilder.CraftingRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official a
Llq;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
-
serializer
- Mappings:
Namespace Name Mixin selector official c
Llq;c()Lcmm;
intermediary comp_1231
Lnet/minecraft/class_2444;comp_1231()Lnet/minecraft/class_1865;
named serializer
Lnet/minecraft/data/server/recipe/RecipeJsonProvider;serializer()Lnet/minecraft/recipe/RecipeSerializer;
-
id
- Mappings:
Namespace Name Mixin selector official b
Llq;b()Laew;
intermediary comp_1230
Lnet/minecraft/class_2444;comp_1230()Lnet/minecraft/class_2960;
named id
Lnet/minecraft/data/server/recipe/RecipeJsonProvider;id()Lnet/minecraft/util/Identifier;
-
advancement
- Mappings:
Namespace Name Mixin selector official d
Llq;d()Laf;
intermediary comp_1235
Lnet/minecraft/class_2444;comp_1235()Lnet/minecraft/class_8779;
named advancement
Lnet/minecraft/data/server/recipe/RecipeJsonProvider;advancement()Lnet/minecraft/advancement/AdvancementEntry;
-