-
Notifications
You must be signed in to change notification settings - Fork 0
API Reference
wjddusrb03 edited this page Mar 29, 2026
·
1 revision
All API access starts from the static DisplayAPI class.
DisplayAPI.text(Location) → TextDisplayBuilder
DisplayAPI.block(Location) → BlockDisplayBuilder
DisplayAPI.item(Location) → ItemDisplayBuilder
DisplayAPI.popup(Location) → PopupBuilder
DisplayAPI.interactive(Location) → InteractiveBuilder
DisplayAPI.animate(SpawnedDisplay) → AnimationBuilder
DisplayAPI.follow(SpawnedDisplay, Entity) → FollowDisplay
DisplayAPI.leaderboard(Location) → Leaderboard
DisplayAPI.group(String id, Location) → DisplayGroupDisplayAPI.getById(String id) → SpawnedDisplay
DisplayAPI.remove(String id) → void
DisplayAPI.removeAll() → void
DisplayAPI.getManager() → DisplayManager
DisplayAPI.getPersistenceManager() → PersistenceManager
DisplayAPI.getPlugin() → Plugin
DisplayAPI.getDefaultViewRange() → float| Class | Description |
|---|---|
AbstractDisplayBuilder<T> |
Base builder with common properties |
TextDisplayBuilder |
Text hologram builder |
BlockDisplayBuilder |
Block display builder |
ItemDisplayBuilder |
Item display builder |
PopupBuilder |
Animated popup builder |
InteractiveBuilder |
Clickable display builder |
| Class | Description |
|---|---|
SpawnedDisplay |
Wrapper around a spawned Display entity |
DisplayGroup |
Groups multiple displays |
InteractiveDisplay |
Display + Interaction entity pair |
FollowDisplay |
Display that follows an entity |
Leaderboard |
Auto-updating ranked display |
| Class | Description |
|---|---|
AnimationBuilder |
Builder for animations (presets + custom) |
DisplayAnimation |
Running animation controller |
Keyframe |
Single animation keyframe |
Easing |
12 easing function enum |
| Class | Description |
|---|---|
DisplayManager |
Tracks all active displays, groups, interactives |
PersistenceManager |
YAML save/load for persistent displays |
| Class | Description |
|---|---|
PlaceholderUtil |
Safe PlaceholderAPI integration |
| Class | Description |
|---|---|
DisplayListener |
Per-player visibility on join |
InteractionListener |
Routes click events to InteractiveDisplay |
com.wjddusrb03.displayapi
├── DisplayAPI.java (static entry point)
├── DisplayAPIPlugin.java (plugin main class)
├── builder/
│ ├── AbstractDisplayBuilder (base builder)
│ ├── TextDisplayBuilder
│ ├── BlockDisplayBuilder
│ ├── ItemDisplayBuilder
│ ├── PopupBuilder
│ └── InteractiveBuilder
├── display/
│ ├── SpawnedDisplay (spawned entity wrapper)
│ ├── DisplayGroup (group management)
│ ├── InteractiveDisplay (click detection)
│ ├── FollowDisplay (entity tracking)
│ └── Leaderboard (ranked display)
├── animation/
│ ├── AnimationBuilder (animation factory)
│ ├── DisplayAnimation (animation runner)
│ ├── Keyframe (animation data)
│ └── Easing (12 easing curves)
├── manager/
│ ├── DisplayManager (display tracking)
│ └── PersistenceManager (YAML persistence)
├── listener/
│ ├── DisplayListener (visibility events)
│ └── InteractionListener (click events)
├── util/
│ └── PlaceholderUtil (PlaceholderAPI)
└── command/
└── DisplayAPICommand (admin commands)