Added base examples

This commit is contained in:
DaanV2
2021-10-11 18:13:12 +02:00
parent 67ccb3d2d1
commit 7ab7193fa6
150 changed files with 2627 additions and 556 deletions

View File

@@ -4,10 +4,13 @@
"type": "object",
"title": "Tempt",
"additionalProperties": false,
"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"
},
"can_get_scared": {
"type": "boolean",
"default": false,
@@ -29,7 +32,9 @@
"items": {
"type": "array",
"description": "List of items this mob is tempted by",
"items": { "$ref": "../../../../general/item/identifier.json" },
"items": {
"$ref": "../../../../general/item/identifier.json"
},
"title": "Items"
},
"within_radius": {
@@ -38,5 +43,14 @@
"description": "Distance in blocks this mob can get tempted by a player holding an item they like",
"title": "Within Radius"
}
}
},
"examples": [
{
"can_get_scared": false,
"can_tempt_while_ridden": true,
"can_tempt_vertically": true,
"items": [],
"within_radius": 0
}
]
}