HudTrigger

interface HudTrigger<T>

Represents the popup trigger

Parameters

<T>

event type

Functions

Link copied to clipboard
@NotNull
abstract fun getKey(t: T): @NotNull Any
Gets the unique key.
Link copied to clipboard
abstract fun registerEvent(@NotNull eventConsumer: @NotNull BiConsumer<UUID, UpdateEvent>)
Register some event handler at this trigger.