Enum Class Config
- All Implemented Interfaces:
Serializable,Comparable<Config>,java.lang.constant.Constable
Provides all game configs.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionintDefines config default and current amount.Provides #ConfigTypeintDefines config default and current amount.booleanProvides if the config is enabled or if enabled by default.String[]Config description.booleanIs the config editable?booleanProvides if the config is enabled or if enabled by default.net.fateuhc.plugin.utilties.uhc.items.ItemBuilderConfig item in the menu.booleanCan the config only be changed in lobby?Config name -
Method Summary
-
Enum Constant Details
-
NETHER
-
FINAL_HEAL
-
PVP_TIME
-
NETHER_TIME
-
BORDER_SIZE
-
BORDER_SHRINK_INTERVAL
-
BORDER_SHRINK_UNTIL
-
FIRST_SHRINK
-
ENDER_PEARL_DAMAGE
-
APPLE_RATE
-
SHEARS
-
SHEARS_RATE
-
ENCHANTED_GOLDEN_APPLES
-
GOLDEN_HEADS
-
NETHER_BED_EXPLOSION
-
STRENGTH_POTIONS
-
SPEED_POTIONS
-
INVIS_POTIONS
-
FLAT
-
EXACT_FLAT
-
EXACT_FLAT_SIZE
-
GLASS_BORDER
-
TEAM_DAMAGE
-
DEATH_KICK
-
MOBS_ATTACK
-
TO_INVENTORY
-
EXP_BOTTLE
-
LATE_SCATTER_PERIOD
-
SKY_HIGH_TIME
-
SKY_HIGH_LIMIT
-
WEATHER_AND_TIME
-
ANTIBURN
-
IPVP
-
ABSORPTIONLESS
-
UBL
-
SHEEP_STRING
-
ONEHUNDERED_BORDER_SCENARIOS
-
RANDOM_TEAMS
-
-
Field Details
-
amount
public int amountDefines config default and current amount. -
defaultAmount
public int defaultAmountDefines config default and current amount. -
enabled
public boolean enabledProvides if the config is enabled or if enabled by default. -
defaultEnabled
public boolean defaultEnabledProvides if the config is enabled or if enabled by default. -
configType
Provides #ConfigType -
name
Config name -
itemBuilder
public net.fateuhc.plugin.utilties.uhc.items.ItemBuilder itemBuilderConfig item in the menu. -
editable
public boolean editableIs the config editable? -
lobbyModeOnly
public boolean lobbyModeOnlyCan the config only be changed in lobby? -
description
Config description.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toItemStack
public org.bukkit.inventory.ItemStack toItemStack()- Returns:
- ItemStack of config item
-