{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_events", "type": "object", "title": "The emitter lifetime events component for 1.10.0", "description": "TODO", "additionalProperties": false, "properties": { "creation_event": { "title": "Creation event", "description": "Fires when the emitter is created", "oneOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] }, "expiration_event": { "title": "Expiration event", "description": "Fires when the emitter expires (does not wait for particles to expire too)", "oneOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] }, "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", "description": "A single point in time that executes commands/molang/events", "oneOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] }, "title": "TODO title" }, "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": { "distance": { "title": "Distance", "description": "TODO", "type": "number" }, "effects": { "title": "Effects", "description": "TODO", "oneOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] } } } } } }