Klasse TextHologramData
java.lang.Object
de.oliver.fancyholograms.api.data.HologramData
de.oliver.fancyholograms.api.data.DisplayHologramData
de.oliver.fancyholograms.api.data.TextHologramData
- Alle implementierten Schnittstellen:
YamlData
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final booleanstatic final org.bukkit.entity.TextDisplay.TextAlignmentstatic final booleanstatic final intVon Klasse geerbte Felder de.oliver.fancyholograms.api.data.DisplayHologramData
DEFAULT_BILLBOARD, DEFAULT_SCALE, DEFAULT_SHADOW_RADIUS, DEFAULT_SHADOW_STRENGTH, DEFAULT_TRANSLATIONVon Klasse geerbte Felder de.oliver.fancyholograms.api.data.HologramData
DEFAULT_IS_VISIBLE, DEFAULT_PERSISTENCE, DEFAULT_VISIBILITY, DEFAULT_VISIBILITY_DISTANCE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidorg.bukkit.ColorgetText()org.bukkit.entity.TextDisplay.TextAlignmentintbooleanbooleanvoidvoidremoveLine(int index) setBackground(org.bukkit.Color background) setSeeThrough(boolean seeThrough) setTextAlignment(org.bukkit.entity.TextDisplay.TextAlignment textAlignment) setTextShadow(boolean textShadow) setTextUpdateInterval(int textUpdateInterval) voidVon Klasse geerbte Methoden de.oliver.fancyholograms.api.data.DisplayHologramData
getBillboard, getBrightness, getScale, getShadowRadius, getShadowStrength, getTranslation, setBillboard, setBrightness, setScale, setShadowRadius, setShadowStrength, setTranslationVon 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_TEXT_ALIGNMENT
public static final org.bukkit.entity.TextDisplay.TextAlignment DEFAULT_TEXT_ALIGNMENT -
DEFAULT_TEXT_SHADOW_STATE
public static final boolean DEFAULT_TEXT_SHADOW_STATE- Siehe auch:
-
DEFAULT_SEE_THROUGH
public static final boolean DEFAULT_SEE_THROUGH- Siehe auch:
-
DEFAULT_TEXT_UPDATE_INTERVAL
public static final int DEFAULT_TEXT_UPDATE_INTERVAL- Siehe auch:
-
-
Konstruktordetails
-
TextHologramData
- Parameter:
name- Name of hologramlocation- Location of hologram Default values are already set
-
-
Methodendetails
-
getText
-
setText
-
addLine
-
removeLine
public void removeLine(int index) -
getBackground
public org.bukkit.Color getBackground() -
setBackground
-
getTextAlignment
public org.bukkit.entity.TextDisplay.TextAlignment getTextAlignment() -
setTextAlignment
-
hasTextShadow
public boolean hasTextShadow() -
setTextShadow
-
isSeeThrough
public boolean isSeeThrough() -
setSeeThrough
-
getTextUpdateInterval
public int getTextUpdateInterval() -
setTextUpdateInterval
-
read
- Angegeben von:
readin SchnittstelleYamlData- Setzt außer Kraft:
readin KlasseDisplayHologramData
-
write
- Angegeben von:
writein SchnittstelleYamlData- Setzt außer Kraft:
writein KlasseDisplayHologramData
-
copy
- Setzt außer Kraft:
copyin KlasseDisplayHologramData
-