of
open fun <T> of(@NotNull biFunction: @NotNull BiFunction<List<String>, UpdateEvent, (HudPlayer) -> T>): @NotNull HudPlaceholder<T>
Creates new placeholder by function.
Return
an instance of placeholder.
Parameters
biFunction
builder
<T>
return value's type.