Interface Recipient.Sendable

All Known Implementing Classes:
Recipient.Proxied, Recipient.Valid
Enclosing interface:
Recipient

public static sealed interface Recipient.Sendable permits Recipient.Valid, Recipient.Proxied
A marker subinterface for Recipient types that are capable of receiving messages directly.

Includes Recipient.Valid and Recipient.Proxied recipients.

  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.command.CommandSender
    The actual CommandSender that may receive messages.
  • Method Details

    • sender

      org.bukkit.command.CommandSender sender()
      The actual CommandSender that may receive messages.
      Returns:
      the target sender