Updated
This commit is contained in:
59
source/behavior/entities/format/components/anger_level.json
Normal file
59
source/behavior/entities/format/components/anger_level.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.anger_level",
|
||||
"type": "object",
|
||||
"title": "Angry",
|
||||
"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,
|
||||
"description": "Anger boost applied to angry threshold when mob gets angry"
|
||||
},
|
||||
"angry_threshold": {
|
||||
"title": "Angry Threshold",
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"default": 80,
|
||||
"description": "Threshold that define when the mob is considered angry at a nuisance"
|
||||
},
|
||||
"default_annoyingness": {
|
||||
"title": "Default Annoyingness",
|
||||
"type": "string",
|
||||
"default": "0",
|
||||
"description": "The default amount of annoyingness for any given nuisance. Specifies how much to raise anger level on each provocation"
|
||||
},
|
||||
"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",
|
||||
"description": "Filter that is applied to determine if a mob can be a nuisance"
|
||||
},
|
||||
"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,
|
||||
"description": "Defines if the mob should remove target if it falls below 'angry' threshold"
|
||||
}
|
||||
},
|
||||
"examples": []
|
||||
}
|
||||
@@ -6,6 +6,13 @@
|
||||
"title": "Health",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {},
|
||||
"properties": {
|
||||
"interval": {
|
||||
"title": "Interval",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"$ref": "../../../../molang/number.json"
|
||||
}
|
||||
},
|
||||
"examples": [{}]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user