Class SmithingTransformRecipe.Serializer
java.lang.Object
net.minecraft.world.item.crafting.SmithingTransformRecipe.Serializer
- All Implemented Interfaces:
RecipeSerializer<SmithingTransformRecipe>
- Enclosing class:
SmithingTransformRecipe
public static class SmithingTransformRecipe.Serializer
extends Object
implements RecipeSerializer<SmithingTransformRecipe>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.MapCodec
<SmithingTransformRecipe> static final StreamCodec
<RegistryFriendlyByteBuf, SmithingTransformRecipe> Fields inherited from interface net.minecraft.world.item.crafting.RecipeSerializer
ARMOR_DYE, BANNER_DUPLICATE, BLASTING_RECIPE, BOOK_CLONING, CAMPFIRE_COOKING_RECIPE, DECORATED_POT_RECIPE, FIREWORK_ROCKET, FIREWORK_STAR, FIREWORK_STAR_FADE, MAP_CLONING, MAP_EXTENDING, REPAIR_ITEM, SHAPED_RECIPE, SHAPELESS_RECIPE, SHIELD_DECORATION, SHULKER_BOX_COLORING, SMELTING_RECIPE, SMITHING_TRANSFORM, SMITHING_TRIM, SMOKING_RECIPE, STONECUTTER, SUSPICIOUS_STEW, TIPPED_ARROW
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<SmithingTransformRecipe> codec()
private static SmithingTransformRecipe
fromNetwork
(RegistryFriendlyByteBuf p_333917_) private static void
toNetwork
(RegistryFriendlyByteBuf p_329920_, SmithingTransformRecipe p_266927_)
-
Field Details
-
CODEC
-
STREAM_CODEC
-
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
codec
- Specified by:
codec
in interfaceRecipeSerializer<SmithingTransformRecipe>
-
streamCodec
- Specified by:
streamCodec
in interfaceRecipeSerializer<SmithingTransformRecipe>
-
fromNetwork
-
toNetwork
-