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 tointermediary net/minecraft/class_2817named net/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket
-
Field Summary
Fields Modifier and Type Field Description static IdentifierBRANDprivate Identifierchannelprivate PacketByteBufdata -
Constructor Summary
Constructors Constructor Description CustomPayloadC2SPacket(PacketByteBuf buf)CustomPayloadC2SPacket(Identifier channel, PacketByteBuf data) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
BRAND
- Mappings:
Namespace Name Mixin selector official aLto;a:Lwl;intermediary field_12831Lnet/minecraft/class_2817;field_12831:Lnet/minecraft/class_2960;named BRANDLnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;BRAND:Lnet/minecraft/util/Identifier;
-
channel
- Mappings:
Namespace Name Mixin selector official bLto;b:Lwl;intermediary field_12830Lnet/minecraft/class_2817;field_12830:Lnet/minecraft/class_2960;named channelLnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;channel:Lnet/minecraft/util/Identifier;
-
data
- Mappings:
Namespace Name Mixin selector official cLto;c:Lnx;intermediary field_12832Lnet/minecraft/class_2817;field_12832:Lnet/minecraft/class_2540;named dataLnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;data:Lnet/minecraft/network/PacketByteBuf;
-
-
Constructor Details
-
CustomPayloadC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Lto;<init>(Lwl;Lnx;)Vintermediary <init>Lnet/minecraft/class_2817;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/network/PacketByteBuf;)V
-
CustomPayloadC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Lto;<init>(Lnx;)Vintermediary <init>Lnet/minecraft/class_2817;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpb;a(Lnx;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLto;a(Ltd;)Vintermediary method_12199Lnet/minecraft/class_2817;method_12199(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-