# IPedestalHologram
> Interface for managing the hologram display above a pedestal.
`gg.lode.observerapi.api.data.pedestals`
---
## Signature
```java
public interface IPedestalHologram
```
---
## Nested Types
### CustomLinePosition
```java
public enum CustomLinePosition
```
| Constant | Description |
|----------|-------------|
| `BEFORE_TITLE` | Before the title |
| `AFTER_TITLE` | After the title, before ingredients |
| `AFTER_INGREDIENTS` | After the ingredients |
---
## Methods
### despawn
```java
void despawn()
```
Despawns the hologram, removing it from the world.
---
### hide
```java
void hide(Player player)
```
Hides the hologram from a specific player.
| Parameter | Type | Description |
|-----------|------|-------------|
| `player` | `Player` | The player to hide the hologram from |
---
### show
```java
void show(Player player)
```
Shows the hologram to a specific player.
| Parameter | Type | Description |
|-----------|------|-------------|
| `player` | `Player` | The player to show the hologram to |
---
### isAvailableFor
```java
boolean isAvailableFor(Player player)
```
**Returns:** `boolean` - `true` if the pedestal is available for the given player
---
### relocate
```java
void relocate(Location location)
```
Moves the hologram to a new location.
| Parameter | Type | Description |
|-----------|------|-------------|
| `location` | `Location` | The new location |
---
### setCustomLines
```java
void setCustomLines(@NotNull CustomLinePosition position, @Nullable List<Component> lines)
```
Sets custom lines at the specified position, or clears them if `null`/empty.
| Parameter | Type | Description |
|-----------|------|-------------|
| `position` | `CustomLinePosition` | Where to place the lines |
| `lines` | `@Nullable List<Component>` | The custom lines to insert |
---
### getCustomLines
```java
@Nullable List<Component> getCustomLines(@NotNull CustomLinePosition position)
```
**Returns:** `@Nullable List<Component>` - the custom lines at the specified position, or `null` if none
---
### addCustomLine
```java
void addCustomLine(@NotNull CustomLinePosition position, @NotNull Component line)
```
Adds a single custom line at the specified position.
| Parameter | Type | Description |
|-----------|------|-------------|
| `position` | `CustomLinePosition` | Where to place the line |
| `line` | `Component` | The text component to add |
---
### clearCustomLines
```java
void clearCustomLines(@NotNull CustomLinePosition position)
```
Clears all custom lines at the specified position.
| Parameter | Type | Description |
|-----------|------|-------------|
| `position` | `CustomLinePosition` | The position to clear |
---
### clearAllCustomLines
```java
void clearAllCustomLines()
```
Clears all custom lines at all positions, reverting to default display (title and ingredients only).
---
### updateTextDisplay
```java
void updateTextDisplay()
```
Updates the text display with the current text. Automatically called when setting custom lines, but can be called manually if needed.
---
### getPedestalData
```java
PedestalData getPedestalData()
```
**Returns:** [[PedestalData]] - the pedestal data associated with this hologram
---
## Related Pages
- [[PedestalData]]
- [[IPedestalManager]]
- [[PedestalLoadEvent]]