public static enum AdventureSettings.Type extends Enum<AdventureSettings.Type>
| Enum Constant and Description |
|---|
ALLOW_FLIGHT |
ATTACK_MOBS |
ATTACK_PLAYERS |
AUTO_JUMP |
BUILD |
DOORS_AND_SWITCHED |
FLYING |
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 |
|---|---|
boolean |
getDefaultValue() |
com.nukkitx.protocol.bedrock.data.AdventureSetting |
getSetting() |
static AdventureSettings.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdventureSettings.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdventureSettings.Type WORLD_IMMUTABLE
public static final AdventureSettings.Type NO_PVM
public static final AdventureSettings.Type NO_MVP
public static final AdventureSettings.Type SHOW_NAME_TAGS
public static final AdventureSettings.Type AUTO_JUMP
public static final AdventureSettings.Type ALLOW_FLIGHT
public static final AdventureSettings.Type NO_CLIP
public static final AdventureSettings.Type WORLD_BUILDER
public static final AdventureSettings.Type FLYING
public static final AdventureSettings.Type MUTED
public static final AdventureSettings.Type MINE
public static final AdventureSettings.Type DOORS_AND_SWITCHED
public static final AdventureSettings.Type OPEN_CONTAINERS
public static final AdventureSettings.Type ATTACK_PLAYERS
public static final AdventureSettings.Type ATTACK_MOBS
public static final AdventureSettings.Type OPERATOR
public static final AdventureSettings.Type TELEPORT
public static final AdventureSettings.Type BUILD
public static AdventureSettings.Type[] values()
for (AdventureSettings.Type c : AdventureSettings.Type.values()) System.out.println(c);
public static AdventureSettings.Type 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 nullpublic com.nukkitx.protocol.bedrock.data.AdventureSetting getSetting()
public boolean getDefaultValue()
Copyright © 2020. All rights reserved.