Enum NBTDataType
- All Implemented Interfaces:
Serializable
,Comparable<NBTDataType>
The NBT metadata applied to the ArmorStands used in the plugin.
Use
Enum.name()
to retrieve the key.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe color to apply to the part Applied to: Paint bucket addon itemThe wheel part to apply to the vehicle Applied to: Wheel addon itemThe fuel type of the canister Applied to: Fuel canister itemThe serialized vehicle Part class Applied to: Part ArmorStandThe UUID of the vehicle Applied to: Vehicle Holder ArmorStand -
Method Summary
Modifier and TypeMethodDescriptionstatic NBTDataType
Returns the enum constant of this type with the specified name.static NBTDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
V_UUID
The UUID of the vehicle Applied to: Vehicle Holder ArmorStand -
V_PART_DATA
The serialized vehicle Part class Applied to: Part ArmorStand -
FUEL_TYPE
The fuel type of the canister Applied to: Fuel canister item -
ADDON_PAINT_COLOR
The color to apply to the part Applied to: Paint bucket addon item -
ADDON_WHEEL_PART
The wheel part to apply to the vehicle Applied to: Wheel addon item
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-