![]() |
VOOZH | about |
Timelines control game behavior and visuals based on the absolute day time through environment attributes.
linear. Note that easing only has an effect for attributes which support interpolation.
override.period_ticks (if specified) which defines the tick within the period at which the keyframe's value will be active./time command. Defaults to false.An easing type specifies the interpolation easing between keyframes of an attribute track.
Two easing types are available which do not interpolate into or out from keyframes:
| Easing type | Behavior |
|---|---|
constant
|
Always selects the value from the previous keyframe. |
linear
|
Linearly interpolates between the previous and next keyframes, also known as lerp. |
The rest of the easing types are all variations of a set of interpolation kinds, resized and moved to fit each segment of the track. Each is available in three forms; in_, out_, and in_out_. in_ applies the easing from the value of a keyframe after it's been passed, out_ applies the easing into the value of a keyframe before it's been passed, and in_out_ combines the two and applies the easing both from a keyframe and into the next one.
The types of easing which support in_, out_, and in_out_ are as follows:
| Interpolation kind | Ease in | Ease out | Ease in and out | Easing behavior | Ease-out formula |
|---|---|---|---|---|---|
back
|
in_back
|
out_back
|
in_out_back
|
Pulls back beyond the target value before easing into it. | |
bounce
|
in_bounce
|
out_bounce
|
in_out_bounce
|
Bounces against the target value 3 times before stopping. | |
circ
|
in_circ
|
out_circ
|
in_out_circ
|
Uses a circular curve to ease into the target value. | |
elastic
|
in_elastic
|
out_elastic
|
in_out_elastic
|
Wobbles around the target value 4 times. | |
sine
|
in_sine
|
out_sine
|
in_out_sine
|
Eases into the target value with a sinusoidal curve. | |
quad
|
in_quad
|
out_quad
|
in_out_quad
|
A quadratic curve with its origin at the target value. | |
cubic
|
in_cubic
|
out_cubic
|
in_out_cubic
|
A cubic curve with its origin at the target value. | |
quart
|
in_quart
|
out_quart
|
in_out_quart
|
A quartic curve with its origin at the target value. | |
quint
|
in_quint
|
out_quint
|
in_out_quint
|
A quintic curve with its origin at the target value. | |
expo
|
in_expo
|
out_expo
|
in_out_expo
|
An exponential curve with its origin at the starting value. |
| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.21.11 | 25w45a | Added timelines to data packs. | |||||
| 26.1 | snap3 | Added a clock field | |||||
Added an optional time_markers field | |||||||