[PR #6861] [MERGED] Clear the rest-013 row for PlayerAdvancements.reload #7154

Closed
opened 2026-11-03 06:34:54 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6861
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/ledger-rest-013


📝 Commits (1)

  • 7aefc5f Clear the rest-013 row for PlayerAdvancements.reload

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 tools/port_map/rest-013.tsv (+1 -1)

📄 Description

tools/port_map/rest-013.tsv said PlayerAdvancements.reload was missing and that /reload
kept the advancement tree for the session. main has it:

lan/advancements.rs::ServerAdvancements::reload prunes the progress's criteria against the new
tree, clears the visible set (isFirstPacket again), grants the minecraft:tick advancements
that now pass and adds the reward recipes of the ones that became done. Hub::reload_resources
(PlayerList.reloadResources) runs it for every guest whose advancements were loaded, then sends
the tags, the recipes and each recipe book.

The row now says port and keeps the remaining half as a gap: the host's own progress is not
reloaded, only the guests'.

Proven: python3 tools/port_ledger.py map-check tools/port_map/rest-013.tsv on the build VM -
142 rows, no problems. The claim is from reading ServerAdvancements::reload and its one caller,
Hub::reload_resources.

Not proven: no in-game check; this is a ledger verdict, not a behaviour change. In-game check:
with a datapack that changes an advancement, /reload and then look at the advancement screen of
a guest and of the host.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/6861 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/ledger-rest-013` --- ### 📝 Commits (1) - [`7aefc5f`](https://github.com/horizon-rust/horizon/commit/7aefc5f44740f3c0df70119a466b37c3c143cc97) Clear the rest-013 row for PlayerAdvancements.reload ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/rest-013.tsv` (+1 -1) </details> ### 📄 Description `tools/port_map/rest-013.tsv` said `PlayerAdvancements.reload` was `missing` and that `/reload` kept the advancement tree for the session. `main` has it: `lan/advancements.rs::ServerAdvancements::reload` prunes the progress's criteria against the new tree, clears the visible set (`isFirstPacket` again), grants the `minecraft:tick` advancements that now pass and adds the reward recipes of the ones that became done. `Hub::reload_resources` (`PlayerList.reloadResources`) runs it for every guest whose advancements were loaded, then sends the tags, the recipes and each recipe book. The row now says `port` and keeps the remaining half as a gap: the host's own progress is not reloaded, only the guests'. **Proven:** `python3 tools/port_ledger.py map-check tools/port_map/rest-013.tsv` on the build VM - `142 rows, no problems.` The claim is from reading `ServerAdvancements::reload` and its one caller, `Hub::reload_resources`. **Not proven:** no in-game check; this is a ledger verdict, not a behaviour change. In-game check: with a datapack that changes an advancement, `/reload` and then look at the advancement screen of a guest and of the host. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:34:54 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7154
No description provided.