Interface IHologram
public interface IHologram
Represents a generic Hologram.
-
Method Summary
Modifier and TypeMethodDescriptionGets the location of the hologram in the world.getName()Get the internal name of the hologram.Retrieves the parkour associated with this hologram.voidremove()Removes the hologram from the world.voidSets the lines of text to be displayed in the hologram.voidsetLocation(Location location) Sets the location of the hologram in the world.
-
Method Details
-
remove
void remove()Removes the hologram from the world. -
getLocation
Location getLocation()Gets the location of the hologram in the world.- Returns:
- the location of the hologram.
-
getParkour
IParkour getParkour()Retrieves the parkour associated with this hologram.- Returns:
- the instance of
IParkourassociated with this hologram, ornullif no parkour is linked.
-
setLines
-
setLocation
Sets the location of the hologram in the world.- Parameters:
location- the new location of the hologram.
-
getName
-