Class CommandSender.Spigot

java.lang.Object
org.bukkit.command.CommandSender.Spigot
Direct Known Subclasses:
Entity.Spigot
Enclosing interface:
CommandSender

public static class CommandSender.Spigot extends Object
  • Constructor Details

    • Spigot

      public Spigot()
  • Method Details

    • sendMessage

      @Deprecated public void sendMessage(@NotNull BaseComponent component)
      Deprecated.
      use sendMessage methods that accept Component
      Sends this sender a chat component.
      Parameters:
      component - the components to send
    • sendMessage

      @Deprecated public void sendMessage(@NotNull @NotNull BaseComponent... components)
      Deprecated.
      use sendMessage methods that accept Component
      Sends an array of components as a single message to the sender.
      Parameters:
      components - the components to send
    • sendMessage

      @Deprecated public void sendMessage(@Nullable @Nullable UUID sender, @NotNull BaseComponent component)
      Deprecated.
      use sendMessage methods that accept Component
      Sends this sender a chat component.
      Parameters:
      component - the components to send
      sender - the sender of the message
    • sendMessage

      @Deprecated public void sendMessage(@Nullable @Nullable UUID sender, @NotNull @NotNull BaseComponent... components)
      Deprecated.
      use sendMessage methods that accept Component
      Sends an array of components as a single message to the sender.
      Parameters:
      components - the components to send
      sender - the sender of the message