BetterModel
Toggle table of contents
1.14.0
api
Target filter
api
Switch theme
Search in API
Skip to content
BetterModel
api
/
kr.toxicity.model.api.script
/
TimeScript
Time
Script
class
TimeScript
:
Record
,
AnimationScript
,
Timed
Script with time
Parameters
time
time
script
source script
Members
Constructors
Time
Script
Link copied to clipboard
constructor
(
)
Properties
EMPTY
Link copied to clipboard
val
EMPTY
:
AnimationScript
Empty script
val
EMPTY
:
TimeScript
Functions
accept
Link copied to clipboard
abstract
fun
accept
(
p
:
T
)
open
fun
accept
(
@
NotNull
tracker
:
@
NotNull
Tracker
)
and
Then
Link copied to clipboard
open
fun
andThen
(
after
:
Consumer
<
in
T
>
)
:
Consumer
<
T
>
compare
To
Link copied to clipboard
abstract
fun
compareTo
(
p
:
T
)
:
Int
open
fun
compareTo
(
@
NotNull
o
:
@
NotNull
Timed
)
:
Int
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
is
Sync
Link copied to clipboard
open
fun
isSync
(
)
:
Boolean
Checks this script should be called in tick thread
of
Link copied to clipboard
@
NotNull
open
fun
of
(
@
NotNull
scriptList
:
@
NotNull
List
<
AnimationScript
>
)
:
@
NotNull
AnimationScript
Sums a script list to one
@
NotNull
open
fun
of
(
@
NotNull
source
:
@
NotNull
Consumer
<
Tracker
>
)
:
@
NotNull
AnimationScript
@
NotNull
open
fun
of
(
isSync
:
Boolean
,
@
NotNull
source
:
@
NotNull
Consumer
<
Tracker
>
)
:
@
NotNull
AnimationScript
Creates script
time
Link copied to clipboard
abstract
fun
time
(
)
:
Float
Gets time
@
NotNull
open
fun
time
(
newTime
:
Float
)
:
@
NotNull
TimeScript
Creates a timed script
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String