Files
minecraft-bedrock-json-schemas/source/behaviour/entities/1.8.0/behaviors/minecraft.behavior.summon_entity.json

69 lines
4.1 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.stay_while_sitting",
"description": "Allows the mob to attack the player by summoning other entities.",
2021-03-21 15:18:38 +01:00
"title": "Stay While Sitting 1.8.0",
2020-11-01 17:22:42 +01:00
"type": "object",
"additionalProperties": false,
"required": [],
"properties": {
2020-12-12 00:09:25 +01:00
"priority": { "$ref": "./types/base_priority.json" },
2020-11-01 17:22:42 +01:00
"summon_choices": {
"type": "array",
"description": "List of spells for the mob to use to summon entities. Each spell has the following parameters:",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
2021-03-21 15:18:38 +01:00
"cast_duration": { "type": "number", "description": "Time in seconds the spell casting will take" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the spell again" },
"do_casting": { "type": "boolean", "default": true, "description": "If true, the mob will do the casting animations and render spell particles" },
"filters": { "$ref": "../filters.json" },
"max_activation_range": { "type": "number", "default": -1, "description": "Upper bound of the activation distance in blocks for this spell" },
"min_activation_range": { "type": "number", "default": 1, "description": "Lower bound of the activation distance in blocks for this spell" },
2020-11-01 17:22:42 +01:00
"particle_color": {
"description": "The color of the particles for this spell",
2021-03-21 15:18:38 +01:00
"title": "Particle Color",
2020-11-01 17:22:42 +01:00
"oneOf": [
2021-03-21 15:18:38 +01:00
{ "type": "integer", "default": 0 },
{ "type": "string", "format": "color-hex" }
2020-11-01 17:22:42 +01:00
]
},
"sequence": {
"type": "array",
"description": "List of steps for the spell. Each step has the following parameters:",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
2021-03-21 15:18:38 +01:00
"base_delay": { "type": "number", "default": 0, "description": "Amount of time in seconds to wait before this step starts" },
"delay_per_summon": { "type": "number", "default": 0, "description": "Amount of time in seconds before each entity is summoned in this step" },
2020-11-01 17:22:42 +01:00
"entity_lifespan": {
"type": "number",
"default": -1,
"description": "Amount of time in seconds that the spawned entity will be alive for. A value of -1.0 means it will remain alive for as long as it can"
},
2021-03-21 15:18:38 +01:00
"entity_type": { "type": "string", "description": "The entity type of the entities we will spawn in this step" },
"num_entities_spawned": { "type": "integer", "default": 1, "description": "Number of entities that will be spawned in this step" },
"shape": { "type": "string", "default": "line", "description": "The base shape of this step. Valid values are circle and line" },
"size": { "type": "number", "default": 1, "description": "The base size of the entity" },
"sound_event": { "type": "string", "description": "The sound event to play for this step" },
"summon_cap": { "type": "integer", "default": 0, "description": "Maximum number of summoned entities at any given time" },
"summon_cap_radius": { "type": "number", "default": 0, "description": "" },
2020-11-01 17:22:42 +01:00
"target": {
"type": "string",
"default": "self",
"description": "The target of the spell. This is where the spell will start (line will start here, circle will be centered here)"
}
}
}
},
2021-03-21 15:18:38 +01:00
"start_sound_event": { "type": "string", "description": "The sound event to play when using this spell" },
"weight": { "type": "number", "default": 0, "description": "The weight of this spell. Controls how likely the mob is to choose this spell when casting one" }
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
}
}
}