Enum Class VehicleDataConfig.Option
java.lang.Object
java.lang.Enum<VehicleDataConfig.Option>
nl.mtvehicles.core.infrastructure.dataconfig.VehicleDataConfig.Option
- All Implemented Interfaces:
Serializable
,Comparable<VehicleDataConfig.Option>
,Constable
- Enclosing class:
- VehicleDataConfig
Options available in vehicle data file
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCan be found as 'aftrekkenSpeed' in vehicleData.ymlCan be found as 'fuel' in vehicleData.ymlCan be found as 'benzineEnabled' in vehicleData.ymlCan be found as 'benzineVerbruik' in vehicleData.ymlCan be found as 'kofferbakData' in vehicleData.ymlCan be found as 'kofferbak' in vehicleData.ymlCan be found as 'kofferbakRows' in vehicleData.yml -
Method Summary
Modifier and TypeMethodDescriptiongetPath()
Get string path of optionstatic VehicleDataConfig.Option
Returns the enum constant of this class with the specified name.static VehicleDataConfig.Option[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAME
-
VEHICLE_TYPE
-
SKIN_ITEM
-
SKIN_DAMAGE
-
OWNER
-
RIDERS
-
MEMBERS
-
FUEL_ENABLED
Can be found as 'benzineEnabled' in vehicleData.yml -
FUEL
Can be found as 'fuel' in vehicleData.yml -
FUEL_USAGE
Can be found as 'benzineVerbruik' in vehicleData.yml -
BRAKING_SPEED
-
FRICTION_SPEED
Can be found as 'aftrekkenSpeed' in vehicleData.yml -
ACCELERATION_SPEED
-
MAX_SPEED
-
MAX_SPEED_BACKWARDS
-
ROTATION_SPEED
-
TRUNK_ENABLED
Can be found as 'kofferbak' in vehicleData.yml -
TRUNK_ROWS
Can be found as 'kofferbakRows' in vehicleData.yml -
TRUNK_DATA
Can be found as 'kofferbakData' in vehicleData.yml -
IS_OPEN
-
IS_GLOWING
-
HORN_ENABLED
-
HEALTH
-
NBT_VALUE
-
-
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
-
getPath
Get string path of option- Returns:
- Path of option
-