Klasse DisplayHologramData
java.lang.Object
de.oliver.fancyholograms.api.data.HologramData
de.oliver.fancyholograms.api.data.DisplayHologramData
- Alle implementierten Schnittstellen:
YamlData
- Bekannte direkte Unterklassen:
BlockHologramData,ItemHologramData,TextHologramData
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final org.bukkit.entity.Display.Billboardstatic final org.joml.Vector3fstatic final floatstatic final floatstatic final org.joml.Vector3fVon Klasse geerbte Felder de.oliver.fancyholograms.api.data.HologramData
DEFAULT_IS_VISIBLE, DEFAULT_PERSISTENCE, DEFAULT_VISIBILITY, DEFAULT_VISIBILITY_DISTANCE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDisplayHologramData(String name, HologramType type, org.bukkit.Location location) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.bukkit.entity.Display.Billboardorg.bukkit.entity.Display.Brightnessorg.joml.Vector3fgetScale()floatfloatorg.joml.Vector3fbooleanReads the data from the given configuration section.setBillboard(org.bukkit.entity.Display.Billboard billboard) setBrightness(org.bukkit.entity.Display.Brightness brightness) setScale(org.joml.Vector3f scale) setShadowRadius(float shadowRadius) setShadowStrength(float shadowStrength) setTranslation(org.joml.Vector3f translation) booleanWrites the data to the given configuration section.Von Klasse geerbte Methoden de.oliver.fancyholograms.api.data.HologramData
getLinkedNpcName, getLocation, getName, getType, getVisibility, getVisibilityDistance, hasChanges, isPersistent, setHasChanges, setLinkedNpcName, setLocation, setPersistent, setVisibility, setVisibilityDistance
-
Felddetails
-
DEFAULT_BILLBOARD
public static final org.bukkit.entity.Display.Billboard DEFAULT_BILLBOARD -
DEFAULT_SCALE
public static final org.joml.Vector3f DEFAULT_SCALE -
DEFAULT_TRANSLATION
public static final org.joml.Vector3f DEFAULT_TRANSLATION -
DEFAULT_SHADOW_RADIUS
public static final float DEFAULT_SHADOW_RADIUS- Siehe auch:
-
DEFAULT_SHADOW_STRENGTH
public static final float DEFAULT_SHADOW_STRENGTH- Siehe auch:
-
-
Konstruktordetails
-
DisplayHologramData
- Parameter:
name- Name of hologramtype- Type of hologramlocation- Location of hologram Default values are already set
-
-
Methodendetails
-
getBillboard
public org.bukkit.entity.Display.Billboard getBillboard() -
setBillboard
-
getScale
public org.joml.Vector3f getScale() -
setScale
-
getTranslation
public org.joml.Vector3f getTranslation() -
setTranslation
-
getBrightness
public org.bukkit.entity.Display.Brightness getBrightness() -
setBrightness
-
getShadowRadius
public float getShadowRadius() -
setShadowRadius
-
getShadowStrength
public float getShadowStrength() -
setShadowStrength
-
read
Beschreibung aus Schnittstelle kopiert:YamlDataReads the data from the given configuration section.- Angegeben von:
readin SchnittstelleYamlData- Setzt außer Kraft:
readin KlasseHologramData- Gibt zurück:
- Whether the data was read successfully.
-
write
Beschreibung aus Schnittstelle kopiert:YamlDataWrites the data to the given configuration section.- Angegeben von:
writein SchnittstelleYamlData- Setzt außer Kraft:
writein KlasseHologramData- Gibt zurück:
- Whether the data was written successfully.
-
copy
- Setzt außer Kraft:
copyin KlasseHologramData
-