Files
minecraft-bedrock-json-schemas/source/behaviour/entities/1.8.0/behaviors/minecraft.behavior.trade_interest.json

38 lines
1.5 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-01-27 01:39:00 +01:00
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.trade_interest",
2020-11-01 17:22:42 +01:00
"description": "Allows the mob to look at a player that is holding a tradable item.",
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Trade Interest 1.8.0",
2020-11-01 17:22:42 +01:00
"additionalProperties": false,
"required": [],
"properties": {
2020-12-12 00:09:25 +01:00
"priority": { "$ref": "./types/base_priority.json" },
2020-11-01 17:22:42 +01:00
"carried_item_switch_time": {
"type": "number",
"default": 2,
"description": "The max time in seconds that the trader will hold an item before attempting to switch for a different item that takes the same trade",
2021-03-21 15:18:38 +01:00
"title": "Carried Item Switch Time"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"cooldown": { "type": "number", "default": 2, "description": "The time in seconds before the trader can use this goal again", "title": "Cooldown" },
2020-11-01 17:22:42 +01:00
"interest_time": {
"type": "number",
"default": 45,
"description": "The max time in seconds that the trader will be interested with showing it's trade items",
2021-01-27 01:39:00 +01:00
"title": "Interest_time"
2020-11-01 17:22:42 +01:00
},
"remove_item_time": {
"type": "number",
"default": 1,
"description": "The max time in seconds that the trader will wait when you no longer have items to trade",
2021-03-21 15:18:38 +01:00
"title": "Remove Item Time"
2020-11-01 17:22:42 +01:00
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks this mob can be interested 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
}
}
}