Package net.minecraft.recipe
Class SpecialRecipeSerializer<T extends Recipe<?>>
java.lang.Object
net.minecraft.recipe.SpecialRecipeSerializer<T>
- All Implemented Interfaces:
RecipeSerializer<T>
public class SpecialRecipeSerializer<T extends Recipe<?>> extends Object implements RecipeSerializer<T>
- Mappings:
Namespace Name official bqx
intermediary net/minecraft/class_1866
named net/minecraft/recipe/SpecialRecipeSerializer
-
Field Summary
Fields Modifier and Type Field Description private Function<Identifier,T>
id
Fields inherited from interface net.minecraft.recipe.RecipeSerializer
ARMOR_DYE, BANNER_DUPLICATE, BLASTING, BOOK_CLONING, CAMPFIRE_COOKING, FIREWORK_ROCKET, FIREWORK_STAR, FIREWORK_STAR_FADE, MAP_CLONING, MAP_EXTENDING, REPAIR_ITEM, SHAPED, SHAPELESS, SHIELD_DECORATION, SHULKER_BOX, SMELTING, SMITHING, SMOKING, STONECUTTING, SUSPICIOUS_STEW, TIPPED_ARROW
-
Constructor Summary
Constructors Constructor Description SpecialRecipeSerializer(Function<Identifier,T> id)
-
Method Summary
Modifier and Type Method Description T
read(Identifier id, JsonObject json)
T
read(Identifier id, PacketByteBuf buf)
void
write(PacketByteBuf buf, T recipe)
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official v
Lbqx;v:Ljava/util/function/Function;
intermediary field_9046
Lnet/minecraft/class_1866;field_9046:Ljava/util/function/Function;
named id
Lnet/minecraft/recipe/SpecialRecipeSerializer;id:Ljava/util/function/Function;
-
-
Constructor Details
-
SpecialRecipeSerializer
- Mappings:
Namespace Name Mixin selector official <init>
Lbqx;<init>(Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_1866;<init>(Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/recipe/SpecialRecipeSerializer;<init>(Ljava/util/function/Function;)V
-
-
Method Details
-
read
- Specified by:
read
in interfaceRecipeSerializer<T extends Recipe<?>>
- Mappings:
Namespace Name Mixin selector official a
Lbqp;a(Lwb;Lcom/google/gson/JsonObject;)Lbqn;
intermediary method_8121
Lnet/minecraft/class_1865;method_8121(Lnet/minecraft/class_2960;Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1860;
named read
Lnet/minecraft/recipe/RecipeSerializer;read(Lnet/minecraft/util/Identifier;Lcom/google/gson/JsonObject;)Lnet/minecraft/recipe/Recipe;
-
read
- Specified by:
read
in interfaceRecipeSerializer<T extends Recipe<?>>
- Mappings:
Namespace Name Mixin selector official a
Lbqp;a(Lwb;Lnw;)Lbqn;
intermediary method_8122
Lnet/minecraft/class_1865;method_8122(Lnet/minecraft/class_2960;Lnet/minecraft/class_2540;)Lnet/minecraft/class_1860;
named read
Lnet/minecraft/recipe/RecipeSerializer;read(Lnet/minecraft/util/Identifier;Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/recipe/Recipe;
-
write
- Specified by:
write
in interfaceRecipeSerializer<T extends Recipe<?>>
- Mappings:
Namespace Name Mixin selector official a
Lbqp;a(Lnw;Lbqn;)V
intermediary method_8124
Lnet/minecraft/class_1865;method_8124(Lnet/minecraft/class_2540;Lnet/minecraft/class_1860;)V
named write
Lnet/minecraft/recipe/RecipeSerializer;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/recipe/Recipe;)V
-