minecraft:barter¶
文档版本:1.21.0.24
Enables the component to drop an item as a barter exchange.
架构¶
barter_table
:string- Loot table that's used to drop a random item.
cooldown_after_being_attacked
:integer- Duration, in seconds, for which mob won't barter items if it was hurt.