Using it

Holograms and floating rewards

Bound crate blocks get a hologram, a floating reward that cycles through the crate's rewards, and idle particles. All three use display entities.

holograms:
  # PER_PLAYER: each player sees their own keys and price.
  # STATIC: one shared hologram per crate block (no per-player numbers).
  # DISABLED: no holograms.
  mode: PER_PLAYER
  # Holograms, the showcase and idle particles appear within this distance.
  view-distance: 12.0
  title: "<bold>{crate}</bold>"
  lines:
    - "<#8A93A3>{reward-count} rewards"
    - "{status}"
    - "<#55FFB3>{hint}"

Placeholders in hologram text: {crate} {status} {hint} {keys} {opens} {price} {currency} {reward-count} {player}. A crate can set its own hologram.title and hologram.lines in its file. The status and hint texts are in config.yml under holograms.status and holograms.hint.

showcase:
  enabled: true
  # Seconds each reward is shown.
  cycle-seconds: 2
  height: 1.6
  scale: 0.8
  bob: 0.08
  # Idle particles circling the block ("none" = off). Per crate: showcase.particle.
  particle: END_ROD

A crate can turn the showcase off or change the particle with showcase.enabled and showcase.particle in its own file.