invoke

@ApiStatus.Internal
@NotNull
open fun invoke(@NotNull object: @NotNull HudObject, @NotNull player: @NotNull HudPlayer): @NotNull HudComponentSupplier<out Any>

Gets supplier from an object

Return

supplier

Parameters

object

target object

player

target player