Package com.ranull.graves.data
Class HologramData
java.lang.Object
com.ranull.graves.data.EntityData
com.ranull.graves.data.HologramData
- All Implemented Interfaces:
Serializable
Represents data for a hologram entity associated with a grave, including its line number.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ranull.graves.data.EntityData
EntityData.Type
-
Constructor Summary
ConstructorsConstructorDescriptionHologramData
(org.bukkit.Location location, UUID uuidEntity, UUID uuidGrave, int line) Constructs a new HologramData instance. -
Method Summary
Methods inherited from class com.ranull.graves.data.EntityData
getLocation, getType, getUUIDEntity, getUUIDGrave
-
Constructor Details
-
HologramData
Constructs a new HologramData instance.- Parameters:
location
- The location of the hologram.uuidEntity
- The UUID of the hologram entity.uuidGrave
- The UUID of the associated grave.line
- The line number of the hologram.
-
-
Method Details
-
getLine
public int getLine()Gets the line number of the hologram.- Returns:
- The line number of the hologram.
-