Package net.minecraft.recipe
Class ShapedRecipe.Serializer
java.lang.Object
net.minecraft.recipe.ShapedRecipe.Serializer
- All Implemented Interfaces:
 RecipeSerializer<ShapedRecipe>
- Enclosing class:
 ShapedRecipe
public static class ShapedRecipe.Serializer
extends Object
implements RecipeSerializer<ShapedRecipe>
- Mappings:
 Namespace Name named net/minecraft/recipe/ShapedRecipe$Serializerintermediary net/minecraft/class_1869$class_1870official dcr$a
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<ShapedRecipe> static final PacketCodec<RegistryByteBuf, ShapedRecipe> Fields inherited from interface net.minecraft.recipe.RecipeSerializer
ARMOR_DYE, BANNER_DUPLICATE, BLASTING, BOOK_CLONING, CAMPFIRE_COOKING, CRAFTING_DECORATED_POT, CRAFTING_TRANSMUTE, FIREWORK_ROCKET, FIREWORK_STAR, FIREWORK_STAR_FADE, MAP_CLONING, MAP_EXTENDING, REPAIR_ITEM, SHAPED, SHAPELESS, SHIELD_DECORATION, SMELTING, SMITHING_TRANSFORM, SMITHING_TRIM, SMOKING, STONECUTTING, TIPPED_ARROW - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<ShapedRecipe> codec()Deprecated.private static ShapedReciperead(RegistryByteBuf buf) private static voidwrite(RegistryByteBuf buf, ShapedRecipe recipe)  
- 
Field Details
- 
CODEC
- Mappings:
 Namespace Name Mixin selector named CODECLnet/minecraft/recipe/ShapedRecipe$Serializer;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_46102Lnet/minecraft/class_1869$class_1870;field_46102:Lcom/mojang/serialization/MapCodec;official wLdcr$a;w:Lcom/mojang/serialization/MapCodec;
 - 
PACKET_CODEC
- Mappings:
 Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/recipe/ShapedRecipe$Serializer;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48358Lnet/minecraft/class_1869$class_1870;field_48358:Lnet/minecraft/class_9139;official xLdcr$a;x:Lzt;
 
 - 
 - 
Constructor Details
- 
Serializer
public Serializer() 
 - 
 - 
Method Details
- 
codec
- Specified by:
 codecin interfaceRecipeSerializer<ShapedRecipe>- Mappings:
 Namespace Name Mixin selector named codecLnet/minecraft/recipe/RecipeSerializer;codec()Lcom/mojang/serialization/MapCodec;intermediary method_53736Lnet/minecraft/class_1865;method_53736()Lcom/mojang/serialization/MapCodec;official aLdcn;a()Lcom/mojang/serialization/MapCodec;
 - 
packetCodec
Deprecated.Recipeis no longer synced to the clients, making this obsolete.Returns the packet codec for serializing recipes over the network.- Specified by:
 packetCodecin interfaceRecipeSerializer<ShapedRecipe>- Returns:
 - the packet codec for serializing recipes over the network
 - See Also:
 - Mappings:
 Namespace Name Mixin selector named packetCodecLnet/minecraft/recipe/RecipeSerializer;packetCodec()Lnet/minecraft/network/codec/PacketCodec;intermediary method_56104Lnet/minecraft/class_1865;method_56104()Lnet/minecraft/class_9139;official bLdcn;b()Lzt;
 - 
read
- Mappings:
 Namespace Name Mixin selector named readLnet/minecraft/recipe/ShapedRecipe$Serializer;read(Lnet/minecraft/network/RegistryByteBuf;)Lnet/minecraft/recipe/ShapedRecipe;intermediary method_8163Lnet/minecraft/class_1869$class_1870;method_8163(Lnet/minecraft/class_9129;)Lnet/minecraft/class_1869;official aLdcr$a;a(Lxg;)Ldcr;
 - 
write
- Mappings:
 Namespace Name Mixin selector named writeLnet/minecraft/recipe/ShapedRecipe$Serializer;write(Lnet/minecraft/network/RegistryByteBuf;Lnet/minecraft/recipe/ShapedRecipe;)Vintermediary method_8165Lnet/minecraft/class_1869$class_1870;method_8165(Lnet/minecraft/class_9129;Lnet/minecraft/class_1869;)Vofficial aLdcr$a;a(Lxg;Ldcr;)V
 
 - 
 
Recipeis no longer synced to the clients, making this obsolete.