public enum Capability extends Enum<Capability>
Platform may support.| Enum Constant and Description |
|---|
CONFIGURATION
The capability of providing configuration.
|
GAME_HOOKS
The capability of registering game hooks to catch events such as
a player clicking a block.
|
PERMISSIONS
The capability of a platform to assess whether a given
Actor has sufficient authorization to perform a task. |
USER_COMMANDS
The capability of handling user commands entered in chat or console.
|
WORLD_EDITING
The capability of a platform to perform modifications to a world.
|
WORLDEDIT_CUI
The capability of a platform to dispatch WorldEditCUI events.
|
| Modifier and Type | Method and Description |
|---|---|
static Capability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Capability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Capability GAME_HOOKS
public static final Capability CONFIGURATION
public static final Capability USER_COMMANDS
public static final Capability PERMISSIONS
Actor has sufficient authorization to perform a task.public static final Capability WORLDEDIT_CUI
public static final Capability WORLD_EDITING
public static Capability[] values()
for (Capability c : Capability.values()) System.out.println(c);
public static Capability valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2010-2014. All Rights Reserved.