Enables the mob to barter for items that have been configured as barter currency. Must be used in combination with the barter component.
Note
Requires the minecraft:barter component and barter_table loot table in order to work properly.
Entity Barter Behavior Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| priority | 0 | Integer number | As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal. |
Control Flags choices
| Value | Title | Description |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |