Enum NBTDataType

java.lang.Object
java.lang.Enum<NBTDataType>
nl.sbdeveloper.vehiclesplus.api.nbt.NBTDataType
All Implemented Interfaces:
Serializable, Comparable<NBTDataType>

public enum NBTDataType extends Enum<NBTDataType>
The NBT metadata applied to the ArmorStands used in the plugin. Use Enum.name() to retrieve the key.
  • Enum Constant Details

    • V_UUID

      public static final NBTDataType V_UUID
      The UUID of the vehicle Applied to: Vehicle Holder ArmorStand
    • V_PART_DATA

      public static final NBTDataType V_PART_DATA
      The serialized vehicle Part class Applied to: Part ArmorStand
    • FUEL_TYPE

      public static final NBTDataType FUEL_TYPE
      The fuel type of the canister Applied to: Fuel canister item
    • ADDON_PAINT_COLOR

      public static final NBTDataType ADDON_PAINT_COLOR
      The color to apply to the part Applied to: Paint bucket addon item
    • ADDON_WHEEL_PART

      public static final NBTDataType ADDON_WHEEL_PART
      The wheel part to apply to the vehicle Applied to: Wheel addon item
  • Method Details

    • values

      public static NBTDataType[] 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

      public static NBTDataType valueOf(String name)
      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 name
      NullPointerException - if the argument is null