Updated to reflect documentation
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.tempt",
|
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.tempt",
|
||||||
"description": "Allows the mob to be tempted by food they like.",
|
"description": "Allows an entity to be tempted by a set item.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Tempt",
|
"title": "Tempt",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
@@ -10,31 +10,31 @@
|
|||||||
"can_get_scared": {
|
"can_get_scared": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "If true, the mob can stop being tempted if the player moves too fast while close to this mob",
|
"description": "If true, the mob can stop being tempted if the player moves too fast while close to this mob.",
|
||||||
"title": "Can Get Scared"
|
"title": "Can Get Scared"
|
||||||
},
|
},
|
||||||
"can_tempt_while_ridden": {
|
"can_tempt_while_ridden": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
"default": false,
|
||||||
"title": "Can Tempt While Ridden",
|
"title": "Can Tempt While Ridden",
|
||||||
"description": "If true, this mob can be tempted while it has a passenger",
|
"description": "If true, the mob can be tempted even if it has a passenger (i.e. if being ridden)."
|
||||||
"$comment": "UNDOCUMENTED"
|
|
||||||
},
|
},
|
||||||
"can_tempt_vertically": {
|
"can_tempt_vertically": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
"default": false,
|
||||||
"title": "Can Tempt Vertically",
|
"title": "Can Tempt Vertically",
|
||||||
"description": "If true, vertical distance will be considered when being tempted",
|
"description": "If true, vertical distance to the player will be considered when tempting."
|
||||||
"$comment": "UNDOCUMENTED"
|
|
||||||
},
|
},
|
||||||
"items": {
|
"items": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"title": "Items",
|
||||||
"description": "List of items this mob is tempted by",
|
"description": "List of items this mob is tempted by",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "../../../../general/item/identifier.json"
|
"$ref": "../../../../general/item/identifier.json"
|
||||||
},
|
}
|
||||||
"title": "Items"
|
|
||||||
},
|
},
|
||||||
"sound_interval": {
|
"sound_interval": {
|
||||||
"description": "The interval in ticks between playing the sound",
|
"description": "Range of random ticks to wait between tempt sounds.",
|
||||||
"title": "Sound Interval",
|
"title": "Sound Interval",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user