Fragment Group
A set of fragments to collect together
Champs
| Champ | Type | Par défaut | Description |
|---|---|---|---|
groupId | Var<String> | — | Unique group identifier matching fragment_group on FragmentDefinitionEntry. |
fragments | List<Ref<FragmentDefinitionEntry>> | empty | Fragments belonging to this group. |
requiredCount | Var<Int> | 0 | How many fragments of the group are required to complete it. 0 (default) requires every fragment listed above. |
onCompleted | Ref<TriggerableEntry> | — | Sequence triggered when the group is completed. |
rewardLore | String | — | Lore revealed when the group is completed. Supports color codes.PlaceholdersCouleursMultiligne |
How to use it
List the fragments in fragments and make groupId equal to the fragmentGroup text of each of them. requiredCount sets how many are needed (0 means all, a larger number is capped). When a player's collected count reaches it, onCompleted is triggered. rewardLore is not displayed by this extension.