Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.panic.json
2021-06-06 10:07:19 +00:00

43 lines
1.8 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.panic",
"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",
"title": "Panic 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"damage_sources": {
"type": "array",
"items": { "$ref": "../../../../general/entity_damage.json" },
"description": "The list of Entity Damage Sources that will cause this mob to panic",
"title": "TODO Title"
},
"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",
"title": "TODO Title"
},
"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\"",
"title": "TODO Title"
},
"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" },
"sound_interval": {
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"range_min": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"range_max": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
},
"additionalProperties": false
}
}
}