Class CmdMobCast

java.lang.Object
studio.magemonkey.fabled.cmd.CmdMobCast
All Implemented Interfaces:
org.bukkit.command.TabCompleter, studio.magemonkey.codex.mccore.commands.IFunction

public class CmdMobCast extends Object implements studio.magemonkey.codex.mccore.commands.IFunction, org.bukkit.command.TabCompleter
A command that makes a player cast a skill regardless of them owning it or not and also ignores cooldown/mana costs.
  • Constructor Details

    • CmdMobCast

      public CmdMobCast()
  • Method Details

    • execute

      public void execute(studio.magemonkey.codex.mccore.commands.ConfigurableCommand cmd, org.bukkit.plugin.Plugin plugin, org.bukkit.command.CommandSender sender, String[] args)
      Runs the command
      Specified by:
      execute in interface studio.magemonkey.codex.mccore.commands.IFunction
      Parameters:
      cmd - command that was executed
      plugin - plugin reference
      sender - sender of the command
      args - argument list
    • onTabComplete

      @Nullable public List<String> onTabComplete(@NotNull org.bukkit.command.CommandSender commandSender, @NotNull org.bukkit.command.Command command, @NotNull String s, @NotNull String[] args)
      Specified by:
      onTabComplete in interface org.bukkit.command.TabCompleter