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

43 lines
1.8 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.panic",
2020-11-01 17:22:42 +01:00
"description": "Allows the mob to enter the panic state, which makes it run around and away from the damage source that made it enter this state.",
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Panic 1.8.0",
2020-11-01 17:22:42 +01:00
"additionalProperties": false,
"required": [],
"properties": {
2021-06-03 14:11:45 +02:00
"priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
2020-11-01 17:22:42 +01:00
"damage_sources": {
"type": "array",
2021-03-21 15:18:38 +01:00
"items": { "$ref": "../../../../general/entity_damage.json" },
2020-11-01 17:22:42 +01:00
"description": "The list of Entity Damage Sources that will cause this mob to panic",
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
},
"force": {
"type": "boolean",
"default": false,
"description": "If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it",
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
},
"ignore_mob_damage": {
"type": "boolean",
"default": false,
"description": "If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in \"damage_sources\"",
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
"prefer_water": { "type": "boolean", "default": false, "description": "If true, the mob will prefer water over land", "title": "TODO Title" },
"panic_sound": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
2020-11-01 17:22:42 +01:00
"sound_interval": {
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
2021-03-21 15:18:38 +01:00
"range_min": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"range_max": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
2020-11-01 17:22:42 +01:00
},
"additionalProperties": false
}
}
}