Klasse TextHologramData
java.lang.Object
de.oliver.fancyholograms.api.data.TextHologramData
- Alle implementierten Schnittstellen:
Data
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final booleanstatic final org.bukkit.entity.TextDisplay.TextAlignmentstatic final booleanstatic final int -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungTextHologramData(List<String> text, net.kyori.adventure.text.format.TextColor background, org.bukkit.entity.TextDisplay.TextAlignment textAlignment, boolean textShadow, boolean seeThrough, int textUpdateInterval) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidcopy()net.kyori.adventure.text.format.TextColorstatic TextHologramDatagetDefault(String name) getText()org.bukkit.entity.TextDisplay.TextAlignmentintbooleanbooleanvoidvoidremoveLine(int index) setBackground(net.kyori.adventure.text.format.TextColor background) setSeeThrough(boolean seeThrough) setTextAlignment(org.bukkit.entity.TextDisplay.TextAlignment textAlignment) setTextShadow(boolean textShadow) setTextUpdateInterval(int textUpdateInterval) void
-
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
-
TextHologramData
public TextHologramData()
-
-
Methodendetails
-
getDefault
-
read
-
write
-
getText
-
setText
-
addLine
-
removeLine
public void removeLine(int index) -
getBackground
public net.kyori.adventure.text.format.TextColor getBackground() -
setBackground
-
getTextAlignment
public org.bukkit.entity.TextDisplay.TextAlignment getTextAlignment() -
setTextAlignment
-
isTextShadow
public boolean isTextShadow() -
setTextShadow
-
isSeeThrough
public boolean isSeeThrough() -
setSeeThrough
-
getTextUpdateInterval
public int getTextUpdateInterval() -
setTextUpdateInterval
-
copy
-