public class EffectCommand extends VanillaCommand
description, timings, usageMessage
Constructor and Description |
---|
EffectCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(CommandSender sender,
String commandLabel,
String[] args)
Executes the command, returning its success
|
List<String> |
tabComplete(CommandSender sender,
String commandLabel,
String[] args)
Executed on tab completion for this command, returning a list of
options the player can tab through.
|
getDouble, getDouble, getInteger, getRelativeDouble, matches
broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
public boolean execute(CommandSender sender, String commandLabel, String[] args)
Command
public List<String> tabComplete(CommandSender sender, String commandLabel, String[] args)
Command
tabComplete
in class Command
sender
- Source object which is executing this commandcommandLabel
- the alias being usedargs
- All arguments passed to the command, split via ' 'Copyright © 2014. All rights reserved.