Enum Class DefaultConfig.Option
java.lang.Object
java.lang.Enum<DefaultConfig.Option>
nl.mtvehicles.core.infrastructure.dataconfig.DefaultConfig.Option
- All Implemented Interfaces:
Serializable
,Comparable<DefaultConfig.Option>
,Constable
- Enclosing class:
- DefaultConfig
Options available in MTV's default configuration file (config.yml)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionGet default value of optiongetPath()
Get string path of optionGet (default) type of optionstatic DefaultConfig.Option
Returns the enum constant of this class with the specified name.static DefaultConfig.Option[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO_UPDATE
-
VEHICLE_MENU_SIZE
-
HELICOPTER_BLADES_ALWAYS_ON
-
DISABLE_PICKUP_FROM_WATER
-
TRUNK_ENABLED
-
PUT_ONESELF_AS_OWNER
-
MAX_FLYING_HEIGHT
-
TAKE_OFF_SPEED
-
AIRPLANE_TNT
-
AIRPLANE_COOLDOWN
-
CAR_PICKUP
-
FUEL_ENABLED
-
FUEL_MULTIPLIER
-
JERRYCANS
-
DAMAGE_ENABLED
-
DAMAGE_MULTIPLIER
-
HORN_COOLDOWN
-
HORN_TYPE
-
TANK_TNT
-
TANK_COOLDOWN
-
DRIVE_UP
-
EXTREME_HELICOPTER_FALL
-
HELICOPTER_FALL_DAMAGE
-
DRIVE_ON_CARPETS
-
BLOCK_WHITELIST_ENABLED
-
BLOCK_WHITELIST_LIST
-
DISABLED_WORLDS
-
GAS_STATIONS_ENABLED
-
GAS_STATIONS_CAN_USE_JERRYCAN_OUTSIDE_OF_GAS_STATION
-
GAS_STATIONS_FILL_JERRYCANS_ENABLED
-
GAS_STATIONS_FILL_JERRYCANS_NEED_PERMISSION
-
GAS_STATIONS_FILL_JERRYCANS_PLAY_SOUND
-
GAS_STATIONS_FILL_JERRYCANS_LEVER
-
GAS_STATIONS_FILL_JERRYCANS_TRIPWIRE_HOOK
-
GAS_STATIONS_FILL_JERRYCANS_PRICE_ENABLED
-
GAS_STATIONS_FILL_JERRYCANS_PRICE_PER_LITRE
-
REGION_ACTIONS_PLACE
-
REGION_ACTIONS_ENTER
-
REGION_ACTIONS_PICKUP
-
USE_PLAYER_FACING
-
-
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
-
getDefaultValue
Get default value of option- Returns:
- Default value of option
-
getPath
Get string path of option- Returns:
- Path of option
-
getValueType
Get (default) type of option- Returns:
- Default type of option
-