@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
348 lines • 12.8 kB
JSON
{
"fields": [
{
"id": "summon_choices",
"title": "Summon Choices",
"description": "List of spells for the mob to use to summon entities. Each spell has the following parameters:",
"dataType": 15,
"subForm": {
"description": "List of spells for the mob to use to summon entities. Each spell has the following parameters:",
"fields": [
{
"id": "cast_duration",
"title": "Cast Duration",
"description": "Time in seconds the spell casting will take",
"dataType": 3
},
{
"id": "cooldown_time",
"title": "Cooldown Time",
"description": "Time in seconds the mob has to wait before using the spell again",
"defaultValue": 0,
"dataType": 3
},
{
"id": "do_casting",
"title": "Do Casting",
"description": "If true, the mob will do the casting animations and render spell particles",
"defaultValue": true,
"dataType": 1
},
{
"id": "filters",
"title": "Filters",
"dataType": 20
},
{
"id": "max_activation_range",
"title": "Max Activation Range",
"description": "Upper bound of the activation distance in blocks for this spell, must not be negative.",
"defaultValue": 32,
"dataType": 3
},
{
"id": "min_activation_range",
"title": "Min Activation Range",
"description": "Lower bound of the activation distance in blocks for this spell, must not be negative.",
"defaultValue": 1,
"dataType": 3
},
{
"id": "particle_color",
"title": "Particle Color",
"description": "The color of the particles for this spell",
"defaultValue": 0,
"dataType": 0
},
{
"id": "sequence",
"title": "Sequence",
"description": "List of steps for the spell. Each step has the following parameters:",
"dataType": 15,
"subForm": {
"description": "List of steps for the spell. Each step has the following parameters:",
"fields": [
{
"id": "base_delay",
"title": "Base Delay",
"description": "Amount of time in seconds to wait before this step starts",
"defaultValue": 0,
"dataType": 3
},
{
"id": "delay_per_summon",
"title": "Delay Per Summon",
"description": "Amount of time in seconds before each entity is summoned in this step",
"defaultValue": 0,
"dataType": 3
},
{
"id": "entity_lifespan",
"title": "Entity Lifespan",
"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",
"defaultValue": -1,
"dataType": 3
},
{
"id": "entity_type",
"title": "Entity Type",
"description": "The entity type of the entities we will spawn in this step",
"dataType": 2
},
{
"id": "num_entities_spawned",
"title": "Num Entities Spawned",
"description": "Number of entities that will be spawned in this step",
"defaultValue": 1,
"dataType": 0
},
{
"id": "shape",
"title": "Shape",
"description": "The base shape of this step. Valid values are circle and line",
"defaultValue": "line",
"dataType": 2
},
{
"id": "size",
"title": "Size",
"description": "The base size of the entity",
"defaultValue": 1,
"dataType": 3
},
{
"id": "sound_event",
"title": "Sound Event",
"description": "The sound event to play for this step",
"dataType": 22
},
{
"id": "summon_cap",
"title": "Summon Cap",
"description": "Maximum number of summoned entities at any given time",
"defaultValue": 0,
"dataType": 0
},
{
"id": "summon_cap_radius",
"title": "Summon Cap Radius",
"defaultValue": 0,
"dataType": 3
},
{
"id": "summon_event",
"title": "Summon Event",
"description": "Event to invoke on each summoned entity on spawn",
"dataType": 22
},
{
"id": "target",
"title": "Target",
"description": "The target of the spell. This is where the spell will start (line will start here, circle will be centered here)",
"defaultValue": "self",
"dataType": 2
}
]
}
},
{
"id": "start_sound_event",
"title": "Start Sound Event",
"description": "The sound event to play when using this spell",
"dataType": 2
},
{
"id": "weight",
"title": "Weight",
"description": "The weight of this spell. Controls how likely the mob is to choose this spell when casting one",
"defaultValue": 0,
"dataType": 3
}
]
},
"samples": {
"/vanilla/behavior_pack/entities/evocation_illager.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.summon_entity/",
"content": [
{
"min_activation_range": 0,
"max_activation_range": 3,
"cooldown_time": 5,
"weight": 3,
"cast_duration": 2,
"particle_color": "#FF664D59",
"start_sound_event": "cast.spell",
"sequence": [
{
"shape": "circle",
"target": "self",
"base_delay": 1,
"delay_per_summon": 0,
"num_entities_spawned": 5,
"entity_type": "minecraft:evocation_fang",
"size": 1.5,
"entity_lifespan": 1.1,
"sound_event": "prepare.attack"
},
{
"shape": "circle",
"target": "self",
"base_delay": 0.15,
"delay_per_summon": 0,
"num_entities_spawned": 8,
"entity_type": "minecraft:evocation_fang",
"size": 2.5,
"entity_lifespan": 1.1
}
]
},
{
"min_activation_range": 3,
"weight": 3,
"cooldown_time": 5,
"cast_duration": 2,
"particle_color": "#FF664D59",
"start_sound_event": "cast.spell",
"sequence": [
{
"shape": "line",
"target": "self",
"base_delay": 1,
"delay_per_summon": 0.05,
"num_entities_spawned": 16,
"entity_type": "minecraft:evocation_fang",
"size": 20,
"entity_lifespan": 1.1
}
]
},
{
"weight": 1,
"cooldown_time": 17,
"cast_duration": 5,
"particle_color": "#FFB3B3CC",
"sequence": [
{
"shape": "circle",
"target": "self",
"base_delay": 5,
"num_entities_spawned": 3,
"entity_type": "minecraft:vex",
"summon_cap": 8,
"summon_cap_radius": 16,
"size": 1,
"sound_event": "prepare.summon",
"summon_event": "minecraft:add_damage_timer"
}
]
}
]
}
]
}
},
{
"id": "priority",
"title": "Priority",
"hideSamples": true,
"description": "As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal.",
"dataType": 0,
"samples": {
"/vanilla/behavior_pack/entities/evocation_illager.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.summon_entity/",
"content": 2
}
]
}
}
],
"description": "Allows the mob to attack the player by summoning other entities.",
"title": "Summon Entity Behavior",
"samples": {
"/vanilla/behavior_pack/entities/evocation_illager.json": [
{
"path": "/minecraft:entity/components/minecraft:behavior.summon_entity/",
"content": {
"priority": 2,
"summon_choices": [
{
"min_activation_range": 0,
"max_activation_range": 3,
"cooldown_time": 5,
"weight": 3,
"cast_duration": 2,
"particle_color": "#FF664D59",
"start_sound_event": "cast.spell",
"sequence": [
{
"shape": "circle",
"target": "self",
"base_delay": 1,
"delay_per_summon": 0,
"num_entities_spawned": 5,
"entity_type": "minecraft:evocation_fang",
"size": 1.5,
"entity_lifespan": 1.1,
"sound_event": "prepare.attack"
},
{
"shape": "circle",
"target": "self",
"base_delay": 0.15,
"delay_per_summon": 0,
"num_entities_spawned": 8,
"entity_type": "minecraft:evocation_fang",
"size": 2.5,
"entity_lifespan": 1.1
}
]
},
{
"min_activation_range": 3,
"weight": 3,
"cooldown_time": 5,
"cast_duration": 2,
"particle_color": "#FF664D59",
"start_sound_event": "cast.spell",
"sequence": [
{
"shape": "line",
"target": "self",
"base_delay": 1,
"delay_per_summon": 0.05,
"num_entities_spawned": 16,
"entity_type": "minecraft:evocation_fang",
"size": 20,
"entity_lifespan": 1.1
}
]
},
{
"weight": 1,
"cooldown_time": 17,
"cast_duration": 5,
"particle_color": "#FFB3B3CC",
"sequence": [
{
"shape": "circle",
"target": "self",
"base_delay": 5,
"num_entities_spawned": 3,
"entity_type": "minecraft:vex",
"summon_cap": 8,
"summon_cap_radius": 16,
"size": 1,
"sound_event": "prepare.summon",
"summon_event": "minecraft:add_damage_timer"
}
]
}
]
}
}
]
},
"id": "minecraft:behavior.summon_entity"
}