Interface BukkitExecutable<Impl extends BukkitExecutable<Impl>>

All Superinterfaces:
ChainableBuilder<Impl>, PlatformExecutable<Impl,org.bukkit.command.CommandSender>
All Known Implementing Classes:
AdvancementArgument, AdventureChatArgument, AdventureChatComponentArgument, AngleArgument, Argument, AxisArgument, BiomeArgument, BiomeArgument.NamespacedKey, BlockPredicateArgument, BlockStateArgument, BooleanArgument, ChatArgument, ChatColorArgument, ChatComponentArgument, CommandAPICommand, CommandArgument, CommandTree, CustomArgument, DoubleArgument, EnchantmentArgument, EntitySelectorArgument.ManyEntities, EntitySelectorArgument.ManyPlayers, EntitySelectorArgument.OneEntity, EntitySelectorArgument.OnePlayer, EntityTypeArgument, FloatArgument, FloatRangeArgument, FunctionArgument, GreedyStringArgument, IntegerArgument, IntegerRangeArgument, ItemStackArgument, ItemStackPredicateArgument, ListArgument, ListArgumentCommon, ListTextArgument, LiteralArgument, Location2DArgument, LocationArgument, LongArgument, LootTableArgument, MapArgument, MathOperationArgument, MultiLiteralArgument, NamespacedKeyArgument, NBTCompoundArgument, ObjectiveArgument, ObjectiveCriteriaArgument, OfflinePlayerArgument, ParticleArgument, PlayerArgument, PotionEffectArgument, RecipeArgument, RotationArgument, SafeOverrideableArgument, ScoreboardSlotArgument, ScoreHolderArgument.Multiple, ScoreHolderArgument.Single, SoundArgument, SoundArgument.NamespacedKey, StringArgument, TeamArgument, TextArgument, TimeArgument, UUIDArgument, WorldArgument

