Class ClientboundCustomChatCompletionsPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.ClientboundCustomChatCompletionsPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundCustomChatCompletionsPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) ClientboundCustomChatCompletionsPacket(ChatCompletionAction action, String[] entries) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanString[]inthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()withAction(ChatCompletionAction action) withEntries(String[] entries) 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
-
ClientboundCustomChatCompletionsPacket
public ClientboundCustomChatCompletionsPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
ClientboundCustomChatCompletionsPacket
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getAction
-
getEntries
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withAction
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withEntries
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-