Package com.ranull.graves.data
Enum Class EntityData.Type
- All Implemented Interfaces:
Serializable
,Comparable<EntityData.Type>
,java.lang.constant.Constable
- Enclosing class:
EntityData
Enum representing the different types of entities that can be associated with a grave.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents an armor stand entity.Represents an entity from CitizensNPC plugin.Represents an entity from the FurnitureEngine plugin.Represents an entity from the FurnitureLib plugin.Represents a hologram entity.Represents an item frame entity.Represents an entity from the ItemsAdder plugin.Represents an entity from the Nexo plugin.Represents an entity from the Oraxen plugin.Represents an entity from PlayerNPC plugin. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityData.Type
Returns the enum constant of this class with the specified name.static EntityData.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HOLOGRAM
Represents a hologram entity. -
ARMOR_STAND
Represents an armor stand entity. -
ITEM_FRAME
Represents an item frame entity. -
FURNITURELIB
Represents an entity from the FurnitureLib plugin. -
FURNITUREENGINE
Represents an entity from the FurnitureEngine plugin. -
ITEMSADDER
Represents an entity from the ItemsAdder plugin. -
ORAXEN
Represents an entity from the Oraxen plugin. -
NEXO
Represents an entity from the Nexo plugin. -
PLAYERNPC
Represents an entity from PlayerNPC plugin. -
CITIZENSNPC
Represents an entity from CitizensNPC plugin.
-
-
Constructor Details
-
Type
private Type()
-
-
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
-