@Deprecated public class DifficultyCommand extends VanillaCommand
description, timings, usageMessage
Constructor and Description |
---|
DifficultyCommand()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
execute(CommandSender sender,
String currentAlias,
String[] args)
Deprecated.
Executes the command, returning its success
|
protected int |
getDifficultyForString(CommandSender sender,
String name)
Deprecated.
|
List<String> |
tabComplete(CommandSender sender,
String alias,
String[] args)
Deprecated.
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, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
public boolean execute(CommandSender sender, String currentAlias, String[] args)
Command
protected int getDifficultyForString(CommandSender sender, String name)
public List<String> tabComplete(CommandSender sender, String alias, String[] args)
Command
tabComplete
in class Command
sender
- Source object which is executing this commandalias
- the alias being usedargs
- All arguments passed to the command, split via ' 'Copyright © 2016. All rights reserved.