Piglin Barter Objective
An objective to barter with piglins
Fields
| Field | Type | Default | Description |
|---|---|---|---|
quest | Ref<QuestEntry> | — | — |
fact | Ref<CachableFactEntry> | — | — |
itemType | Var<String> | — | The specific item type to receive from bartering. Leave empty to count any item. |
amount | Var<Int> | 5 | The total number of barter trades the player needs to complete. |
display | Var<String> | — | — |
onComplete | Ref<TriggerableEntry> | — | — |
onCompleteModifiers | List<Modifier> | empty | — |
Common TypeWriter fields (criteria, children, priorityOverride)
| Field | Type | Default | Description |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
children | List<Ref<AudienceEntry>> | empty | — |
priorityOverride | Optional<Int> | — | — |