Package net.minecraft.data.server.recipe
Class SingleItemRecipeJsonFactory.SingleItemRecipeJsonProvider
java.lang.Object
net.minecraft.data.server.recipe.SingleItemRecipeJsonFactory.SingleItemRecipeJsonProvider
- All Implemented Interfaces:
RecipeJsonProvider
- Enclosing class:
- SingleItemRecipeJsonFactory
public static class SingleItemRecipeJsonFactory.SingleItemRecipeJsonProvider extends Object implements RecipeJsonProvider
- Mappings:
Namespace Name official js$a
intermediary net/minecraft/class_3981$class_3982
named net/minecraft/data/server/recipe/SingleItemRecipeJsonFactory$SingleItemRecipeJsonProvider
-
Field Summary
Fields Modifier and Type Field Description private Identifier
advancementId
private Advancement.Task
builder
private int
count
private String
group
private Ingredient
input
private Item
output
private Identifier
recipeId
private RecipeSerializer<?>
serializer
-
Constructor Summary
Constructors Constructor Description SingleItemRecipeJsonProvider(Identifier recipeId, RecipeSerializer<?> serializer, String group, Ingredient input, Item output, int outputCount, Advancement.Task builder, Identifier advancementId)
-
Method Summary
Modifier and Type Method Description Identifier
getAdvancementId()
Identifier
getRecipeId()
RecipeSerializer<?>
getSerializer()
void
serialize(JsonObject json)
JsonObject
toAdvancementJson()
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
Ljs$a;a:Lwb;
intermediary field_17696
Lnet/minecraft/class_3981$class_3982;field_17696:Lnet/minecraft/class_2960;
named recipeId
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory$SingleItemRecipeJsonProvider;recipeId:Lnet/minecraft/util/Identifier;
-
group
- Mappings:
Namespace Name Mixin selector official b
Ljs$a;b:Ljava/lang/String;
intermediary field_17697
Lnet/minecraft/class_3981$class_3982;field_17697:Ljava/lang/String;
named group
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory$SingleItemRecipeJsonProvider;group:Ljava/lang/String;
-
input
- Mappings:
Namespace Name Mixin selector official c
Ljs$a;c:Lbqk;
intermediary field_17698
Lnet/minecraft/class_3981$class_3982;field_17698:Lnet/minecraft/class_1856;
named input
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory$SingleItemRecipeJsonProvider;input:Lnet/minecraft/recipe/Ingredient;
-
output
- Mappings:
Namespace Name Mixin selector official d
Ljs$a;d:Lbnr;
intermediary field_17699
Lnet/minecraft/class_3981$class_3982;field_17699:Lnet/minecraft/class_1792;
named output
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory$SingleItemRecipeJsonProvider;output:Lnet/minecraft/item/Item;
-
count
private final int count- Mappings:
Namespace Name Mixin selector official e
Ljs$a;e:I
intermediary field_17700
Lnet/minecraft/class_3981$class_3982;field_17700:I
named count
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory$SingleItemRecipeJsonProvider;count:I
-
builder
- Mappings:
Namespace Name Mixin selector official f
Ljs$a;f:Ly$a;
intermediary field_17701
Lnet/minecraft/class_3981$class_3982;field_17701:Lnet/minecraft/class_161$class_162;
named builder
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory$SingleItemRecipeJsonProvider;builder:Lnet/minecraft/advancement/Advancement$Task;
-
advancementId
- Mappings:
Namespace Name Mixin selector official g
Ljs$a;g:Lwb;
intermediary field_17702
Lnet/minecraft/class_3981$class_3982;field_17702:Lnet/minecraft/class_2960;
named advancementId
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory$SingleItemRecipeJsonProvider;advancementId:Lnet/minecraft/util/Identifier;
-
serializer
- Mappings:
Namespace Name Mixin selector official h
Ljs$a;h:Lbqp;
intermediary field_17703
Lnet/minecraft/class_3981$class_3982;field_17703:Lnet/minecraft/class_1865;
named serializer
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory$SingleItemRecipeJsonProvider;serializer:Lnet/minecraft/recipe/RecipeSerializer;
-
-
Constructor Details
-
SingleItemRecipeJsonProvider
public SingleItemRecipeJsonProvider(Identifier recipeId, RecipeSerializer<?> serializer, String group, Ingredient input, Item output, int outputCount, Advancement.Task builder, Identifier advancementId)- Mappings:
Namespace Name Mixin selector official <init>
Ljs$a;<init>(Lwb;Lbqp;Ljava/lang/String;Lbqk;Lbnr;ILy$a;Lwb;)V
intermediary <init>
Lnet/minecraft/class_3981$class_3982;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_1865;Ljava/lang/String;Lnet/minecraft/class_1856;Lnet/minecraft/class_1792;ILnet/minecraft/class_161$class_162;Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory$SingleItemRecipeJsonProvider;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/recipe/RecipeSerializer;Ljava/lang/String;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/Item;ILnet/minecraft/advancement/Advancement$Task;Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
serialize
- Specified by:
serialize
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official a
Ljm;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
Ljm;b()Lwb;
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
Ljm;c()Lbqp;
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
Ljm;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
Ljm;e()Lwb;
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;
-