All Implemented Interfaces:
CodingBlock, DisplayableIcon, ExtensionContent, RequiresArguments

public class PlayerSendMessageAction extends PlayerAction implements RequiresArguments
  • Constructor Details

    • PlayerSendMessageAction

      public PlayerSendMessageAction()
  • Method Details

    • executePlayer

      public void executePlayer(@NotNull @NotNull org.bukkit.entity.Player player)
      Specified by:
      executePlayer in class PlayerAction
    • getRequiredArguments

      @NotNull public @NotNull RequiredArguments getRequiredArguments()
      Specified by:
      getRequiredArguments in interface RequiresArguments
    • getExtensionId

      @NotNull public @NotNull String getExtensionId()
      Description copied from interface: ExtensionContent
      Returns lower-cased simple id of extension. Will be used to identify author of content.

      ID "default" is reserved for OpenCreative+ developers.

      Specified by:
      getExtensionId in interface ExtensionContent
      Returns:
      id of extension.
    • getName

      @NotNull public @NotNull String getName()
      Description copied from interface: ExtensionContent
      Returns name of extension content. Will be displayed in list of extension content.
      Specified by:
      getName in interface ExtensionContent
      Returns:
      name of content.
    • getDescription

      @NotNull public @NotNull String getDescription()
      Description copied from interface: ExtensionContent
      Returns description of extension content. Describes purpose of new additional content.
      Specified by:
      getDescription in interface ExtensionContent
      Returns:
      description of content.
    • getDisplayIcon

      @NotNull public @NotNull org.bukkit.inventory.ItemStack getDisplayIcon()
      Description copied from interface: DisplayableIcon
      Returns icon, that will be displayed in coding block type selection menu.
      Specified by:
      getDisplayIcon in interface DisplayableIcon
      Returns:
      icon of coding block.
    • getCategory

      @NotNull public @NotNull MenusCategory getCategory()
      Description copied from interface: DisplayableIcon
      Returns menus category, that will be used to filter coding block types.
      Specified by:
      getCategory in interface DisplayableIcon