Class SmithingTrimRecipe.Serializer
java.lang.Object
net.minecraft.world.item.crafting.SmithingTrimRecipe.Serializer
- All Implemented Interfaces:
RecipeSerializer<SmithingTrimRecipe>
- Enclosing class:
SmithingTrimRecipe
public static class SmithingTrimRecipe.Serializer
extends Object
implements RecipeSerializer<SmithingTrimRecipe>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.MapCodec
<SmithingTrimRecipe> static final StreamCodec
<RegistryFriendlyByteBuf, SmithingTrimRecipe> 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
<SmithingTrimRecipe> codec()
private static SmithingTrimRecipe
fromNetwork
(RegistryFriendlyByteBuf p_333367_) private static void
toNetwork
(RegistryFriendlyByteBuf p_335485_, SmithingTrimRecipe p_335201_)
-
Field Details
-
CODEC
-
STREAM_CODEC
-
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
codec
- Specified by:
codec
in interfaceRecipeSerializer<SmithingTrimRecipe>
-
streamCodec
- Specified by:
streamCodec
in interfaceRecipeSerializer<SmithingTrimRecipe>
-
fromNetwork
-
toNetwork
-