Class SmithingTransformRecipe.Serializer

java.lang.Object
net.minecraft.recipe.SmithingTransformRecipe.Serializer
All Implemented Interfaces:
RecipeSerializer<SmithingTransformRecipe>
Enclosing class:
SmithingTransformRecipe

public static class SmithingTransformRecipe.Serializer extends Object implements RecipeSerializer<SmithingTransformRecipe>
Mappings:
Namespace Name
named net/minecraft/recipe/SmithingTransformRecipe$Serializer
intermediary net/minecraft/class_8060$class_8061
official dda$a
  • Field Details

    • CODEC

      private static final com.mojang.serialization.MapCodec<SmithingTransformRecipe> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/recipe/SmithingTransformRecipe$Serializer;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46108 Lnet/minecraft/class_8060$class_8061;field_46108:Lcom/mojang/serialization/MapCodec;
      official x Ldda$a;x:Lcom/mojang/serialization/MapCodec;
    • PACKET_CODEC

      public static final PacketCodec<RegistryByteBuf,SmithingTransformRecipe> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/recipe/SmithingTransformRecipe$Serializer;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48364 Lnet/minecraft/class_8060$class_8061;field_48364:Lnet/minecraft/class_9139;
      official w Ldda$a;w:Lzt;
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • codec

      public com.mojang.serialization.MapCodec<SmithingTransformRecipe> codec()
      Specified by:
      codec in interface RecipeSerializer<SmithingTransformRecipe>
      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 interface RecipeSerializer<SmithingTransformRecipe>
      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;