java.lang.Object
org.bukkit.command.Command
io.github.projectunified.blockutil.test.command.BlockCommand
Direct Known Subclasses:
SetBlockCommand

public abstract class BlockCommand extends org.bukkit.command.Command
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final BlockUtilTest
     

    Fields inherited from class org.bukkit.command.Command

    description, timings, usageMessage
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    BlockCommand(BlockUtilTest plugin, String name, String description, String usageMessage, List<String> aliases)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    execute(org.bukkit.command.CommandSender commandSender, String s, String[] strings)
     
    protected abstract boolean
    execute(org.bukkit.entity.Player player, org.bukkit.Location pos1, org.bukkit.Location pos2, String label, String... args)
     

    Methods inherited from class org.bukkit.command.Command

    broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • execute

      protected abstract boolean execute(org.bukkit.entity.Player player, org.bukkit.Location pos1, org.bukkit.Location pos2, String label, String... args)
    • execute

      public boolean execute(org.bukkit.command.CommandSender commandSender, String s, String[] strings)
      Specified by:
      execute in class org.bukkit.command.Command