public enum AdventureSetting extends Enum<AdventureSetting>
| Enum Constant and Description |
|---|
ATTACK_MOBS |
ATTACK_PLAYERS |
AUTO_JUMP |
BUILD |
DEFAULT_LEVEL_PERMISSIONS |
DOORS_AND_SWITCHES |
FLYING |
MAY_FLY |
MINE |
MUTED |
NO_CLIP |
NO_MVP |
NO_PVM |
OPEN_CONTAINERS |
OPERATOR |
SHOW_NAME_TAGS |
TELEPORT |
WORLD_BUILDER |
WORLD_IMMUTABLE |
| Modifier and Type | Method and Description |
|---|---|
static AdventureSetting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdventureSetting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdventureSetting WORLD_IMMUTABLE
public static final AdventureSetting NO_PVM
public static final AdventureSetting NO_MVP
public static final AdventureSetting SHOW_NAME_TAGS
public static final AdventureSetting AUTO_JUMP
public static final AdventureSetting MAY_FLY
public static final AdventureSetting NO_CLIP
public static final AdventureSetting WORLD_BUILDER
public static final AdventureSetting FLYING
public static final AdventureSetting MUTED
public static final AdventureSetting MINE
public static final AdventureSetting DOORS_AND_SWITCHES
public static final AdventureSetting OPEN_CONTAINERS
public static final AdventureSetting ATTACK_PLAYERS
public static final AdventureSetting ATTACK_MOBS
public static final AdventureSetting OPERATOR
public static final AdventureSetting TELEPORT
public static final AdventureSetting BUILD
public static final AdventureSetting DEFAULT_LEVEL_PERMISSIONS
public static AdventureSetting[] values()
for (AdventureSetting c : AdventureSetting.values()) System.out.println(c);
public static AdventureSetting 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 © 2018–2022 NukkitX. All rights reserved.