Class PlayerChatAction

All Implemented Interfaces:
ExtensionContent, TypedBlock, ViewableTypedBlock

public class PlayerChatAction extends PlayerActionBlock
  • Constructor Details

    • PlayerChatAction

      public PlayerChatAction()
  • Method Details

    • execute

      public void execute(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull ActionsHandler actionsHandler, @NotNull @NotNull Arguments arguments)
      Specified by:
      execute in class PlayerActionBlock
    • 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.

      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.
      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.
      Returns:
      description of content.
    • getIcon

      @NotNull public @NotNull org.bukkit.inventory.ItemStack getIcon()
      Description copied from interface: ViewableTypedBlock
      Returns an icon that will be shown in action type selection menus.
      Returns:
      icon of typed block.