public interface BukkitExecutable<Impl extends BukkitExecutable<Impl>> extends PlatformExecutable<Impl,org.bukkit.command.CommandSender>
  • Method Details

    • executes

      default Impl executes(CommandExecutor executor, ExecutorType... types)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (CommandSender, Object[]) -> () that will be executed when the command is run
      types - A list of executor types to use this executes method for.
      Returns:
      this command builder
    • executes

      default Impl executes(CommandExecutionInfo executor, ExecutorType... types)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (BukkitCommandExecutionInfo) -> () that will be executed when the command is run
      types - A list of executor types to use this executes method for.
      Returns:
      this command builder
    • executes

      default Impl executes(ResultingCommandExecutor executor, ExecutorType... types)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (CommandSender, CommandArguments) -> int that will be executed when the command is run
      types - A list of executor types to use this executes method for.
      Returns:
      this command builder
    • executes

      default Impl executes(ResultingCommandExecutionInfo executor, ExecutorType... types)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (BukkitCommandExecutionInfo) -> int that will be executed when the command is run
      types - A list of executor types to use this executes method for.
      Returns:
      this command builder
    • executesPlayer

      default Impl executesPlayer(PlayerCommandExecutor executor)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (Player, CommandArguments) -> () that will be executed when the command is run
      Returns:
      this command builder
    • executesPlayer

      default Impl executesPlayer(PlayerExecutionInfo info)
      Adds an executor to the current command builder
      Parameters:
      info - A lambda of type (ExecutionInfo) -> () that will be executed when the command is run
      Returns:
      this command builder
    • executesPlayer

      default Impl executesPlayer(PlayerResultingCommandExecutor executor)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (Player, CommandArguments) -> int that will be executed when the command is run
      Returns:
      this command builder
    • executesPlayer

      default Impl executesPlayer(PlayerResultingExecutionInfo info)
      Adds an executor to the current command builder
      Parameters:
      info - A lambda of type (ExecutionInfo) -> int that will be executed when the command is run
      Returns:
      this command builder
    • executesEntity

      default Impl executesEntity(EntityCommandExecutor executor)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (Entity, CommandArguments) -> () that will be executed when the command is run
      Returns:
      this command builder
    • executesEntity

      default Impl executesEntity(EntityExecutionInfo info)
      Adds an executor to the current command builder
      Parameters:
      info - A lambda of type (ExecutionInfo) -> () that will be executed when the command is run
      Returns:
      this command builder
    • executesEntity

      default Impl executesEntity(EntityResultingCommandExecutor executor)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (Entity, CommandArguments) -> int that will be executed when the command is run
      Returns:
      this command builder
    • executesEntity

      default Impl executesEntity(EntityResultingExecutionInfo info)
      Adds an executor to the current command builder
      Parameters:
      info - A lambda of type (ExecutionInfo) -> int that will be executed when the command is run
      Returns:
      this command builder
    • executesProxy

      default Impl executesProxy(ProxyCommandExecutor executor)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (Entity, CommandArguments) -> () that will be executed when the command is run
      Returns:
      this command builder
    • executesProxy

      default Impl executesProxy(ProxyExecutionInfo info)
      Adds an executor to the current command builder
      Parameters:
      info - A lambda of type (ExecutionInfo) -> () that will be executed when the command is run
      Returns:
      this command builder
    • executesProxy

      default Impl executesProxy(ProxyResultingCommandExecutor executor)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (Entity, CommandArguments) -> int that will be executed when the command is run
      Returns:
      this command builder
    • executesProxy

      default Impl executesProxy(ProxyResultingExecutionInfo info)
      Adds an executor to the current command builder
      Parameters:
      info - A lambda of type (ExecutionInfo) -> int that will be executed when the command is run
      Returns:
      this command builder
    • executesCommandBlock

      default Impl executesCommandBlock(CommandBlockCommandExecutor executor)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (BlockCommandSender, CommandArguments) -> () that will be executed when the command is run
      Returns:
      this command builder
    • executesCommandBlock

      default Impl executesCommandBlock(CommandBlockExecutionInfo info)
      Adds an executor to the current command builder
      Parameters:
      info - A lambda of type (ExecutionInfo) -> () that will be executed when the command is run
      Returns:
      this command builder
    • executesCommandBlock

      default Impl executesCommandBlock(CommandBlockResultingCommandExecutor executor)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (BlockCommandSender, CommandArguments) -> int that will be executed when the command is run
      Returns:
      this command builder
    • executesCommandBlock

      default Impl executesCommandBlock(CommandBlockResultingExecutionInfo info)
      Adds an executor to the current command builder
      Parameters:
      info - A lambda of type (ExecutionInfo) -> int that will be executed when the command is run
      Returns:
      this command builder
    • executesConsole

      default Impl executesConsole(ConsoleCommandExecutor executor)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (ConsoleCommandSender, CommandArguments) -> () that will be executed when the command is run
      Returns:
      this command builder
    • executesConsole

      default Impl executesConsole(ConsoleExecutionInfo info)
      Adds an executor to the current command builder
      Parameters:
      info - A lambda of type (ExecutionInfo) -> () that will be executed when the command is run
      Returns:
      this command builder
    • executesConsole

      default Impl executesConsole(ConsoleResultingCommandExecutor executor)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (ConsoleCommandSender, CommandArguments) -> int that will be executed when the command is run
      Returns:
      this command builder
    • executesConsole

      default Impl executesConsole(ConsoleResultingExecutionInfo info)
      Adds an executor to the current command builder
      Parameters:
      info - A lambda of type (ExecutionInfo) -> int that will be executed when the command is run
      Returns:
      this command builder
    • executesNative

      default Impl executesNative(NativeCommandExecutor executor)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (NativeCommandExecutor, CommandArguments) -> () that will be executed when the command is run
      Returns:
      this command builder
    • executesNative

      default Impl executesNative(NativeExecutionInfo info)
      Adds an executor to the current command builder
      Parameters:
      info - A lambda of type (ExecutionInfo) -> () that will be executed when the command is run
      Returns:
      this command builder
    • executesNative

      default Impl executesNative(NativeResultingCommandExecutor executor)
      Adds an executor to the current command builder
      Parameters:
      executor - A lambda of type (NativeCommandExecutor, CommandArguments) -> int that will be executed when the command is run
      Returns:
      this command builder
    • executesNative

      default Impl executesNative(NativeResultingExecutionInfo info)
      Adds an executor to the current command builder
      Parameters:
      info - A lambda of type (ExecutionInfo) -> int that will be executed when the command is run
      Returns:
      this command builder