Interface IHoloLine
public interface IHoloLine
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Destroy the hologram line and also remove it from the hologramGet the hologram bounded to.getText()
Get the text of the hologram line.boolean
Check if the hologram line is destroyed.void
remove()
Remove the hologram line but keeping the line object in its bounded hologramvoid
reveal()
Reveals the hologram line if the line has disappeared been removed by the server or another pluginvoid
setHologram
(IHologram hologram) Set the hologram bounded to.void
Set the text of the hologram line.void
Set the text of the hologram line.void
update()
Update the hologram line.
-
Method Details
-
getText
String getText()Get the text of the hologram line.- Returns:
- the text
-
getHologram
IHologram getHologram()Get the hologram bounded to.- Returns:
- the hologram
-
update
void update()Update the hologram line. -
isDestroyed
boolean isDestroyed()Check if the hologram line is destroyed.- Returns:
- true if the hologram line is destroyed
-
setHologram
Set the hologram bounded to.- Parameters:
hologram
- - the hologram
-
setText
Set the text of the hologram line.- Parameters:
text
- - the text
-
setText
Set the text of the hologram line.- Parameters:
text
- - the textupdate
- - if the hologram line should be updated
-
reveal
void reveal()Reveals the hologram line if the line has disappeared been removed by the server or another plugin -
remove
void remove()Remove the hologram line but keeping the line object in its bounded hologram -
destroy
void destroy()Destroy the hologram line and also remove it from the hologram
-