Class CuttingRecipe.Serializer<T extends CuttingRecipe>

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

public static class CuttingRecipe.Serializer<T extends CuttingRecipe> extends Object implements RecipeSerializer<T>
Mappings:
Namespace Name
named net/minecraft/recipe/CuttingRecipe$Serializer
intermediary net/minecraft/class_3972$class_3973
official czm$b
  • Field Details

    • recipeFactory

      final CuttingRecipe.RecipeFactory<T extends CuttingRecipe> recipeFactory
      Mappings:
      Namespace Name Mixin selector
      named recipeFactory Lnet/minecraft/recipe/CuttingRecipe$Serializer;recipeFactory:Lnet/minecraft/recipe/CuttingRecipe$RecipeFactory;
      intermediary field_17648 Lnet/minecraft/class_3972$class_3973;field_17648:Lnet/minecraft/class_3972$class_3974;
      official x Lczm$b;x:Lczm$a;
    • codec

      private final com.mojang.serialization.MapCodec<T extends CuttingRecipe> codec
      Mappings:
      Namespace Name Mixin selector
      named codec Lnet/minecraft/recipe/CuttingRecipe$Serializer;codec:Lcom/mojang/serialization/MapCodec;
      intermediary field_46107 Lnet/minecraft/class_3972$class_3973;field_46107:Lcom/mojang/serialization/MapCodec;
      official y Lczm$b;y:Lcom/mojang/serialization/MapCodec;
    • packetCodec

      private final PacketCodec<RegistryByteBuf,T extends CuttingRecipe> packetCodec
      Mappings:
      Namespace Name Mixin selector
      named packetCodec Lnet/minecraft/recipe/CuttingRecipe$Serializer;packetCodec:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48363 Lnet/minecraft/class_3972$class_3973;field_48363:Lnet/minecraft/class_9139;
      official z Lczm$b;z:Lyw;
  • Constructor Details

    • Serializer

      protected Serializer(CuttingRecipe.RecipeFactory<T> recipeFactory)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/recipe/CuttingRecipe$Serializer;<init>(Lnet/minecraft/recipe/CuttingRecipe$RecipeFactory;)V
      intermediary <init> Lnet/minecraft/class_3972$class_3973;<init>(Lnet/minecraft/class_3972$class_3974;)V
      official <init> Lczm$b;<init>(Lczm$a;)V
  • Method Details

    • codec

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

      public PacketCodec<RegistryByteBuf,T> packetCodec()
      Specified by:
      packetCodec in interface RecipeSerializer<T extends CuttingRecipe>
      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 Lczc;b()Lyw;