2020-11-01 17:22:42 +01:00
{
"$schema" : "http://json-schema.org/draft-07/schema" ,
"$id" : "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_events" ,
"type" : "object" ,
2021-03-21 15:18:38 +01:00
"title" : "Emitter Lifetime Events Component For 1.10.0" ,
2020-11-01 17:22:42 +01:00
"description" : "TODO" ,
"additionalProperties" : false ,
"properties" : {
"creation_event" : {
2021-03-21 15:18:38 +01:00
"title" : "Creation Event" ,
2020-11-01 17:22:42 +01:00
"description" : "Fires when the emitter is created" ,
2021-03-21 15:18:38 +01:00
"oneOf" : [ { "type" : "array" , "items" : { "type" : "string" } } , { "type" : "string" } ]
2020-11-01 17:22:42 +01:00
} ,
"expiration_event" : {
2021-03-21 15:18:38 +01:00
"title" : "Expiration Event" ,
2020-11-01 17:22:42 +01:00
"description" : "Fires when the emitter expires (does not wait for particles to expire too)" ,
2021-03-21 15:18:38 +01:00
"oneOf" : [ { "type" : "array" , "items" : { "type" : "string" } } , { "type" : "string" } ]
2020-11-01 17:22:42 +01:00
} ,
"timeline" : {
"type" : "object" ,
"description" : "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\"" ,
2021-03-21 15:18:38 +01:00
"propertyNames" : { "pattern" : "^[\\d\\.]+$" } ,
2020-11-01 17:22:42 +01:00
"additionalProperties" : {
2021-03-21 15:18:38 +01:00
"title" : "Timeline Object" ,
2020-11-01 17:22:42 +01:00
"description" : "A single point in time that executes commands/molang/events" ,
2021-03-21 15:18:38 +01:00
"oneOf" : [ { "type" : "array" , "items" : { "type" : "string" } } , { "type" : "string" } ]
2020-11-01 17:22:42 +01:00
} ,
2021-03-21 15:18:38 +01:00
"title" : "TODO Title"
2020-11-01 17:22:42 +01:00
} ,
"travel_distance_events" : {
2021-03-21 15:18:38 +01:00
"title" : "Travel Distance Events" ,
2020-11-01 17:22:42 +01:00
"description" : "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\"" ,
2021-03-21 15:18:38 +01:00
"propertyNames" : { "pattern" : "^[\\d\\.]+$" }
2020-11-01 17:22:42 +01:00
} ,
"looping_travel_distance_events" : {
2021-03-21 15:18:38 +01:00
"title" : "Looping Travel Distance Events" ,
2020-11-01 17:22:42 +01:00
"description" : "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." ,
"type" : "array" ,
"items" : {
"type" : "object" ,
2021-03-21 15:18:38 +01:00
"title" : "Distance Event" ,
2020-11-01 17:22:42 +01:00
"additionalProperties" : false ,
"properties" : {
2021-03-21 15:18:38 +01:00
"distance" : { "title" : "Distance" , "description" : "TODO" , "type" : "number" } ,
"effects" : { "title" : "Effects" , "description" : "TODO" , "oneOf" : [ { "type" : "array" , "items" : { "type" : "string" } } , { "type" : "string" } ] }
2020-11-01 17:22:42 +01:00
}
}
}
}
}