Added base examples
This commit is contained in:
@@ -6,12 +6,22 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"damage_sources": {
|
||||
"type": "array",
|
||||
"items": { "$ref": "../../../../general/entity/damage_source.json" },
|
||||
"default": [["all"]],
|
||||
"items": {
|
||||
"$ref": "../../../../general/entity/damage_source.json"
|
||||
},
|
||||
"default": [
|
||||
[
|
||||
"all"
|
||||
]
|
||||
],
|
||||
"description": "The list of Entity Damage Sources that will cause this mob to panic",
|
||||
"title": "Damage Sources"
|
||||
},
|
||||
@@ -27,7 +37,12 @@
|
||||
"description": "If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`",
|
||||
"title": "Ignore Mob Damage"
|
||||
},
|
||||
"prefer_water": { "type": "boolean", "default": false, "description": "If true, the mob will prefer water over land", "title": "Prefer Water" },
|
||||
"prefer_water": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will prefer water over land",
|
||||
"title": "Prefer Water"
|
||||
},
|
||||
"panic_sound": {
|
||||
"type": "string",
|
||||
"description": "UNDOCUMENTED",
|
||||
@@ -55,5 +70,15 @@
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"damage_sources": [],
|
||||
"force": false,
|
||||
"ignore_mob_damage": false,
|
||||
"prefer_water": false,
|
||||
"panic_sound": "example",
|
||||
"sound_interval": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user