Klasse HologramData
java.lang.Object
de.oliver.fancyholograms.api.data.HologramData
- Alle implementierten Schnittstellen:
YamlData
- Bekannte direkte Unterklassen:
DisplayHologramData
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final booleanstatic final booleanstatic final Visibilitystatic final int -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull org.bukkit.Location@NotNull StringgetName()@NotNull HologramTypegetType()Get the type of visibility for the hologram.intfinal booleanbooleanvoidfinal voidsetHasChanges(boolean hasChanges) setLinkedNpcName(String linkedNpcName) setLocation(@Nullable org.bukkit.Location location) setPersistent(boolean persistent) setVisibility(Visibility visibility) Set the type of visibility for the hologram.setVisibilityDistance(int visibilityDistance) void
-
Felddetails
-
DEFAULT_VISIBILITY_DISTANCE
public static final int DEFAULT_VISIBILITY_DISTANCE- Siehe auch:
-
DEFAULT_VISIBILITY
-
DEFAULT_IS_VISIBLE
public static final boolean DEFAULT_IS_VISIBLE- Siehe auch:
-
DEFAULT_PERSISTENCE
public static final boolean DEFAULT_PERSISTENCE- Siehe auch:
-
-
Konstruktordetails
-
HologramData
- Parameter:
name- Name of hologramtype- Type of hologramlocation- Location of hologram Default values are already set
-
-
Methodendetails
-
getName
-
getType
-
getLocation
@NotNull public @NotNull org.bukkit.Location getLocation() -
setLocation
-
hasChanges
public final boolean hasChanges()- Gibt zurück:
- Whether the hologram needs to send an update to players
-
setHasChanges
public final void setHasChanges(boolean hasChanges) - Parameter:
hasChanges- Whether the hologram needs to send an update to players
-
getVisibilityDistance
public int getVisibilityDistance() -
setVisibilityDistance
-
getVisibility
Get the type of visibility for the hologram.- Gibt zurück:
- type of visibility.
-
setVisibility
Set the type of visibility for the hologram. -
isPersistent
public boolean isPersistent() -
setPersistent
-
getLinkedNpcName
-
setLinkedNpcName
-
read
-
write
-
copy
-