Class ClientboundTagQueryPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundTagQueryPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientboundTagQueryPacket> private final CompoundTagprivate final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionClientboundTagQueryPacket(int transactionId, CompoundTag tag) private -
Method Summary
Modifier and TypeMethodDescriptiongetTag()intvoidhandle(ClientGamePacketListener handler) Passes this Packet on to the NetHandler for processing.booleantype()private voidwrite(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isTerminal
-
Field Details
-
STREAM_CODEC
-
transactionId
private final int transactionId -
tag
-
-
Constructor Details
-
ClientboundTagQueryPacket
-
ClientboundTagQueryPacket
-
-
Method Details
-
write
Writes the raw packet data to the data stream. -
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
Passes this Packet on to the NetHandler for processing.- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getTransactionId
public int getTransactionId() -
getTag
-
isSkippable
public boolean isSkippable()- Specified by:
isSkippablein interfacePacket<ClientGamePacketListener>
-