类 CustomPayloadC2SPacket
- java.lang.Object
-
- net.minecraft.network.packet.c2s.play.CustomPayloadC2SPacket
-
- 所有已实现的接口:
Packet<ServerPlayPacketListener>
public class CustomPayloadC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official tsintermediary net/minecraft/class_2817named net/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket
-
-
字段概要
字段 修饰符和类型 字段 说明 static IdentifierBRANDprivate Identifierchannelprivate PacketByteBufdataprivate static intMAX_PAYLOAD_SIZE
-
构造器概要
构造器 构造器 说明 CustomPayloadC2SPacket(PacketByteBuf buf)CustomPayloadC2SPacket(Identifier channel, PacketByteBuf data)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapply(ServerPlayPacketListener serverPlayPacketListener)IdentifiergetChannel()PacketByteBufgetData()voidwrite(PacketByteBuf buf)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.network.Packet
isWritingErrorSkippable
-
-
-
-
字段详细资料
-
MAX_PAYLOAD_SIZE
private static final int MAX_PAYLOAD_SIZE
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLts;b:Iintermediary field_33361Lnet/minecraft/class_2817;field_33361:Inamed MAX_PAYLOAD_SIZELnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;MAX_PAYLOAD_SIZE:I
-
BRAND
public static final Identifier BRAND
- Mappings:
Namespace Name Mixin selector official aLts;a:Lwp;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
private final Identifier channel
- Mappings:
Namespace Name Mixin selector official cLts;c:Lwp;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
private final PacketByteBuf data
- Mappings:
Namespace Name Mixin selector official dLts;d:Lob;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;
-
-
构造器详细资料
-
CustomPayloadC2SPacket
public CustomPayloadC2SPacket(Identifier channel, PacketByteBuf data)
- Mappings:
Namespace Name Mixin selector official <init>Lts;<init>(Lwp;Lob;)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
public CustomPayloadC2SPacket(PacketByteBuf buf)
- Mappings:
Namespace Name Mixin selector official <init>Lts;<init>(Lob;)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
-
-
方法详细资料
-
write
public void write(PacketByteBuf buf)
- 指定者:
write在接口中Packet<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpf;a(Lob;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
public void apply(ServerPlayPacketListener serverPlayPacketListener)
- 指定者:
apply在接口中Packet<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLts;a(Lth;)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
-
getChannel
public Identifier getChannel()
- Mappings:
Namespace Name Mixin selector official bLts;b()Lwp;intermediary method_36169Lnet/minecraft/class_2817;method_36169()Lnet/minecraft/class_2960;named getChannelLnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;getChannel()Lnet/minecraft/util/Identifier;
-
getData
public PacketByteBuf getData()
- Mappings:
Namespace Name Mixin selector official cLts;c()Lob;intermediary method_36170Lnet/minecraft/class_2817;method_36170()Lnet/minecraft/class_2540;named getDataLnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;getData()Lnet/minecraft/network/PacketByteBuf;
-
-