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 teintermediary 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()CustomPayloadC2SPacket(Identifier channel, PacketByteBuf data) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)voidread(PacketByteBuf buf)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 aLte;a:Lwb;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 bLte;b:Lwb;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 cLte;c:Lnw;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
public CustomPayloadC2SPacket() -
CustomPayloadC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Lte;<init>(Lwb;Lnw;)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
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)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 aLte;a(Lss;)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
-