Class ClientboundCustomQueryPacket
java.lang.Object
net.minecraft.network.protocol.login.ClientboundCustomQueryPacket
- All Implemented Interfaces:
Packet<ClientLoginPacketListener>,ICustomPacket<ClientboundCustomQueryPacket>
public class ClientboundCustomQueryPacket
extends Object
implements Packet<ClientLoginPacketListener>, ICustomPacket<ClientboundCustomQueryPacket>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraftforge.network.ICustomPacket
ICustomPacket.Fields -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FriendlyByteBufprivate final ResourceLocationprivate static final intprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionClientboundCustomQueryPacket(int p_179806_, ResourceLocation p_179807_, FriendlyByteBuf p_179808_) ClientboundCustomQueryPacket(FriendlyByteBuf p_179810_) -
Method Summary
Modifier and TypeMethodDescriptiongetData()intvoidhandle(ClientLoginPacketListener p_134754_) voidwrite(FriendlyByteBuf p_134757_) 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 -
identifier
-
data
-
-
Constructor Details
-
ClientboundCustomQueryPacket
public ClientboundCustomQueryPacket(int p_179806_, ResourceLocation p_179807_, FriendlyByteBuf p_179808_) -
ClientboundCustomQueryPacket
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientLoginPacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientLoginPacketListener>
-
getTransactionId
public int getTransactionId() -
getIdentifier
-
getData
-