Class SynchronizeRecipesS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.SynchronizeRecipesS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class SynchronizeRecipesS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket
intermediary net/minecraft/class_2788
official afv
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48012 Lnet/minecraft/class_2788;field_48012:Lnet/minecraft/class_9139;
      official a Lafv;a:Lys;
    • recipes

      private final List<RecipeEntry<?>> recipes
      Mappings:
      Namespace Name Mixin selector
      named recipes Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;recipes:Ljava/util/List;
      intermediary field_12751 Lnet/minecraft/class_2788;field_12751:Ljava/util/List;
      official b Lafv;b:Ljava/util/List;
  • Constructor Details

    • SynchronizeRecipesS2CPacket

      public SynchronizeRecipesS2CPacket(Collection<RecipeEntry<?>> recipes)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;<init>(Ljava/util/Collection;)V
      intermediary <init> Lnet/minecraft/class_2788;<init>(Ljava/util/Collection;)V
      official <init> Lafv;<init>(Ljava/util/Collection;)V
  • Method Details

    • getPacketId

      public PacketType<SynchronizeRecipesS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzb;a()Lzd;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11997 Lnet/minecraft/class_2788;method_11997(Lnet/minecraft/class_2602;)V
      official a Lafv;a(Labn;)V
    • getRecipes

      public List<RecipeEntry<?>> getRecipes()
      Mappings:
      Namespace Name Mixin selector
      named getRecipes Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;getRecipes()Ljava/util/List;
      intermediary method_11998 Lnet/minecraft/class_2788;method_11998()Ljava/util/List;
      official b Lafv;b()Ljava/util/List;