Class ServerboundCustomQueryPacket
java.lang.Object
net.minecraft.network.protocol.login.ServerboundCustomQueryPacket
- All Implemented Interfaces:
Packet<ServerLoginPacketListener>,ICustomPacket<ServerboundCustomQueryPacket>
public class ServerboundCustomQueryPacket
extends Object
implements Packet<ServerLoginPacketListener>, ICustomPacket<ServerboundCustomQueryPacket>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraftforge.network.ICustomPacket
ICustomPacket.Fields -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FriendlyByteBufprivate static final intprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionServerboundCustomQueryPacket(int p_134829_, FriendlyByteBuf p_134830_) ServerboundCustomQueryPacket(FriendlyByteBuf p_179823_) -
Method Summary
Modifier and TypeMethodDescriptiongetData()intvoidhandle(ServerLoginPacketListener p_134836_) voidwrite(FriendlyByteBuf p_134838_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.network.ICustomPacket
getDirection, getIndex, getInternalData, getName, getThis, setData, setIndex, setNameMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
MAX_PAYLOAD_SIZE
private static final int MAX_PAYLOAD_SIZE- See Also:
-
transactionId
private final int transactionId -
data
-
-
Constructor Details
-
ServerboundCustomQueryPacket
-
ServerboundCustomQueryPacket
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ServerLoginPacketListener>
-
handle
- Specified by:
handlein interfacePacket<ServerLoginPacketListener>
-
getTransactionId
public int getTransactionId() -
getData
-