Interface ActionBroadcast
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An administrative announcement whose recipient policy was captured when the action started.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsend(net.kyori.adventure.text.Component message) Sends an announcement using the captured policy.
-
Method Details
-
send
void send(net.kyori.adventure.text.Component message) Sends an announcement using the captured policy. Safe to call from an asynchronous completion; callers remain responsible for waiting for the action to succeed before announcing it.- Parameters:
message- announcement to send
-