Package net.minecraft.recipe
Class SingleStackRecipe.Serializer<T extends SingleStackRecipe>
java.lang.Object
net.minecraft.recipe.SingleStackRecipe.Serializer<T>
- All Implemented Interfaces:
RecipeSerializer<T>
- Enclosing class:
SingleStackRecipe
public static class SingleStackRecipe.Serializer<T extends SingleStackRecipe>
extends Object
implements RecipeSerializer<T>
- Mappings:
Namespace Name named net/minecraft/recipe/SingleStackRecipe$Serializer
intermediary net/minecraft/class_3972$class_3973
official dcv$b
-
Field Summary
Modifier 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
ModifierConstructorDescriptionprotected
Serializer
(SingleStackRecipe.RecipeFactory<T> recipeFactory) -
Method Summary
-
Field Details
-
codec
- Mappings:
Namespace Name Mixin selector named codec
Lnet/minecraft/recipe/SingleStackRecipe$Serializer;codec:Lcom/mojang/serialization/MapCodec;
intermediary field_46107
Lnet/minecraft/class_3972$class_3973;field_46107:Lcom/mojang/serialization/MapCodec;
official w
Ldcv$b;w:Lcom/mojang/serialization/MapCodec;
-
packetCodec
- Mappings:
Namespace Name Mixin selector named packetCodec
Lnet/minecraft/recipe/SingleStackRecipe$Serializer;packetCodec:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48363
Lnet/minecraft/class_3972$class_3973;field_48363:Lnet/minecraft/class_9139;
official x
Ldcv$b;x:Lzt;
-
-
Constructor Details
-
Serializer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/recipe/SingleStackRecipe$Serializer;<init>(Lnet/minecraft/recipe/SingleStackRecipe$RecipeFactory;)V
intermediary <init>
Lnet/minecraft/class_3972$class_3973;<init>(Lnet/minecraft/class_3972$class_3974;)V
official <init>
Ldcv$b;<init>(Ldcv$a;)V
-
-
Method Details
-
codec
- Specified by:
codec
in interfaceRecipeSerializer<T extends SingleStackRecipe>
- Mappings:
Namespace Name Mixin selector named codec
Lnet/minecraft/recipe/RecipeSerializer;codec()Lcom/mojang/serialization/MapCodec;
intermediary method_53736
Lnet/minecraft/class_1865;method_53736()Lcom/mojang/serialization/MapCodec;
official a
Ldcn;a()Lcom/mojang/serialization/MapCodec;
-
packetCodec
Deprecated.Recipe
is no longer synced to the clients, making this obsolete.Returns the packet codec for serializing recipes over the network.- Specified by:
packetCodec
in interfaceRecipeSerializer<T extends SingleStackRecipe>
- Returns:
- the packet codec for serializing recipes over the network
- See Also:
- Mappings:
Namespace Name Mixin selector named packetCodec
Lnet/minecraft/recipe/RecipeSerializer;packetCodec()Lnet/minecraft/network/codec/PacketCodec;
intermediary method_56104
Lnet/minecraft/class_1865;method_56104()Lnet/minecraft/class_9139;
official b
Ldcn;b()Lzt;
-
Recipe
is no longer synced to the clients, making this obsolete.