Package com.velocitypowered.api.command
Class VelocityBrigadierMessage
java.lang.Object
com.velocitypowered.api.command.VelocityBrigadierMessage
- All Implemented Interfaces:
com.mojang.brigadier.Message
,ComponentLike
public final class VelocityBrigadierMessage
extends Object
implements com.mojang.brigadier.Message, ComponentLike
Represents an implementation of brigadier's
Message
, providing support for Component
messages.-
Method Summary
Modifier and TypeMethodDescription@NotNull Component
Returns the message as a plain text.static VelocityBrigadierMessage
-
Method Details
-
tooltip
-
asComponent
- Specified by:
asComponent
in interfaceComponentLike
-
getString
Returns the message as a plain text.- Specified by:
getString
in interfacecom.mojang.brigadier.Message
- Returns:
- message as plain text
-