Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/anger_level.json

66 lines
2.3 KiB
JSON
Raw Normal View History

2022-06-08 21:18:47 +02:00
{
"$id": "blockception.minecraft.behavior.entities.minecraft.anger_level",
"type": "object",
"title": "Anger Level",
2022-06-08 21:18:47 +02:00
"description": "Allows this entity to track anger towards a set of nuisances",
"additionalProperties": false,
"required": [],
"properties": {
"anger_decrement_interval": {
"title": "Anger Decrement Interval",
"type": "number",
"default": 1.0,
"description": "Anger level will decay over time. Defines how often anger towards all nuisances will be decreased by one"
},
"angry_boost": {
"title": "Angry Boost",
"type": "integer",
"minimum": 0,
"default": 20,
2022-07-22 19:41:04 +02:00
"description": "Anger boost applied to angry threshold when mob gets angry."
2022-06-08 21:18:47 +02:00
},
"angry_threshold": {
"title": "Angry Threshold",
"type": "integer",
"minimum": 0,
"default": 80,
2022-07-22 19:41:04 +02:00
"description": "Threshold that define when the mob is considered angry at a nuisance."
2022-06-08 21:18:47 +02:00
},
"default_annoyingness": {
"title": "Default Annoyingness",
"type": "number",
"default": 0,
2022-06-08 21:18:47 +02:00
"description": "The default amount of annoyingness for any given nuisance. Specifies how much to raise anger level on each provocation"
},
"default_projectile_annoyingness": {
"title": "Default Projectile Annoyingness",
"type": "number",
"default": 0,
"description": "The default amount of annoyingness for projectile nuisance. Specifies how much to raise anger level on each provocation"
},
2022-06-08 21:18:47 +02:00
"max_anger": {
"title": "Maximum Anger",
"type": "integer",
"default": 100,
"minimum": 0,
"description": "The maximum anger level that can be reached. Applies to any nuisance"
},
"nuisance_filter": {
"title": "Nuisance Filter",
"$ref": "../../filters/filters.json",
2022-07-22 19:41:04 +02:00
"description": "Filter that is applied to determine if a mob can be a nuisance."
2022-06-08 21:18:47 +02:00
},
"on_increase_sounds": {
"title": "On Increase Sounds",
"$ref": "../../filters/filters.json"
},
"remove_targets_below_angry_threshold": {
"title": "Remove Targets Below Angry Threshold",
"type": "boolean",
"default": true,
2022-07-22 19:41:04 +02:00
"description": "Defines if the mob should remove target if it falls below 'angry' threshold."
2022-06-08 21:18:47 +02:00
}
},
"examples": []
}