Added base examples
This commit is contained in:
@@ -6,7 +6,9 @@
|
||||
"description": "Allows this mob to look at and follow the player that holds food they like.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "List of items that this mob likes",
|
||||
@@ -18,12 +20,26 @@
|
||||
},
|
||||
"title": "Properties"
|
||||
},
|
||||
"look_distance": { "type": "number", "default": 8, "description": "Distance in blocks the mob will beg from", "title": "Look Distance" },
|
||||
"look_distance": {
|
||||
"type": "number",
|
||||
"default": 8,
|
||||
"description": "Distance in blocks the mob will beg from",
|
||||
"title": "Look Distance"
|
||||
},
|
||||
"look_time": {
|
||||
"description": "The range of time in seconds this mob will stare at the player holding a food they like, begging for it",
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [2, 4],
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"title": "Look Time"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"items": [],
|
||||
"look_distance": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user