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 agq
  • 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 Lagq;a:Lzn;
    • 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 Lagq;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> Lagq;<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 Lzw;a()Lzy;
    • 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 Lagq;a(Laci;)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 Lagq;b()Ljava/util/List;