Class ClientboundTagQueryPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.level.ClientboundTagQueryPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundTagQueryPacket(int transactionId, @Nullable org.cloudburstmc.nbt.NbtMap nbt) ClientboundTagQueryPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@Nullable org.cloudburstmc.nbt.NbtMapgetNbt()intinthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ClientboundTagQueryPacketwithNbt(@Nullable org.cloudburstmc.nbt.NbtMap nbt) @NonNull ClientboundTagQueryPacketwithTransactionId(int transactionId) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isPriority
-
Constructor Details
-
ClientboundTagQueryPacket
-
ClientboundTagQueryPacket
public ClientboundTagQueryPacket(int transactionId, @Nullable org.cloudburstmc.nbt.NbtMap nbt)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getTransactionId
public int getTransactionId() -
getNbt
public @Nullable org.cloudburstmc.nbt.NbtMap getNbt() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withTransactionId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNbt
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-