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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
Represents the line number or index associated with a specific context. -
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
-
Field Details
-
line
private final int lineRepresents the line number or index associated with a specific context.This integer value denotes a line number or index, which might be used for positioning, tracking, or organizing purposes within the application.
-
-
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.
-