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
Modifier and TypeFieldDescriptionprivate final FriendlyByteBuf
private final ResourceLocation
private static final int
private final int
-
Constructor Summary
ConstructorDescriptionClientboundCustomQueryPacket
(int p_179806_, ResourceLocation p_179807_, FriendlyByteBuf p_179808_) ClientboundCustomQueryPacket
(FriendlyByteBuf p_179810_) -
Method Summary
Modifier and TypeMethodDescriptiongetData()
int
void
handle
(ClientLoginPacketListener p_134754_) void
write
(FriendlyByteBuf p_134757_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.network.ICustomPacket
getDirection, getIndex, getInternalData, getName, getThis, setData, setIndex, setName
Methods 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:
write
in interfacePacket<ClientLoginPacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientLoginPacketListener>
-
getTransactionId
public int getTransactionId() -
getIdentifier
-
getData
-