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 official cxk$a
intermediary net/minecraft/class_1869$class_1870
named net/minecraft/recipe/ShapedRecipe$Serializer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<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, FIREWORK_ROCKET, FIREWORK_STAR, FIREWORK_STAR_FADE, MAP_CLONING, MAP_EXTENDING, REPAIR_ITEM, SHAPED, SHAPELESS, SHIELD_DECORATION, SHULKER_BOX, SMELTING, SMITHING_TRANSFORM, SMITHING_TRIM, SMOKING, STONECUTTING, SUSPICIOUS_STEW, TIPPED_ARROW
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec
<ShapedRecipe> codec()
private static ShapedRecipe
read
(RegistryByteBuf buf) private static void
write
(RegistryByteBuf buf, ShapedRecipe recipe)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official x
Lcxk$a;x:Lcom/mojang/serialization/Codec;
intermediary field_46102
Lnet/minecraft/class_1869$class_1870;field_46102:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/recipe/ShapedRecipe$Serializer;CODEC:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector official y
Lcxk$a;y:Lys;
intermediary field_48358
Lnet/minecraft/class_1869$class_1870;field_48358:Lnet/minecraft/class_9139;
named PACKET_CODEC
Lnet/minecraft/recipe/ShapedRecipe$Serializer;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
codec
- Specified by:
codec
in interfaceRecipeSerializer<ShapedRecipe>
- Mappings:
Namespace Name Mixin selector official a
Lcxh;a()Lcom/mojang/serialization/Codec;
intermediary method_53736
Lnet/minecraft/class_1865;method_53736()Lcom/mojang/serialization/Codec;
named codec
Lnet/minecraft/recipe/RecipeSerializer;codec()Lcom/mojang/serialization/Codec;
-
packetCodec
- Specified by:
packetCodec
in interfaceRecipeSerializer<ShapedRecipe>
- Mappings:
Namespace Name Mixin selector official b
Lcxh;b()Lys;
intermediary method_56104
Lnet/minecraft/class_1865;method_56104()Lnet/minecraft/class_9139;
named packetCodec
Lnet/minecraft/recipe/RecipeSerializer;packetCodec()Lnet/minecraft/network/codec/PacketCodec;
-
read
- Mappings:
Namespace Name Mixin selector official a
Lcxk$a;a(Lwf;)Lcxk;
intermediary method_8163
Lnet/minecraft/class_1869$class_1870;method_8163(Lnet/minecraft/class_9129;)Lnet/minecraft/class_1869;
named read
Lnet/minecraft/recipe/ShapedRecipe$Serializer;read(Lnet/minecraft/network/RegistryByteBuf;)Lnet/minecraft/recipe/ShapedRecipe;
-
write
- Mappings:
Namespace Name Mixin selector official a
Lcxk$a;a(Lwf;Lcxk;)V
intermediary method_8165
Lnet/minecraft/class_1869$class_1870;method_8165(Lnet/minecraft/class_9129;Lnet/minecraft/class_1869;)V
named write
Lnet/minecraft/recipe/ShapedRecipe$Serializer;write(Lnet/minecraft/network/RegistryByteBuf;Lnet/minecraft/recipe/ShapedRecipe;)V
-