public abstract class VanillaCommand extends Command
description, usageMessage
Modifier | Constructor and Description |
---|---|
protected |
VanillaCommand(String name) |
protected |
VanillaCommand(String name,
String description,
String usageMessage,
List<String> aliases) |
Modifier and Type | Method and Description |
---|---|
static double |
getDouble(CommandSender sender,
String input) |
static double |
getDouble(CommandSender sender,
String input,
double min,
double max) |
protected int |
getInteger(CommandSender sender,
String value,
int min) |
static double |
getRelativeDouble(double original,
CommandSender sender,
String input) |
boolean |
matches(String input) |
broadcastCommandMessage, broadcastCommandMessage, execute, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
protected VanillaCommand(String name)
public boolean matches(String input)
protected int getInteger(CommandSender sender, String value, int min)
public static double getRelativeDouble(double original, CommandSender sender, String input)
public static double getDouble(CommandSender sender, String input)
public static double getDouble(CommandSender sender, String input, double min, double max)
Copyright © 2015. All rights reserved.