show

public static void show(Player player, ActionBarCompositor.Source source, String message)

Publishes a message for the source's normal lifetime, extended when the text needs longer to read. Explicit-duration publications are never adjusted.


public static void show(Player player, ActionBarCompositor.Source source, String message, long durationTicks)

Publishes a transient message for an explicit number of server ticks.

Parameters

durationTicks

positive lifetime in ticks