Class CustomPayloadS2CPacket

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

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

    • MAX_PAYLOAD_SIZE

      private static final int MAX_PAYLOAD_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official s Ltn;s:I
      intermediary field_33326 Lnet/minecraft/class_2658;field_33326:I
      named MAX_PAYLOAD_SIZE Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;MAX_PAYLOAD_SIZE:I
    • BRAND

      public static final Identifier BRAND
      Mappings:
      Namespace Name Mixin selector
      official a Ltn;a:Laaj;
      intermediary field_12158 Lnet/minecraft/class_2658;field_12158:Lnet/minecraft/class_2960;
      named BRAND Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;BRAND:Lnet/minecraft/util/Identifier;
    • DEBUG_PATH

      public static final Identifier DEBUG_PATH
      Mappings:
      Namespace Name Mixin selector
      official b Ltn;b:Laaj;
      intermediary field_12161 Lnet/minecraft/class_2658;field_12161:Lnet/minecraft/class_2960;
      named DEBUG_PATH Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_PATH:Lnet/minecraft/util/Identifier;
    • DEBUG_NEIGHBORS_UPDATE

      public static final Identifier DEBUG_NEIGHBORS_UPDATE
      Mappings:
      Namespace Name Mixin selector
      official c Ltn;c:Laaj;
      intermediary field_12157 Lnet/minecraft/class_2658;field_12157:Lnet/minecraft/class_2960;
      named DEBUG_NEIGHBORS_UPDATE Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_NEIGHBORS_UPDATE:Lnet/minecraft/util/Identifier;
    • DEBUG_STRUCTURES

      public static final Identifier DEBUG_STRUCTURES
      Mappings:
      Namespace Name Mixin selector
      official d Ltn;d:Laaj;
      intermediary field_12163 Lnet/minecraft/class_2658;field_12163:Lnet/minecraft/class_2960;
      named DEBUG_STRUCTURES Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_STRUCTURES:Lnet/minecraft/util/Identifier;
    • DEBUG_WORLDGEN_ATTEMPT

      public static final Identifier DEBUG_WORLDGEN_ATTEMPT
      Mappings:
      Namespace Name Mixin selector
      official e Ltn;e:Laaj;
      intermediary field_12164 Lnet/minecraft/class_2658;field_12164:Lnet/minecraft/class_2960;
      named DEBUG_WORLDGEN_ATTEMPT Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_WORLDGEN_ATTEMPT:Lnet/minecraft/util/Identifier;
    • DEBUG_POI_TICKET_COUNT

      public static final Identifier DEBUG_POI_TICKET_COUNT
      Mappings:
      Namespace Name Mixin selector
      official f Ltn;f:Laaj;
      intermediary field_18957 Lnet/minecraft/class_2658;field_18957:Lnet/minecraft/class_2960;
      named DEBUG_POI_TICKET_COUNT Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_POI_TICKET_COUNT:Lnet/minecraft/util/Identifier;
    • DEBUG_POI_ADDED

      public static final Identifier DEBUG_POI_ADDED
      Mappings:
      Namespace Name Mixin selector
      official g Ltn;g:Laaj;
      intermediary field_18958 Lnet/minecraft/class_2658;field_18958:Lnet/minecraft/class_2960;
      named DEBUG_POI_ADDED Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_POI_ADDED:Lnet/minecraft/util/Identifier;
    • DEBUG_POI_REMOVED

      public static final Identifier DEBUG_POI_REMOVED
      Mappings:
      Namespace Name Mixin selector
      official h Ltn;h:Laaj;
      intermediary field_18959 Lnet/minecraft/class_2658;field_18959:Lnet/minecraft/class_2960;
      named DEBUG_POI_REMOVED Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_POI_REMOVED:Lnet/minecraft/util/Identifier;
    • DEBUG_VILLAGE_SECTIONS

      public static final Identifier DEBUG_VILLAGE_SECTIONS
      Mappings:
      Namespace Name Mixin selector
      official i Ltn;i:Laaj;
      intermediary field_18960 Lnet/minecraft/class_2658;field_18960:Lnet/minecraft/class_2960;
      named DEBUG_VILLAGE_SECTIONS Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_VILLAGE_SECTIONS:Lnet/minecraft/util/Identifier;
    • DEBUG_GOAL_SELECTOR

      public static final Identifier DEBUG_GOAL_SELECTOR
      Mappings:
      Namespace Name Mixin selector
      official j Ltn;j:Laaj;
      intermediary field_18799 Lnet/minecraft/class_2658;field_18799:Lnet/minecraft/class_2960;
      named DEBUG_GOAL_SELECTOR Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_GOAL_SELECTOR:Lnet/minecraft/util/Identifier;
    • DEBUG_BRAIN

      public static final Identifier DEBUG_BRAIN
      Mappings:
      Namespace Name Mixin selector
      official k Ltn;k:Laaj;
      intermediary field_18800 Lnet/minecraft/class_2658;field_18800:Lnet/minecraft/class_2960;
      named DEBUG_BRAIN Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_BRAIN:Lnet/minecraft/util/Identifier;
    • DEBUG_BEE

      public static final Identifier DEBUG_BEE
      Mappings:
      Namespace Name Mixin selector
      official l Ltn;l:Laaj;
      intermediary field_21559 Lnet/minecraft/class_2658;field_21559:Lnet/minecraft/class_2960;
      named DEBUG_BEE Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_BEE:Lnet/minecraft/util/Identifier;
    • DEBUG_HIVE

      public static final Identifier DEBUG_HIVE
      Mappings:
      Namespace Name Mixin selector
      official m Ltn;m:Laaj;
      intermediary field_21560 Lnet/minecraft/class_2658;field_21560:Lnet/minecraft/class_2960;
      named DEBUG_HIVE Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_HIVE:Lnet/minecraft/util/Identifier;
    • DEBUG_GAME_TEST_ADD_MARKER

      public static final Identifier DEBUG_GAME_TEST_ADD_MARKER
      Mappings:
      Namespace Name Mixin selector
      official n Ltn;n:Laaj;
      intermediary field_20599 Lnet/minecraft/class_2658;field_20599:Lnet/minecraft/class_2960;
      named DEBUG_GAME_TEST_ADD_MARKER Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_GAME_TEST_ADD_MARKER:Lnet/minecraft/util/Identifier;
    • DEBUG_GAME_TEST_CLEAR

      public static final Identifier DEBUG_GAME_TEST_CLEAR
      Mappings:
      Namespace Name Mixin selector
      official o Ltn;o:Laaj;
      intermediary field_20600 Lnet/minecraft/class_2658;field_20600:Lnet/minecraft/class_2960;
      named DEBUG_GAME_TEST_CLEAR Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_GAME_TEST_CLEAR:Lnet/minecraft/util/Identifier;
    • DEBUG_RAIDS

      public static final Identifier DEBUG_RAIDS
      Mappings:
      Namespace Name Mixin selector
      official p Ltn;p:Laaj;
      intermediary field_19331 Lnet/minecraft/class_2658;field_19331:Lnet/minecraft/class_2960;
      named DEBUG_RAIDS Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_RAIDS:Lnet/minecraft/util/Identifier;
    • DEBUG_GAME_EVENT

      public static final Identifier DEBUG_GAME_EVENT
      Mappings:
      Namespace Name Mixin selector
      official q Ltn;q:Laaj;
      intermediary field_28284 Lnet/minecraft/class_2658;field_28284:Lnet/minecraft/class_2960;
      named DEBUG_GAME_EVENT Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_GAME_EVENT:Lnet/minecraft/util/Identifier;
    • DEBUG_GAME_EVENT_LISTENERS

      public static final Identifier DEBUG_GAME_EVENT_LISTENERS
      Mappings:
      Namespace Name Mixin selector
      official r Ltn;r:Laaj;
      intermediary field_28285 Lnet/minecraft/class_2658;field_28285:Lnet/minecraft/class_2960;
      named DEBUG_GAME_EVENT_LISTENERS Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;DEBUG_GAME_EVENT_LISTENERS:Lnet/minecraft/util/Identifier;
    • channel

      private final Identifier channel
      Mappings:
      Namespace Name Mixin selector
      official t Ltn;t:Laaj;
      intermediary field_12165 Lnet/minecraft/class_2658;field_12165:Lnet/minecraft/class_2960;
      named channel Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;channel:Lnet/minecraft/util/Identifier;
    • data

      private final PacketByteBuf data
      Mappings:
      Namespace Name Mixin selector
      official u Ltn;u:Lqx;
      intermediary field_12162 Lnet/minecraft/class_2658;field_12162:Lnet/minecraft/class_2540;
      named data Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;data:Lnet/minecraft/network/PacketByteBuf;
  • Constructor Details

    • CustomPayloadS2CPacket

      public CustomPayloadS2CPacket(Identifier channel, PacketByteBuf data)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltn;<init>(Laaj;Lqx;)V
      intermediary <init> Lnet/minecraft/class_2658;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/network/PacketByteBuf;)V
    • CustomPayloadS2CPacket

      public CustomPayloadS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltn;<init>(Lqx;)V
      intermediary <init> Lnet/minecraft/class_2658;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lso;a(Lqx;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Ltn;a(Lsr;)V
      intermediary method_11457 Lnet/minecraft/class_2658;method_11457(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getChannel

      public Identifier getChannel()
      Mappings:
      Namespace Name Mixin selector
      official b Ltn;b()Laaj;
      intermediary method_11456 Lnet/minecraft/class_2658;method_11456()Lnet/minecraft/class_2960;
      named getChannel Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;getChannel()Lnet/minecraft/util/Identifier;
    • getData

      public PacketByteBuf getData()
      Mappings:
      Namespace Name Mixin selector
      official c Ltn;c()Lqx;
      intermediary method_11458 Lnet/minecraft/class_2658;method_11458()Lnet/minecraft/class_2540;
      named getData Lnet/minecraft/network/packet/s2c/play/CustomPayloadS2CPacket;getData()Lnet/minecraft/network/PacketByteBuf;