Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.13.0/behaviors/minecraft.behavior.tempt.json

44 lines
1.7 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.13.0.minecraft.behavior.tempt",
2020-11-01 17:22:42 +01:00
"description": "Allows the mob to be tempted by food they like.",
"type": "object",
2021-01-27 01:06:07 +01:00
"title": "Tempt 1.13.0",
2020-11-01 17:22:42 +01:00
"additionalProperties": false,
"required": [],
"properties": {
2021-01-27 00:52:47 +01:00
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
2020-11-01 17:22:42 +01:00
"can_get_scared": {
"type": "boolean",
"default": false,
"description": "If true, the mob can stop being tempted if the player moves too fast while close to this mob",
2021-03-21 15:18:38 +01:00
"title": "Can Get Scared"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"can_tempt_while_ridden": { "type": "boolean", "title": "Can Tempt While Ridden", "description": "UNDOCUMENTATED" },
2020-11-01 17:22:42 +01:00
"items": {
"type": "array",
"description": "List of items this mob is tempted by",
2021-03-21 15:18:38 +01:00
"items": { "type": "string", "title": "Item", "description": "An item identifier" },
2020-11-01 17:22:42 +01:00
"title": "Items"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks this mob can get tempted by a player holding an item they like",
2021-03-21 15:18:38 +01:00
"title": "Within Radius"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"tempt_sound": { "type": "string", "description": "UNDOCUMENTATED", "title": "Tempt Sound" },
2020-11-01 17:22:42 +01:00
"sound_interval": {
"type": "object",
"description": "UNDOCUMENTATED",
2021-03-21 15:18:38 +01:00
"title": "Sound Interval",
2020-11-01 17:22:42 +01:00
"properties": {
2021-03-21 15:18:38 +01:00
"range_min": { "type": "number", "description": "UNDOCUMENTATED", "title": "Range Min" },
"range_max": { "type": "number", "description": "UNDOCUMENTATED", "title": "Range Max" }
2020-11-01 17:22:42 +01:00
},
"additionalProperties": false
}
}
}