Files

56 lines
2.4 KiB
JSON
Raw Permalink Normal View History

2021-11-16 13:40:11 +01:00
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_events",
"type": "object",
"title": "Emitter Lifetime Events Component For 1.10.0",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-11-16 13:40:11 +01:00
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"properties": {
"creation_event": {
"title": "Creation Event",
2022-07-22 19:41:04 +02:00
"description": "Fires when the emitter is created.",
2021-11-16 13:40:11 +01:00
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
},
"expiration_event": {
"title": "Expiration Event",
2022-07-22 19:41:04 +02:00
"description": "Fires when the emitter expires (does not wait for particles to expire too).",
2021-11-16 13:40:11 +01:00
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
},
"timeline": {
"title": "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`",
"propertyNames": { "pattern": "^[\\d\\.]+$" },
"additionalProperties": {
"title": "Timeline Object",
2022-07-22 19:41:04 +02:00
"description": "A single point in time that executes commands/molang/events.",
2021-11-16 13:40:11 +01:00
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
}
},
"travel_distance_events": {
"title": "Travel Distance Events",
"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`",
"propertyNames": { "pattern": "^[\\d\\.]+$" }
},
"looping_travel_distance_events": {
"title": "Looping Travel Distance Events",
"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",
"title": "Distance Event",
"additionalProperties": false,
"properties": {
2022-07-22 19:41:04 +02:00
"distance": { "title": "Distance", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "type": "number" },
2021-11-16 13:40:11 +01:00
"effects": {
"title": "Effects",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-11-16 13:40:11 +01:00
"$comment": "UNDOCUMENTED",
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
}
}
}
}
}
}