- Notifications
You must be signed in to change notification settings - Fork 1
API Reference
wjddusrb03 edited this page Mar 29, 2026
·
1 revision
All API access starts from the static DisplayAPI class.
DisplayAPI.text(Location) → TextDisplayBuilderDisplayAPI.block(Location) → BlockDisplayBuilderDisplayAPI.item(Location) → ItemDisplayBuilderDisplayAPI.popup(Location) → PopupBuilderDisplayAPI.interactive(Location) → InteractiveBuilderDisplayAPI.animate(SpawnedDisplay) → AnimationBuilderDisplayAPI.follow(SpawnedDisplay, Entity) → FollowDisplayDisplayAPI.leaderboard(Location) → LeaderboardDisplayAPI.group(Stringid, Location) → DisplayGroupDisplayAPI.getById(Stringid) → SpawnedDisplayDisplayAPI.remove(Stringid) → voidDisplayAPI.removeAll() → voidDisplayAPI.getManager() → DisplayManagerDisplayAPI.getPersistenceManager() → PersistenceManagerDisplayAPI.getPlugin() → PluginDisplayAPI.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)