public interface HologramLine
| Modifier and Type | Interface and Description |
|---|---|
static class |
HologramLine.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HologramLine.Builder |
builder()
Returns a new
HologramLine.Builder. |
static HologramLine |
fixed(String text)
Returns a hologram line that doesn't change between players.
|
static HologramLine |
fromFunction(Function<org.bukkit.entity.Player,String> function) |
String |
resolve(org.bukkit.entity.Player viewer)
Gets the string representation of the line, for the given player.
|
static HologramLine.Builder builder()
HologramLine.Builder.@Nonnull static HologramLine fixed(@Nonnull String text)
text - the text to display@Nonnull static HologramLine fromFunction(@Nonnull Function<org.bukkit.entity.Player,String> function)
Copyright © 2022. All rights reserved.