64 lines
1.8 KiB
JSON
64 lines
1.8 KiB
JSON
|
|
{
|
||
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||
|
|
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.behavior.tempt",
|
||
|
|
"description": "Allows the mob to be tempted by food they like.",
|
||
|
|
"type": "object",
|
||
|
|
"title": "Behavior.tempt 1.13.0",
|
||
|
|
"additionalProperties": false,
|
||
|
|
"required": [],
|
||
|
|
"properties": {
|
||
|
|
"priority": { "ref": "types/base_priority.json" },
|
||
|
|
"speed_multiplier": { "ref": "types/base_speed_multiplier.json" },
|
||
|
|
"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",
|
||
|
|
"title": "Can get scared"
|
||
|
|
},
|
||
|
|
"can_tempt_while_ridden": {
|
||
|
|
"type": "boolean",
|
||
|
|
"title": "Can tempt while ridden",
|
||
|
|
"description": "UNDOCUMENTATED"
|
||
|
|
},
|
||
|
|
"items": {
|
||
|
|
"type": "array",
|
||
|
|
"description": "List of items this mob is tempted by",
|
||
|
|
"items": {
|
||
|
|
"type": "string",
|
||
|
|
"title": "Item",
|
||
|
|
"description": "An item identifier"
|
||
|
|
},
|
||
|
|
"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",
|
||
|
|
"title": "Within radius"
|
||
|
|
},
|
||
|
|
"tempt_sound": {
|
||
|
|
"type": "string",
|
||
|
|
"description": "UNDOCUMENTATED",
|
||
|
|
"title": "Tempt sound"
|
||
|
|
},
|
||
|
|
"sound_interval": {
|
||
|
|
"type": "object",
|
||
|
|
"description": "UNDOCUMENTATED",
|
||
|
|
"title": "Sound interval",
|
||
|
|
"properties": {
|
||
|
|
"range_min": {
|
||
|
|
"type": "number",
|
||
|
|
"description": "UNDOCUMENTATED",
|
||
|
|
"title": "Range min"
|
||
|
|
},
|
||
|
|
"range_max": {
|
||
|
|
"type": "number",
|
||
|
|
"description": "UNDOCUMENTATED",
|
||
|
|
"title": "Range max"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"additionalProperties": false
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|