BetterModel
Toggle table of contents
1.11.5-SNAPSHOT-344
api
Platform filter
api
Switch theme
Search in API
BetterModel
api
/
kr.toxicity.model.api.util.lazy
/
LazyFloatProvider
Lazy
Float
Provider
@
ApiStatus.Internal
class
LazyFloatProvider
Lazy float provider
Members
Constructors
Lazy
Float
Provider
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
constructor
(
initialValue
:
Float
,
@
NotNull
requiredTime
:
@
NotNull
FloatSupplier
)
Creates from time supplier
Functions
of
Vector
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
stored
Value
Link copied to clipboard
open
fun
storedValue
(
storedValue
:
Float
)
Sets stored value
update
And
Get
Link copied to clipboard
open
fun
updateAndGet
(
updateValue
:
Float
)
:
Float
Updates and gets float