Package net.minecraft.recipe
Class ShapelessRecipe.Serializer
java.lang.Object
net.minecraft.recipe.ShapelessRecipe.Serializer
- All Implemented Interfaces:
RecipeSerializer<ShapelessRecipe>
- Enclosing class:
ShapelessRecipe
public static class ShapelessRecipe.Serializer
extends Object
implements RecipeSerializer<ShapelessRecipe>
- Mappings:
Namespace Name named net/minecraft/recipe/ShapelessRecipe$Serializerintermediary net/minecraft/class_1867$class_1868official dfr$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.MapCodec<ShapelessRecipe> static final PacketCodec<RegistryByteBuf, ShapelessRecipe> 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<ShapelessRecipe> codec()Deprecated.
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/recipe/ShapelessRecipe$Serializer;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_46104Lnet/minecraft/class_1867$class_1868;field_46104:Lcom/mojang/serialization/MapCodec;official xLdfr$a;x:Lcom/mojang/serialization/MapCodec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/recipe/ShapelessRecipe$Serializer;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48360Lnet/minecraft/class_1867$class_1868;field_48360:Lnet/minecraft/class_9139;official wLdfr$a;w:Lze;
-
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
codec
- Specified by:
codecin interfaceRecipeSerializer<ShapelessRecipe>- 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 aLdfl;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<ShapelessRecipe>- 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 bLdfl;b()Lze;
-
Recipeis no longer synced to the clients, making this obsolete.