Piglin Barter Objective
An objective to barter with piglins
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
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 | — |
TypeWriter 通用字段(criteria, children, priorityOverride)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
children | List<Ref<AudienceEntry>> | empty | — |
priorityOverride | Optional<Int> | — | — |