类 ServerboundCustomQueryPacket
java.lang.Object
net.minecraft.network.protocol.login.ServerboundCustomQueryPacket
public class ServerboundCustomQueryPacket
extends Object
implements Packet<ServerLoginPacketListener>, ICustomPacket<ServerboundCustomQueryPacket>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getData()
int
getIndex()
@Nullable FriendlyByteBuf
Returns a unsafe reference to this packet's internal data.getName()
int
void
handle
(ServerLoginPacketListener pHandler) void
write
(FriendlyByteBuf pBuffer) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.network.ICustomPacket
getDirection, getThis
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable
-
字段详细资料
-
MAX_PAYLOAD_SIZE
private static final int MAX_PAYLOAD_SIZE- 另请参阅:
-
transactionId
private final int transactionId -
data
-
-
构造器详细资料
-
ServerboundCustomQueryPacket
-
ServerboundCustomQueryPacket
-
-
方法详细资料
-
write
- 指定者:
write
在接口中Packet<ServerLoginPacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ServerLoginPacketListener>
-
getTransactionId
public int getTransactionId() -
getData
-
getIndex
public int getIndex()- 指定者:
getIndex
在接口中ICustomPacket<ServerboundCustomQueryPacket>
-
getName
- 指定者:
getName
在接口中ICustomPacket<ServerboundCustomQueryPacket>
-
getInternalData
从接口复制的说明:ICustomPacket
Returns a unsafe reference to this packet's internal data. Any modifications to this buffer will be reflected in the main buffer.
-