Package net.minecraft.recipe
Class AbstractCookingRecipe.Serializer<T extends AbstractCookingRecipe>
java.lang.Object
net.minecraft.recipe.AbstractCookingRecipe.Serializer<T>
- All Implemented Interfaces:
 RecipeSerializer<T>
- Enclosing class:
 AbstractCookingRecipe
public static class AbstractCookingRecipe.Serializer<T extends AbstractCookingRecipe>
extends Object
implements RecipeSerializer<T>
- Mappings:
 Namespace Name named net/minecraft/recipe/AbstractCookingRecipe$Serializerintermediary net/minecraft/class_1874$class_10285official dgs$b
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.mojang.serialization.MapCodec<T> private final PacketCodec<RegistryByteBuf, T> 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
ConstructorsConstructorDescriptionSerializer(AbstractCookingRecipe.RecipeFactory<T> factory, int defaultCookingTime)  - 
Method Summary
 
- 
Field Details
- 
codec
- Mappings:
 Namespace Name Mixin selector named codecLnet/minecraft/recipe/AbstractCookingRecipe$Serializer;codec:Lcom/mojang/serialization/MapCodec;intermediary field_54625Lnet/minecraft/class_1874$class_10285;field_54625:Lcom/mojang/serialization/MapCodec;official wLdgs$b;w:Lcom/mojang/serialization/MapCodec;
 - 
packetCodec
- Mappings:
 Namespace Name Mixin selector named packetCodecLnet/minecraft/recipe/AbstractCookingRecipe$Serializer;packetCodec:Lnet/minecraft/network/codec/PacketCodec;intermediary field_54626Lnet/minecraft/class_1874$class_10285;field_54626:Lnet/minecraft/class_9139;official xLdgs$b;x:Lzm;
 
 - 
 - 
Constructor Details
- 
Serializer
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/recipe/AbstractCookingRecipe$Serializer;<init>(Lnet/minecraft/recipe/AbstractCookingRecipe$RecipeFactory;I)Vintermediary <init>Lnet/minecraft/class_1874$class_10285;<init>(Lnet/minecraft/class_1874$class_3958;I)Vofficial <init>Ldgs$b;<init>(Ldgs$a;I)V
 
 - 
 - 
Method Details
- 
codec
- Specified by:
 codecin interfaceRecipeSerializer<T extends AbstractCookingRecipe>- 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 aLdhw;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<T extends AbstractCookingRecipe>- 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 bLdhw;b()Lzm;
 
 - 
 
Recipeis no longer synced to the clients, making this obsolete.