Index
All Classes and Interfaces|All Packages
A
- add(double, double, double) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns a new position made by adding the given lengths to each coordinate.
- appendItem(ItemStack) - Method in interface me.filoghost.holographicdisplays.api.hologram.HologramLines
-
Adds a new item line at the bottom.
- appendText(String) - Method in interface me.filoghost.holographicdisplays.api.hologram.HologramLines
-
Adds a new text line at the bottom.
C
- clear() - Method in interface me.filoghost.holographicdisplays.api.hologram.HologramLines
-
Removes all the lines.
- clearIndividualVisibilities() - Method in interface me.filoghost.holographicdisplays.api.hologram.VisibilitySettings
-
Removes the individual visibility for all players.
- ClickableHologramLine - Interface in me.filoghost.holographicdisplays.api.hologram.line
-
A hologram line that can be left-clicked or right-click.
- createHologram(Position) - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Creates a hologram.
- createHologram(Location) - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Creates a hologram.
D
- DEFAULT - Enum constant in enum me.filoghost.holographicdisplays.api.hologram.PlaceholderSetting
-
The default setting for placeholders (which is currently equivalent to
PlaceholderSetting.DISABLE_ALL). - delete() - Method in interface me.filoghost.holographicdisplays.api.hologram.Hologram
-
Deletes this hologram, clearing the lines.
- deleteHolograms() - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Deletes all the holograms.
- DISABLE_ALL - Enum constant in enum me.filoghost.holographicdisplays.api.hologram.PlaceholderSetting
-
Disable all placeholders.
- distance(Position) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the distance between this position and another position.
- distance(Location) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the distance between this position and a Location.
- distance(Entity) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the distance between this position and an entity.
- distanceSquared(Position) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the squared distance between this position and another position.
- distanceSquared(Location) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the squared distance between this position and a Location.
- distanceSquared(Entity) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the squared distance between this position and an entity.
E
- ENABLE_ALL - Enum constant in enum me.filoghost.holographicdisplays.api.hologram.PlaceholderSetting
-
Enable all placeholders.
G
- get(int) - Method in interface me.filoghost.holographicdisplays.api.hologram.HologramLines
-
Returns the line at the given index.
- get(Plugin) - Static method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Returns the API instance for managing holograms and placeholders of the specified plugin.
- getBlockX() - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the X coordinate of the block in this position.
- getBlockY() - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the Y coordinate of the block in this position.
- getBlockZ() - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the Z coordinate of the block in this position.
- getClickListener() - Method in interface me.filoghost.holographicdisplays.api.hologram.line.ClickableHologramLine
-
Returns the current click listener.
- getGlobalVisibility() - Method in interface me.filoghost.holographicdisplays.api.hologram.VisibilitySettings
-
Returns the global visibility.
- getHeight() - Method in interface me.filoghost.holographicdisplays.api.hologram.HologramLines
-
The total height in blocks occupied by the lines, including the gaps between them.
- getHolograms() - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Returns all the holograms.
- getItemStack() - Method in interface me.filoghost.holographicdisplays.api.hologram.line.ItemHologramLine
-
Returns the currently displayed item.
- getLines() - Method in interface me.filoghost.holographicdisplays.api.hologram.Hologram
-
Returns the editable lines of this hologram.
- getPickupListener() - Method in interface me.filoghost.holographicdisplays.api.hologram.line.ItemHologramLine
-
Returns the current pickup listener.
- getPlaceholder(String) - Method in interface me.filoghost.holographicdisplays.api.placeholder.GlobalPlaceholderFactory
-
Returns the placeholder instance to provide the replacement for the given argument.
- getPlaceholder(String) - Method in interface me.filoghost.holographicdisplays.api.placeholder.IndividualPlaceholderFactory
-
Returns the placeholder instance to provide the replacement for the given argument.
- getPlaceholderSetting() - Method in interface me.filoghost.holographicdisplays.api.hologram.Hologram
-
Returns the placeholder setting.
- getPlayer() - Method in interface me.filoghost.holographicdisplays.api.hologram.line.HologramLineClickEvent
-
Returns the player who clicked on the line.
- getPlayer() - Method in interface me.filoghost.holographicdisplays.api.hologram.line.HologramLinePickupEvent
-
Returns the player being in pickup range of the item line.
- getPosition() - Method in interface me.filoghost.holographicdisplays.api.hologram.Hologram
-
Returns the current position.
- getRefreshIntervalTicks() - Method in interface me.filoghost.holographicdisplays.api.placeholder.Placeholder
-
Returns the minimum interval in ticks between invocations of the replacement callback.
- getRegisteredPlaceholders() - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Returns all the registered placeholder identifiers.
- getReplacement(String) - Method in interface me.filoghost.holographicdisplays.api.placeholder.GlobalPlaceholder
-
Callback for providing a placeholder replacement for a given optional argument.
- getReplacement(String) - Method in interface me.filoghost.holographicdisplays.api.placeholder.GlobalPlaceholderReplaceFunction
- getReplacement(Player, String) - Method in interface me.filoghost.holographicdisplays.api.placeholder.IndividualPlaceholder
-
Callback for providing a placeholder replacement for a given player and an optional argument.
- getReplacement(Player, String) - Method in interface me.filoghost.holographicdisplays.api.placeholder.IndividualPlaceholderReplaceFunction
- getText() - Method in interface me.filoghost.holographicdisplays.api.hologram.line.TextHologramLine
-
Returns the currently displayed text.
- getVersion() - Static method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Returns the API version number, which is increased every time the API changes.
- getVisibilitySettings() - Method in interface me.filoghost.holographicdisplays.api.hologram.Hologram
-
Returns the visibility settings.
- getWorldIfLoaded() - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the loaded world of this position or null if it's not loaded.
- getWorldName() - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the name of the world of this position.
- getX() - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the X coordinate of this position.
- getY() - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the Y coordinate of this position.
- getZ() - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the Z coordinate of this position.
- GlobalPlaceholder - Interface in me.filoghost.holographicdisplays.api.placeholder
-
A global placeholder that displays the same text to all players.
- GlobalPlaceholderFactory - Interface in me.filoghost.holographicdisplays.api.placeholder
-
Advanced class to create separate
GlobalPlaceholderinstances depending on the placeholder argument, instead of providing a single one when registering the placeholder. - GlobalPlaceholderReplaceFunction - Interface in me.filoghost.holographicdisplays.api.placeholder
-
Simplified version of
GlobalPlaceholderwhere the refresh interval in ticks is passed through the registration methodHolographicDisplaysAPI.registerGlobalPlaceholder(String, int, GlobalPlaceholderReplaceFunction)as a constant.
H
- HIDDEN - Enum constant in enum me.filoghost.holographicdisplays.api.hologram.VisibilitySettings.Visibility
-
The hologram is not visible.
- Hologram - Interface in me.filoghost.holographicdisplays.api.hologram
-
Group of one or more vertically aligned lines which appear as floating text lines and items.
- HologramLine - Interface in me.filoghost.holographicdisplays.api.hologram.line
-
A line of a hologram.
- HologramLineClickEvent - Interface in me.filoghost.holographicdisplays.api.hologram.line
-
The event of a player clicking on a
ClickableHologramLine. - HologramLineClickListener - Interface in me.filoghost.holographicdisplays.api.hologram.line
-
The listener class for
HologramLineClickEvent. - HologramLinePickupEvent - Interface in me.filoghost.holographicdisplays.api.hologram.line
-
The event of a player being in pickup range of an
ItemHologramLine. - HologramLinePickupListener - Interface in me.filoghost.holographicdisplays.api.hologram.line
-
The listener class for
HologramLinePickupEvent. - HologramLines - Interface in me.filoghost.holographicdisplays.api.hologram
-
The editable lines of a hologram, following a top to bottom order (first line is top one, last line is the bottom one).
- HolographicDisplaysAPI - Interface in me.filoghost.holographicdisplays.api
-
Main entry point for accessing the Holographic Displays API.
I
- IndividualPlaceholder - Interface in me.filoghost.holographicdisplays.api.placeholder
-
An individual placeholder that can display a different text to each player.
- IndividualPlaceholderFactory - Interface in me.filoghost.holographicdisplays.api.placeholder
-
Advanced class to create separate
IndividualPlaceholderinstances depending on the placeholder argument, instead of providing a single one when registering the placeholder. - IndividualPlaceholderReplaceFunction - Interface in me.filoghost.holographicdisplays.api.placeholder
-
Simplified version of
IndividualPlaceholderwhere the refresh interval in ticks is passed through the registration methodHolographicDisplaysAPI.registerIndividualPlaceholder(String, int, IndividualPlaceholderReplaceFunction)as a constant. - insertItem(int, ItemStack) - Method in interface me.filoghost.holographicdisplays.api.hologram.HologramLines
-
Inserts a new item line before the line at the given index, shifting all the lines below.
- insertText(int, String) - Method in interface me.filoghost.holographicdisplays.api.hologram.HologramLines
-
Inserts a new text line before the line at the given index, shifting all the lines below.
- isDeleted() - Method in interface me.filoghost.holographicdisplays.api.hologram.Hologram
-
Returns if this hologram is deleted.
- isInSameWorld(Position) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns if this position is in the same world of another position.
- isInSameWorld(Location) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns if this position is in the same world of a Location.
- isInSameWorld(Entity) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns if this position is in the same world of an entity.
- isInWorld(String) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns if this position is in the given world name.
- isInWorld(World) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns if this position is in the given world.
- isRegisteredPlaceholder(String) - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Returns if a placeholder with a given identifier is registered.
- isVisibleTo(Player) - Method in interface me.filoghost.holographicdisplays.api.hologram.VisibilitySettings
-
Checks if a hologram is visible to a player, taking into account both the global visibility and the individual visibility for the player (if set).
- ItemHologramLine - Interface in me.filoghost.holographicdisplays.api.hologram.line
-
A hologram line displaying an item.
M
- me.filoghost.holographicdisplays.api - package me.filoghost.holographicdisplays.api
- me.filoghost.holographicdisplays.api.hologram - package me.filoghost.holographicdisplays.api.hologram
- me.filoghost.holographicdisplays.api.hologram.line - package me.filoghost.holographicdisplays.api.hologram.line
- me.filoghost.holographicdisplays.api.placeholder - package me.filoghost.holographicdisplays.api.placeholder
O
- of(String, double, double, double) - Static method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the position with the given world and coordinates.
- of(Location) - Static method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the position from a Location.
- of(World, double, double, double) - Static method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the position with the given world and coordinates.
- of(Block) - Static method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the position of a block.
- of(Entity) - Static method in interface me.filoghost.holographicdisplays.api.Position
-
Returns the position of an entity.
- onClick(HologramLineClickEvent) - Method in interface me.filoghost.holographicdisplays.api.hologram.line.HologramLineClickListener
-
Invoked when a player clicks on the clickable line.
- onPickup(HologramLinePickupEvent) - Method in interface me.filoghost.holographicdisplays.api.hologram.line.HologramLinePickupListener
-
Invoked when a player is being in pickup range of the item line.
P
- Placeholder - Interface in me.filoghost.holographicdisplays.api.placeholder
-
A placeholder is a dynamic text value that can be displayed in a text hologram line.
- PlaceholderSetting - Enum in me.filoghost.holographicdisplays.api.hologram
-
The option to enable or disable placeholders inside the text lines of hologram.
- Position - Interface in me.filoghost.holographicdisplays.api
-
Represents an immutable 3-dimensional position in a world.
R
- registerGlobalPlaceholder(String, int, GlobalPlaceholderReplaceFunction) - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Registers a new global placeholder.
- registerGlobalPlaceholder(String, GlobalPlaceholder) - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Registers a new global placeholder.
- registerGlobalPlaceholderFactory(String, GlobalPlaceholderFactory) - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Registers a new global placeholder factory.
- registerIndividualPlaceholder(String, int, IndividualPlaceholderReplaceFunction) - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Registers a new individual placeholder.
- registerIndividualPlaceholder(String, IndividualPlaceholder) - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Registers a new individual placeholder.
- registerIndividualPlaceholderFactory(String, IndividualPlaceholderFactory) - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Registers a new individual placeholder factory.
- remove(int) - Method in interface me.filoghost.holographicdisplays.api.hologram.HologramLines
-
Removes the line at the given index.
- remove(HologramLine) - Method in interface me.filoghost.holographicdisplays.api.hologram.HologramLines
-
Removes a line.
- removeIndividualVisibility(Player) - Method in interface me.filoghost.holographicdisplays.api.hologram.VisibilitySettings
-
Removes the individual visibility for a player.
S
- setClickListener(HologramLineClickListener) - Method in interface me.filoghost.holographicdisplays.api.hologram.line.ClickableHologramLine
-
Sets the click listener.
- setGlobalVisibility(VisibilitySettings.Visibility) - Method in interface me.filoghost.holographicdisplays.api.hologram.VisibilitySettings
-
Sets the global visibility.
- setIndividualVisibility(Player, VisibilitySettings.Visibility) - Method in interface me.filoghost.holographicdisplays.api.hologram.VisibilitySettings
-
Sets the visibility for a specific player, with precedence over the global visibility (
VisibilitySettings.getGlobalVisibility()). - setItemStack(ItemStack) - Method in interface me.filoghost.holographicdisplays.api.hologram.line.ItemHologramLine
-
Sets the displayed item.
- setPickupListener(HologramLinePickupListener) - Method in interface me.filoghost.holographicdisplays.api.hologram.line.ItemHologramLine
-
Sets the pickup listener.
- setPlaceholderSetting(PlaceholderSetting) - Method in interface me.filoghost.holographicdisplays.api.hologram.Hologram
-
Changes the placeholder setting.
- setPosition(String, double, double, double) - Method in interface me.filoghost.holographicdisplays.api.hologram.Hologram
-
Moves the hologram to the given position.
- setPosition(Position) - Method in interface me.filoghost.holographicdisplays.api.hologram.Hologram
-
Moves the hologram to the given position.
- setPosition(Location) - Method in interface me.filoghost.holographicdisplays.api.hologram.Hologram
-
Moves the hologram to the given position.
- setPosition(World, double, double, double) - Method in interface me.filoghost.holographicdisplays.api.hologram.Hologram
-
Moves the hologram to the given position.
- setText(String) - Method in interface me.filoghost.holographicdisplays.api.hologram.line.TextHologramLine
-
Sets the displayed text.
- size() - Method in interface me.filoghost.holographicdisplays.api.hologram.HologramLines
-
Returns the current amount of lines.
- subtract(double, double, double) - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns a new position made by subtracting the given lengths from each coordinate.
T
- TextHologramLine - Interface in me.filoghost.holographicdisplays.api.hologram.line
-
A hologram line displaying text.
- toLocation() - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns a new Location derived from this position.
- toVector() - Method in interface me.filoghost.holographicdisplays.api.Position
-
Returns a new Vector derived from this position.
U
- unregisterPlaceholder(String) - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Unregisters the placeholder with a given identifier.
- unregisterPlaceholders() - Method in interface me.filoghost.holographicdisplays.api.HolographicDisplaysAPI
-
Unregisters all placeholders.
V
- valueOf(String) - Static method in enum me.filoghost.holographicdisplays.api.hologram.PlaceholderSetting
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum me.filoghost.holographicdisplays.api.hologram.VisibilitySettings.Visibility
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum me.filoghost.holographicdisplays.api.hologram.PlaceholderSetting
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum me.filoghost.holographicdisplays.api.hologram.VisibilitySettings.Visibility
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VisibilitySettings - Interface in me.filoghost.holographicdisplays.api.hologram
-
Settings to manage the visibility of a hologram to players.
- VisibilitySettings.Visibility - Enum in me.filoghost.holographicdisplays.api.hologram
-
The visibility status of a hologram, which can be set both globally and for individual players.
- VISIBLE - Enum constant in enum me.filoghost.holographicdisplays.api.hologram.VisibilitySettings.Visibility
-
The hologram is visible.
All Classes and Interfaces|All Packages