public static enum CommandRegistration.TargetInfo.TargetType extends Enum<CommandRegistration.TargetInfo.TargetType>
| Modifier and Type | Method and Description |
|---|---|
static CommandRegistration.TargetInfo.TargetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandRegistration.TargetInfo.TargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandRegistration.TargetInfo.TargetType METHOD
public static final CommandRegistration.TargetInfo.TargetType FUNCTION
public static final CommandRegistration.TargetInfo.TargetType CONSUMER
public static CommandRegistration.TargetInfo.TargetType[] values()
for (CommandRegistration.TargetInfo.TargetType c : CommandRegistration.TargetInfo.TargetType.values()) System.out.println(c);
public static CommandRegistration.TargetInfo.TargetType 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 © 2023. All rights reserved.