Class PlayerActionBlock

All Implemented Interfaces:
ExtensionContent, TypedBlock, ViewableTypedBlock
Direct Known Subclasses:
PlayerChatAction

public abstract class PlayerActionBlock extends ActionBlock implements ViewableTypedBlock
  • Constructor Details

    • PlayerActionBlock

      public PlayerActionBlock(@NotNull @NotNull String type)
  • Method Details

    • execute

      public abstract void execute(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull ActionsHandler actionsHandler, @NotNull @NotNull Arguments arguments)
    • getType

      @NotNull public @NotNull String getType()
      Description copied from interface: TypedBlock
      Returns a specific type of block.
      Specified by:
      getType in interface TypedBlock
      Returns:
      type of coding block.
    • execute

      public final void execute(@Nullable @Nullable org.bukkit.entity.Entity target, @NotNull @NotNull ActionsHandler actionsHandler, @NotNull @NotNull Arguments arguments)
      Specified by:
      execute in class ActionBlock