HudComponentSupplier

Gets component supplier.

Parameters

<T>

parent type

Functions

Link copied to clipboard
@ApiStatus.Internal
open fun <R : HudObject?> empty(@NotNull parent: @NotNull R): @NotNull HudComponentSupplier<R>
Creates empty supplier by parent
Link copied to clipboard
abstract fun get(): T
Link copied to clipboard
@ApiStatus.Internal
open fun <R : HudObject?> of(@NotNull parent: @NotNull R, @NotNull supplier: @NotNull Supplier<List<WidthComponent>>): @NotNull HudComponentSupplier<R>
Creates supplier by parent
Link copied to clipboard
@NotNull
abstract fun parent(): @NotNull T
Gets parent.