Class ClientboundCookieRequestPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.common.clientbound.ClientboundCookieRequestPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundCookieRequestPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) ClientboundCookieRequestPacket(net.kyori.adventure.key.Key key) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleannet.kyori.adventure.key.KeygetKey()inthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ClientboundCookieRequestPacketwithKey(net.kyori.adventure.key.Key key) 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, isTerminal
-
Constructor Details
-
ClientboundCookieRequestPacket
-
ClientboundCookieRequestPacket
public ClientboundCookieRequestPacket(net.kyori.adventure.key.Key key)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getKey
public net.kyori.adventure.key.Key getKey() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withKey
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-