Added base examples
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user