Class PotatoRefinementRecipe.Serializer

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

public static class PotatoRefinementRecipe.Serializer extends Object implements RecipeSerializer<PotatoRefinementRecipe>
Mappings:
Namespace Name
official cyz$a
intermediary net/minecraft/class_9542$class_9543
named net/minecraft/recipe/PotatoRefinementRecipe$Serializer
  • Field Details

    • CODEC

      private static final com.mojang.serialization.Codec<PotatoRefinementRecipe> CODEC
      Mappings:
      Namespace Name Mixin selector
      official A Lcyz$a;A:Lcom/mojang/serialization/Codec;
      intermediary field_50726 Lnet/minecraft/class_9542$class_9543;field_50726:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/recipe/PotatoRefinementRecipe$Serializer;CODEC:Lcom/mojang/serialization/Codec;
    • PACKET_CODEC

      public static final PacketCodec<RegistryByteBuf,PotatoRefinementRecipe> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcyz$a;a:Lzc;
      intermediary field_50727 Lnet/minecraft/class_9542$class_9543;field_50727:Lnet/minecraft/class_9139;
      named PACKET_CODEC Lnet/minecraft/recipe/PotatoRefinementRecipe$Serializer;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • codec

      public com.mojang.serialization.Codec<PotatoRefinementRecipe> codec()
      Specified by:
      codec in interface RecipeSerializer<PotatoRefinementRecipe>
      Mappings:
      Namespace Name Mixin selector
      official a Lcze;a()Lcom/mojang/serialization/Codec;
      intermediary method_53736 Lnet/minecraft/class_1865;method_53736()Lcom/mojang/serialization/Codec;
      named codec Lnet/minecraft/recipe/RecipeSerializer;codec()Lcom/mojang/serialization/Codec;
    • packetCodec

      Specified by:
      packetCodec in interface RecipeSerializer<PotatoRefinementRecipe>
      Mappings:
      Namespace Name Mixin selector
      official b Lcze;b()Lzc;
      intermediary method_56104 Lnet/minecraft/class_1865;method_56104()Lnet/minecraft/class_9139;
      named packetCodec Lnet/minecraft/recipe/RecipeSerializer;packetCodec()Lnet/minecraft/network/codec/PacketCodec;
    • fromPacket

      private static PotatoRefinementRecipe fromPacket(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official a Lcyz$a;a(Lwp;)Lcyz;
      intermediary method_59072 Lnet/minecraft/class_9542$class_9543;method_59072(Lnet/minecraft/class_9129;)Lnet/minecraft/class_9542;
      named fromPacket Lnet/minecraft/recipe/PotatoRefinementRecipe$Serializer;fromPacket(Lnet/minecraft/network/RegistryByteBuf;)Lnet/minecraft/recipe/PotatoRefinementRecipe;
    • toPacket

      private static void toPacket(RegistryByteBuf registryByteBuf, PotatoRefinementRecipe buf)
      Mappings:
      Namespace Name Mixin selector
      official a Lcyz$a;a(Lwp;Lcyz;)V
      intermediary method_59073 Lnet/minecraft/class_9542$class_9543;method_59073(Lnet/minecraft/class_9129;Lnet/minecraft/class_9542;)V
      named toPacket Lnet/minecraft/recipe/PotatoRefinementRecipe$Serializer;toPacket(Lnet/minecraft/network/RegistryByteBuf;Lnet/minecraft/recipe/PotatoRefinementRecipe;)V