Emitter Lifetime Events Component For 1.10.0¶
文档版本:1.21.50.25
UNDOCUMENTED.
架构¶
emitter_lifetime_events:
{
array "creation_event" : opt
{
string "<any array element>" : opt
}
string "creation_event" : opt
array "expiration_event" : opt
{
string "<any array element>" : opt
}
string "expiration_event" : opt
object "timeline" : opt
{
array "^[\d\.]+$" : opt
{
string "<any array element>" : opt
}
string "^[\d\.]+$" : opt
}
"travel_distance_events" : opt
array "looping_travel_distance_events" : opt
{
object "<any array element>" : opt
{
number "distance" : opt
array "effects" : opt
{
string "<any array element>" : opt
}
string "effects" : opt
}
}
}
creation_event
:array- Fires when the emitter is created.
creation_event
<any array element>
:string
creation_event
:string- Fires when the emitter is created.
expiration_event
:array- Fires when the emitter expires (does not wait for particles to expire too).
expiration_event
<any array element>
:string
expiration_event
:string- Fires when the emitter expires (does not wait for particles to expire too).
timeline
:object- A series of times, e.g. 0.0 or 1.0, that trigger the event, these get fired on every loop the emitter goes through,
time
is the time, e.g. one line might be:0.4
:event
timeline
^[\d\.]+$
:array- A single point in time that executes commands/molang/events.
^[\d\.]+$
<any array element>
:string
^[\d\.]+$
:string- A single point in time that executes commands/molang/events.
travel_distance_events
- A series of distances, e.g. 0.0 or 1.0, that trigger the event these get fired when the emitter has moved by the specified input distance, e.g. one line might be:
0.4
:event
looping_travel_distance_events
:array- A series of events that occur at set intervals these get fired every time the emitter has moved the specified input distance from the last time it was fired.
looping_travel_distance_events
<any array element>
:object
<any array element>
distance
:number- UNDOCUMENTED.
effects
:array- UNDOCUMENTED.
effects
<any array element>
:string
effects
:string- UNDOCUMENTED.