Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/components/minecraft.spawn_entity.json

38 lines
2.3 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.spawn_entity",
2020-11-01 17:22:42 +01:00
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Spawn Entity 1.8.0",
2020-11-01 17:22:42 +01:00
"additionalProperties": false,
"required": [],
"properties": {
2021-03-21 15:18:38 +01:00
"should_leash": { "type": "boolean", "default": false, "description": "If true, this the spawned entity will be leashed to the parent", "title": "TODO Title" },
"num_to_spawn": { "type": "integer", "default": 1, "description": "The number of entities of this type to spawn each time that this triggers", "title": "TODO Title" },
2020-11-01 17:22:42 +01:00
"min_wait_time": {
"type": "integer",
"default": 300,
"description": "Minimum amount of time to randomly wait in seconds before another entity is spawned",
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
},
"max_wait_time": {
"type": "integer",
"default": 600,
"description": "Maximum amount of time to randomly wait in seconds before another entity is spawned",
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"spawn_sound": { "type": "string", "default": "plop", "description": "Identifier of the sound effect to play when the entity is spawned", "title": "TODO Title" },
"spawn_item": { "type": "string", "default": "egg", "description": "Item identifier of the item to spawn", "title": "TODO Title" },
2020-11-01 17:22:42 +01:00
"spawn_entity": {
"type": "string",
"default": "",
"description": "Identifier of the entity to spawn, leave empty to spawn the item defined above instead",
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"spawn_method": { "type": "string", "default": "born", "description": "Method to use to spawn the entity", "title": "TODO Title" },
"spawn_event": { "type": "string", "default": "minecraft:entity_born", "description": "Event to call when the entity is spawned", "title": "TODO Title" },
"filters": { "description": "If present, the specified entity will only spawn if the filter evaluates to true", "$ref": "../filters.json", "title": "TODO Title" },
"single_use": { "type": "boolean", "default": false, "description": "If true, this component will only ever spawn the specified entity once", "title": "TODO Title" }
2020-11-01 17:22:42 +01:00
},
"description": "Adds a timer after which this entity will spawn another entity or item (similar to vanilla's chicken's egg-laying behavior)."
}