Processed new entity data

This commit is contained in:
DaanV2
2022-09-20 19:33:11 +02:00
parent dc7caebfff
commit 0166d1c31f
6 changed files with 71 additions and 35 deletions

View File

@@ -44,10 +44,9 @@
"description": "Distance in blocks that the target can be within to launch an attack."
},
"entity_types": {
"title": "Entity Types",
"type": "object",
"description": "List of entity types that this mob considers valid targets.",
"additionalProperties": false
"$ref": "../types/entity_types.json",
"description": "List of entity types this mob will startle (cause to jump) when it sneezes.",
"title": "Entity Types"
},
"sound_chance": {
"title": "Sound Chance",

View File

@@ -40,19 +40,9 @@
"$ref": "./types/priority.json"
},
"entity_types": {
"description": "Filters which types of targets are valid for this entity.",
"title": "Entity Types",
"oneOf": [
{
"$ref": "#/definitions/entity_type"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/entity_type"
}
}
]
"$ref": "../types/entity_types.json",
"description": "List of entity types this mob will startle (cause to jump) when it sneezes.",
"title": "Entity Types"
},
"attack_interval": {
"type": "integer",

View File

@@ -9,9 +9,9 @@
"$ref": "./types/priority.json"
},
"entity_types": {
"description": "List of entity types that this mob considers valid targets.",
"title": "Entity Types",
"$ref": "../types/entity_types.json"
"$ref": "../types/entity_types.json",
"description": "List of entity types this mob will startle (cause to jump) when it sneezes.",
"title": "Entity Types"
},
"attack_interval": {
"type": "integer",
@@ -49,6 +49,12 @@
"description": "If true, the target will change to the current closest entity whenever a different entity is closer.",
"title": "Reselect Targets"
},
"reevaluate_description": {
"title": "Reevaluate Description",
"type": "boolean",
"default": false,
"description": "If true, the mob will stop being targeted if it stops meeting any conditions."
},
"scan_interval": {
"type": "integer",
"default": 10,