StackedText

public final class StackedText

Explicit-viewer nameplate built from FakeText rows, ordered top to bottom. The bottom row stays anchored; extra rows grow upward. No scheduler or world entities are owned here. Settings may be changed from the packet clock; syncViewers must run on the primary thread.

Constructors

Link copied to clipboard
public void StackedText()

Functions

Link copied to clipboard
public synchronized void hideFrom(UUID id)
Link copied to clipboard
public synchronized void move(Location anchor)
Link copied to clipboard
public synchronized void remove()
Link copied to clipboard
public synchronized void setLineGap(double gap)
Clear space between rows, in blocks at text scale 1.
Link copied to clipboard
public synchronized void setLines(List<String> text)
Link copied to clipboard
public synchronized void setScale(float scale)
Link copied to clipboard
public synchronized void setVisible(boolean visible)
Link copied to clipboard
public synchronized void syncViewers(Collection<? extends Player> candidates)
Reconciles membership and current text/style without recreating unchanged rows.