Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/components/minecraft.barter.json

18 lines
679 B
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.8.0.minecraft.barter",
2020-11-01 17:22:42 +01:00
"type": "object",
"title": "Barter 1.8.0",
"description": "Enables the component to drop an item as a barter exchange.",
"additionalProperties": false,
"properties": {
2021-03-21 15:18:38 +01:00
"barter_table": { "type": "string", "description": "Loot table that's used to drop a random item.", "title": "Barter Table" },
2020-11-01 17:22:42 +01:00
"cooldown_after_being_attacked": {
"type": "integer",
"default": 0,
"description": "Duration, in seconds, for which mob won't barter items if it was hurt",
2021-03-21 15:18:38 +01:00
"title": "Cooldown After Being Attacked"
2020-11-01 17:22:42 +01:00
}
}
}