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