Class CustomPayloadC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.CustomPayloadC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class CustomPayloadC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official mp
intermediary net/minecraft/class_663
named net/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket
  • Field Details

    • field_21579

      public static final Identifier field_21579
      Mappings:
      Namespace Name Mixin selector
      official a Lmp;a:Lpc;
      intermediary field_21579 Lnet/minecraft/class_663;field_21579:Lnet/minecraft/class_1653;
      named field_21579 Lnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;field_21579:Lnet/minecraft/util/Identifier;
    • field_21580

      private Identifier field_21580
      Mappings:
      Namespace Name Mixin selector
      official b Lmp;b:Lpc;
      intermediary field_21580 Lnet/minecraft/class_663;field_21580:Lnet/minecraft/class_1653;
      named field_21580 Lnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;field_21580:Lnet/minecraft/util/Identifier;
    • payload

      private PacketByteBuf payload
      Mappings:
      Namespace Name Mixin selector
      official c Lmp;c:Lhy;
      intermediary field_11702 Lnet/minecraft/class_663;field_11702:Lnet/minecraft/class_1967;
      named payload Lnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;payload:Lnet/minecraft/util/PacketByteBuf;
  • Constructor Details

  • Method Details

    • read

      public void read(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Liv;a(Lhy;)V
      intermediary method_7535 Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Liv;b(Lhy;)V
      intermediary method_7539 Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lmp;a(Lme;)V
      intermediary method_7979 Lnet/minecraft/class_663;method_7979(Lnet/minecraft/class_2050;)V
      named apply Lnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V