Files
minecraft-bedrock-json-schemas/source/behaviour/entities/1.8.0/components/minecraft.barter.json
2021-02-01 18:39:12 +01:00

22 lines
702 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.barter",
"type": "object",
"title": "Barter 1.8.0",
"description": "Enables the component to drop an item as a barter exchange.",
"additionalProperties": false,
"properties": {
"barter_table": {
"type": "string",
"description": "Loot table that's used to drop a random item.",
"title": "Barter table"
},
"cooldown_after_being_attacked": {
"type": "integer",
"default": 0,
"description": "Duration, in seconds, for which mob won't barter items if it was hurt",
"title": "Cooldown after being attacked"
}
}
}