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 SummaryNested classes/interfaces inherited from interface net.minecraftforge.fmllegacy.network.ICustomPacketICustomPacket.Fields
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionServerboundCustomQueryPacket(int p_134829_, FriendlyByteBuf p_134830_)ServerboundCustomQueryPacket(FriendlyByteBuf p_179823_)
- 
Method SummaryModifier and TypeMethodDescriptiongetData()intvoidhandle(ServerLoginPacketListener p_134836_)voidwrite(FriendlyByteBuf p_134838_)Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.fmllegacy.network.ICustomPacketgetDirection, getIndex, getInternalData, getName, getThis, setData, setIndex, setNameMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable
- 
Field Details- 
MAX_PAYLOAD_SIZEprivate static final int MAX_PAYLOAD_SIZE- See Also:
- Constant Field Values
 
- 
transactionIdprivate final int transactionId
- 
data
 
- 
- 
Constructor Details- 
ServerboundCustomQueryPacket
- 
ServerboundCustomQueryPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ServerLoginPacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ServerLoginPacketListener>
 
- 
getTransactionIdpublic int getTransactionId()
- 
getData
 
-