Package studio.mevera.imperat.adventure
Interface AdventureSource
- All Superinterfaces:
studio.mevera.imperat.context.Source
public interface AdventureSource
extends studio.mevera.imperat.context.Source
The
AdventureSource 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.Source
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.Source
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
-