toggle menu
BetterHud docs
1.8
standard-api
switch theme
search in API
BetterHud/api/standard-api
/
kr.toxicity.hud.api.trigger
/
HudTrigger
Hud
Trigger
interface
HudTrigger
<
T
>
Represents the popup trigger
Parameters
<T>
event type
Members
Functions
get
Key
Link copied to clipboard
@
NotNull
abstract
fun
getKey
(
t
:
T
)
:
@
NotNull
Any
Gets the unique key.
get
Value
Link copied to clipboard
@
Nullable
abstract
fun
getValue
(
t
:
T
)
:
@
Nullable
UUID
Gets the player uuid.
register
Event
Link copied to clipboard
abstract
fun
registerEvent
(
@
NotNull
eventConsumer
:
@
NotNull
BiConsumer
<
UUID
,
UpdateEvent
>
)
Register some event handler at this trigger.