Commit graph

2 commits

Author SHA1 Message Date
Jenya705 161d523018
Advancement's reset flag (#331)
## Description

Added a new reset flag, which resets all old advancements and don't show
a toast for already completed advancements

## Test Plan

Use example "advancements". Now it saves old progress of player
2023-05-06 19:54:34 -07:00
Jenya705 41bcd1eb2c
Advancement api (#329)
## Description

Did an api for advancements.
Issue: https://github.com/valence-rs/valence/issues/325

Each advancement is an entity, it's children is either criteria, either
advancement.
Root advancement has no parent.

Also did an event AdvancementTabChange (listens if client changes
advancement's tab)

## Test Plan

Use an example "advancements"
2023-05-02 01:35:35 -07:00