Removed minecraft.
This commit is contained in:
16
source/behavior/entities/format/components/barter.json
Normal file
16
source/behavior/entities/format/components/barter.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.barter",
|
||||
"type": "object",
|
||||
"title": "Barter",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user