Class ShapelessRecipe.Serializer

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

public static class ShapelessRecipe.Serializer extends Object implements RecipeSerializer<ShapelessRecipe>
Mappings:
Namespace Name
named net/minecraft/recipe/ShapelessRecipe$Serializer
intermediary net/minecraft/class_1867$class_1868
official czf$a
  • Field Details

    • CODEC

      private static final com.mojang.serialization.MapCodec<ShapelessRecipe> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/recipe/ShapelessRecipe$Serializer;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46104 Lnet/minecraft/class_1867$class_1868;field_46104:Lcom/mojang/serialization/MapCodec;
      official y Lczf$a;y:Lcom/mojang/serialization/MapCodec;
    • PACKET_CODEC

      public static final PacketCodec<RegistryByteBuf,ShapelessRecipe> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/recipe/ShapelessRecipe$Serializer;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48360 Lnet/minecraft/class_1867$class_1868;field_48360:Lnet/minecraft/class_9139;
      official x Lczf$a;x:Lzn;
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • codec

      public com.mojang.serialization.MapCodec<ShapelessRecipe> codec()
      Specified by:
      codec in interface RecipeSerializer<ShapelessRecipe>
      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 Lcza;a()Lcom/mojang/serialization/MapCodec;
    • packetCodec

      Specified by:
      packetCodec in interface RecipeSerializer<ShapelessRecipe>
      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 Lcza;b()Lzn;
    • read

      private static ShapelessRecipe read(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named read Lnet/minecraft/recipe/ShapelessRecipe$Serializer;read(Lnet/minecraft/network/RegistryByteBuf;)Lnet/minecraft/recipe/ShapelessRecipe;
      intermediary method_8141 Lnet/minecraft/class_1867$class_1868;method_8141(Lnet/minecraft/class_9129;)Lnet/minecraft/class_1867;
      official a Lczf$a;a(Lxa;)Lczf;
    • write

      private static void write(RegistryByteBuf buf, ShapelessRecipe recipe)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/recipe/ShapelessRecipe$Serializer;write(Lnet/minecraft/network/RegistryByteBuf;Lnet/minecraft/recipe/ShapelessRecipe;)V
      intermediary method_8143 Lnet/minecraft/class_1867$class_1868;method_8143(Lnet/minecraft/class_9129;Lnet/minecraft/class_1867;)V
      official a Lczf$a;a(Lxa;Lczf;)V