@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
287 lines • 9.01 kB
JSON
{
"fields": [
{
"id": "baby_knockback_modifier",
"title": "Baby Knockback Modifier",
"description": "The modifier to knockback that babies have.",
"defaultValue": 0.333333,
"dataType": 3
},
{
"id": "cooldown_range",
"title": "Cooldown Range",
"description": "Minimum and maximum cooldown time-range (positive, in seconds) between each attempted ram attack.",
"dataType": 18,
"samples": {
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/ram_default/minecraft:behavior.ram_attack/",
"content": [
30,
300
]
},
{
"path": "/minecraft:entity/component_groups/ram_screamer/minecraft:behavior.ram_attack/",
"content": [
5,
15
]
}
]
}
},
{
"id": "knockback_force",
"title": "Knockback Force",
"description": "The force of the knockback of the ram attack.",
"defaultValue": 5,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/ram_default/minecraft:behavior.ram_attack/",
"content": 2.5
},
{
"path": "/minecraft:entity/component_groups/ram_screamer/minecraft:behavior.ram_attack/",
"content": 2.5
}
]
}
},
{
"id": "knockback_height",
"title": "Knockback Height",
"description": "The height of the knockback of the ram attack.",
"defaultValue": 0.1,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/ram_default/minecraft:behavior.ram_attack/",
"content": 0.04
},
{
"path": "/minecraft:entity/component_groups/ram_screamer/minecraft:behavior.ram_attack/",
"content": 0.04
}
]
}
},
{
"id": "min_ram_distance",
"title": "Min Ram Distance",
"description": "The minimum distance at which the mob can start a ram attack.",
"defaultValue": 4,
"dataType": 0,
"samples": {
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/ram_default/minecraft:behavior.ram_attack/",
"content": 4
},
{
"path": "/minecraft:entity/component_groups/ram_screamer/minecraft:behavior.ram_attack/",
"content": 4
}
]
}
},
{
"id": "on_start",
"title": "On Start",
"description": "The event to trigger when attacking",
"dataType": 17,
"samples": {
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/ram_default/minecraft:behavior.ram_attack/",
"content": [
{
"event": "start_event",
"target": "self"
}
]
},
{
"path": "/minecraft:entity/component_groups/ram_screamer/minecraft:behavior.ram_attack/",
"content": [
{
"event": "start_event",
"target": "self"
}
]
}
]
}
},
{
"id": "pre_ram_sound",
"title": "Pre Ram Sound",
"description": "The sound to play when an entity is about to perform a ram attack.",
"dataType": 2,
"samples": {
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/ram_default/minecraft:behavior.ram_attack/",
"content": "pre_ram"
},
{
"path": "/minecraft:entity/component_groups/ram_screamer/minecraft:behavior.ram_attack/",
"content": "pre_ram.screamer"
}
]
}
},
{
"id": "ram_distance",
"title": "Ram Distance",
"description": "The distance at which the mob start to run with ram speed.",
"defaultValue": 7,
"dataType": 0,
"samples": {
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/ram_default/minecraft:behavior.ram_attack/",
"content": 7
},
{
"path": "/minecraft:entity/component_groups/ram_screamer/minecraft:behavior.ram_attack/",
"content": 7
}
]
}
},
{
"id": "ram_impact_sound",
"title": "Ram Impact Sound",
"description": "The sound to play when an entity is impacting on a ram attack.",
"dataType": 2,
"samples": {
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/ram_default/minecraft:behavior.ram_attack/",
"content": "ram_impact"
},
{
"path": "/minecraft:entity/component_groups/ram_screamer/minecraft:behavior.ram_attack/",
"content": "ram_impact.screamer"
}
]
}
},
{
"id": "ram_speed",
"title": "Ram Speed",
"description": "Sets the entity's speed when charging toward the target.",
"defaultValue": 2,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/ram_default/minecraft:behavior.ram_attack/",
"content": 1.8
},
{
"path": "/minecraft:entity/component_groups/ram_screamer/minecraft:behavior.ram_attack/",
"content": 1.8
}
]
}
},
{
"id": "run_speed",
"title": "Run Speed",
"description": "Sets the entity's speed when running toward the target.",
"defaultValue": 1,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/ram_default/minecraft:behavior.ram_attack/",
"content": 0.7
},
{
"path": "/minecraft:entity/component_groups/ram_screamer/minecraft:behavior.ram_attack/",
"content": 0.7
}
]
}
},
{
"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/goat.json": [
{
"path": "/minecraft:entity/component_groups/ram_default/minecraft:behavior.ram_attack/",
"content": 5
},
{
"path": "/minecraft:entity/component_groups/ram_screamer/minecraft:behavior.ram_attack/",
"content": 5
}
]
}
}
],
"description": "Allows this entity to damage a target by using a running attack.",
"title": "Ram Attack Behavior",
"samples": {
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/ram_default/minecraft:behavior.ram_attack/",
"content": {
"priority": 5,
"run_speed": 0.7,
"ram_speed": 1.8,
"min_ram_distance": 4,
"ram_distance": 7,
"knockback_force": 2.5,
"knockback_height": 0.04,
"pre_ram_sound": "pre_ram",
"ram_impact_sound": "ram_impact",
"cooldown_range": [
30,
300
],
"on_start": [
{
"event": "start_event",
"target": "self"
}
]
}
},
{
"path": "/minecraft:entity/component_groups/ram_screamer/minecraft:behavior.ram_attack/",
"content": {
"priority": 5,
"run_speed": 0.7,
"ram_speed": 1.8,
"min_ram_distance": 4,
"ram_distance": 7,
"knockback_force": 2.5,
"knockback_height": 0.04,
"pre_ram_sound": "pre_ram.screamer",
"ram_impact_sound": "ram_impact.screamer",
"cooldown_range": [
5,
15
],
"on_start": [
{
"event": "start_event",
"target": "self"
}
]
}
}
]
},
"id": "minecraft:behavior.ram_attack"
}