LazyFloatProvider

@ApiStatus.Internal
class LazyFloatProvider

Lazy float provider

Constructors

Link copied to clipboard
constructor(requiredTime: Long)
Creates from time
constructor(requiredTime: Float)
Creates from time
constructor(@NotNull requiredTime: @NotNull FloatSupplier)
Creates from time supplier

Functions

Link copied to clipboard
@NotNull
open fun ofVector(tick: Long, @NotNull requiredTime: @NotNull FloatSupplier, @NotNull delegate: @NotNull Supplier<Vector3f>): @NotNull Supplier<Vector3f>
Gets lazy provider of vector
Link copied to clipboard
open fun updateAndGet(updateValue: Float): Float
Updates and gets float