[PR #7426] [MERGED] Clear stale rest-019 datapack row main already implements #7595

Closed
opened 2026-11-03 07:20:28 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: chore/ledger2-rest-019


📝 Commits (1)

  • 8de70a3 Port map: rest-019 rows the tree answers

📊 Changes

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

View changed files

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

📄 Description

tools/port_map/rest-019.tsv, one row:

  • SimpleJsonResourceReloadListener.prepare — was port with a gap: player: only function, item_modifier, predicate and function-tag files are read; recipes, loot tables and advancements from datapacks are not. It now cites crates/horizon-client-render/src/datapack.rs::DataStore::load and says what that function does: functions and function tags are parsed, and the content tables' files (recipe, recipe_filter, loot_table, advancement, trade_set, villager_trade, dialog, data_maps, tags) are kept by id in files for those tables to merge over the resource root. The gap is closed: content_id maps all of those kinds and DataStore::load lists them through pack.list_kinds.

The rest of the file's missing rows were rechecked against the tree and stay: PackRepository.getRequestedFeatureFlags (no pack feature_flags are read) and the eleven OldUsersConverter rows (only ops.json, whitelist.json and banned-players.json are read, game/dedicated.rs:439-441).

map-check: python3 tools/port_ledger.py map-check tools/port_map/rest-019.tsv -> 119 rows, no problems.

Proven: python3 tools/port_ledger.py build --jar /data/home/horizon/.local/minecraft/26.3/jars/server.jar >/dev/null && python3 tools/port_ledger.py map-check tools/port_map/rest-019.tsv -> 119 rows, no problems.

Not proven: no in-game check; the row is a reading of DataStore::load against SimpleJsonResourceReloadListener.prepare.


🔄 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/7426 **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/ledger2-rest-019` --- ### 📝 Commits (1) - [`8de70a3`](https://github.com/horizon-rust/horizon/commit/8de70a30b4e4c361a10647468f448417abd185c6) Port map: rest-019 rows the tree answers ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/rest-019.tsv` (+1 -1) </details> ### 📄 Description `tools/port_map/rest-019.tsv`, one row: - `SimpleJsonResourceReloadListener.prepare` — was `port` with a `gap: player: only function, item_modifier, predicate and function-tag files are read; recipes, loot tables and advancements from datapacks are not`. It now cites `crates/horizon-client-render/src/datapack.rs::DataStore::load` and says what that function does: functions and function tags are parsed, and the content tables' files (`recipe`, `recipe_filter`, `loot_table`, `advancement`, `trade_set`, `villager_trade`, `dialog`, `data_maps`, `tags`) are kept by id in `files` for those tables to merge over the resource root. The gap is closed: `content_id` maps all of those kinds and `DataStore::load` lists them through `pack.list_kinds`. The rest of the file's `missing` rows were rechecked against the tree and stay: `PackRepository.getRequestedFeatureFlags` (no pack `feature_flags` are read) and the eleven `OldUsersConverter` rows (only `ops.json`, `whitelist.json` and `banned-players.json` are read, `game/dedicated.rs:439-441`). `map-check`: `python3 tools/port_ledger.py map-check tools/port_map/rest-019.tsv` -> `119 rows, no problems.` **Proven:** `python3 tools/port_ledger.py build --jar /data/home/horizon/.local/minecraft/26.3/jars/server.jar >/dev/null && python3 tools/port_ledger.py map-check tools/port_map/rest-019.tsv` -> `119 rows, no problems.` **Not proven:** no in-game check; the row is a reading of `DataStore::load` against `SimpleJsonResourceReloadListener.prepare`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 07:20:28 +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#7595
No description provided.