Class PluginMessageClientboundHandshakeResponse
java.lang.Object
wtf.choco.veinminer.network.protocol.clientbound.PluginMessageClientboundHandshakeResponse
- All Implemented Interfaces:
PluginMessage<ClientboundPluginMessageListener>
public final class PluginMessageClientboundHandshakeResponse
extends Object
implements PluginMessage<ClientboundPluginMessageListener>
A client bound
PluginMessage
with no data.
Sent in response to the client sending the PluginMessageServerboundHandshake
message.
-
Constructor Summary
ConstructorDescriptionConstruct a newPluginMessageClientboundHandshakeResponse
.PluginMessageClientboundHandshakeResponse
(@NotNull PluginMessageByteBuffer buffer) Construct a newPluginMessageClientboundHandshakeResponse
with input. -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(@NotNull ClientboundPluginMessageListener listener) Handle this message.void
write
(@NotNull PluginMessageByteBuffer buffer) Write this plugin message to the providedPluginMessageByteBuffer
.
-
Constructor Details
-
PluginMessageClientboundHandshakeResponse
public PluginMessageClientboundHandshakeResponse()Construct a newPluginMessageClientboundHandshakeResponse
. -
PluginMessageClientboundHandshakeResponse
@Internal public PluginMessageClientboundHandshakeResponse(@NotNull @NotNull PluginMessageByteBuffer buffer) Construct a newPluginMessageClientboundHandshakeResponse
with input.- Parameters:
buffer
- the input buffer
-
-
Method Details
-
write
Description copied from interface:PluginMessage
Write this plugin message to the providedPluginMessageByteBuffer
.- Specified by:
write
in interfacePluginMessage<ClientboundPluginMessageListener>
- Parameters:
buffer
- the buffer to which data should be written
-
handle
Description copied from interface:PluginMessage
Handle this message.- Specified by:
handle
in interfacePluginMessage<ClientboundPluginMessageListener>
- Parameters:
listener
- the plugin message listener
-