Package studio.mevera.imperat.adventure
Interface AdventureCommandSource
- All Superinterfaces:
studio.mevera.imperat.context.CommandSource
public interface AdventureCommandSource
extends studio.mevera.imperat.context.CommandSource
The
AdventureCommandSource interface represents a source capable of receiving
messages using the Adventure API. It provides a method to send messages
represented as ComponentLike instances to the source.-
Field Summary
Fields inherited from interface studio.mevera.imperat.context.CommandSource
CONSOLE_UUID -
Method Summary
Modifier and TypeMethodDescriptionvoidreply(net.kyori.adventure.text.ComponentLike component) Sends a message to this command source using Adventure API components.Methods inherited from interface studio.mevera.imperat.context.CommandSource
as, error, isConsole, name, origin, reply, uuid, warn
-
Method Details
-
reply
void reply(net.kyori.adventure.text.ComponentLike component) Sends a message to this command source using Adventure API components.- Parameters:
component- the component to send
-