HudObjectType
A type of HUD element
Parameters
clazz
object's class
name
object's name
function
object's render function
<T>
object type
See also
Constructors
Link copied to clipboard
constructor(@NotNull clazz: @NotNull Class<T>, @NotNull name: @NotNull String, @NotNull function: @NotNull BiFunction<T, HudPlayer, HudComponentSupplier<T>>, @NotNull stringGetter: @NotNull (String) -> T, @NotNull valuesSupplier: @NotNull Supplier<Collection<T>>)