rest-019: two pack rows main already ports, and a citation cut to the fn

PackFormat.IntermediaryFormat.validatePackFormatForRange and
PackRepository.isAbleToClearAnyPack are both in
crates/horizon-client-render/src/packs.rs on main; the map still read them
missing. PackFormat.lastPreMinorVersion cited the file alone, so map-check
could not resolve its fn; it now names last_pre_minor.
This commit is contained in:
MSedgeMC committed 2026-11-02 09:51:17 +00:00
1 parent e33a678fb9
commit b46c36f11a
1 file changed
+7 -7
+7 -7
View File
@@ -4,7 +4,7 @@ LinkFileSystem skip:other link filesystem and its getPath; Horizon builds overl
LinkFileSystem.Builder skip:other builder of the link filesystem tree; no equivalent, see packs.rs::build_overlay
PackFormat.fullCodec skip:java codec for supported_formats; packs.rs::compatible reads the same array
PackFormat.validateHolderList inline crates/horizon-client-render/src/packs.rs::overlays_of gap: minor: a broken overlay entry is dropped alone; vanilla rejects the whole overlays list
PackFormat.lastPreMinorVersion inline crates/horizon-client-render/src/packs.rs the cut-off the old-format validator compares against
PackFormat.lastPreMinorVersion inline crates/horizon-client-render/src/packs.rs::last_pre_minor the cut-off the old-format validator compares against
PackFormat.packCodec skip:java codec wiring; the validation it runs is missing (IntermediaryFormat.validate)
PackFormat.of skip:java constructor; Horizon keeps (major, minor) tuples (packs.rs::RESOURCE_FORMAT)
PackFormat.compareTo skip:java ordering; Horizon compares the (major, minor) tuples directly (packs.rs::compatibility)
@@ -14,7 +14,7 @@ PackFormat.IntermediaryFormat.effectiveMinMajorVersion inline crates/horizon-cli
PackFormat.IntermediaryFormat.validate port crates/horizon-client-render/src/packs.rs::validate_pack_range pack.mcmeta format fields are checked against the supported range
PackFormat.IntermediaryFormat.validateNewFormat port crates/horizon-client-render/src/packs.rs::validate_new_format min above max and a missing supported_formats / pack_format are refused
PackFormat.IntermediaryFormat.validateOldFormat port crates/horizon-client-render/src/packs.rs::validate_old_format an old range above the last pre-minor version is refused
PackFormat.IntermediaryFormat.validatePackFormatForRange missing player: vanilla refuses a pack_format outside its min to max range, or a multi-version pack below format 15; Horizon does not check
PackFormat.IntermediaryFormat.validatePackFormatForRange port crates/horizon-client-render/src/packs.rs::validate_pack_format_for_range a pack_format outside min to max is refused, and a multi-version pack may not support below format 15
PackMetadataSection.codecForPackType skip:java codec for the pack section; packs.rs::pack reads the same fields
PackMetadataSection.forPackType skip:java picks the section type per pack type; Horizon reads one pack section
BuiltInPackSource.loadPacks port crates/horizon-client-render/src/packs.rs::discover built-in Programmer Art and High Contrast packs; the vanilla pack is added by game/packs.rs::pack_infos
@@ -31,7 +31,7 @@ PackDetector.detectPackResources inline crates/horizon-client-render/src/packs.r
PackRepository.displayPackList skip:debug pack ids for the system report (MinecraftServer)
PackRepository.reload port crates/horizon-client/src/game/packs.rs::Game::refresh_pack_lists re-discovers the packs and resets the selection
PackRepository.discoverAvailable port crates/horizon-client-render/src/packs.rs::discover scans the sources for packs
PackRepository.isAbleToClearAnyPack missing player: when a pack fails at runtime vanilla clears the selected packs with a toast; Horizon keeps them and shows the error in Options (game/packs.rs::reload_packs)
PackRepository.isAbleToClearAnyPack port crates/horizon-client-render/src/packs.rs::able_to_clear_any_pack a failed reload drops every selected pack and toasts (game/packs.rs::selection_reload_failed), as clearResourcePacksOnError does
PackRepository.addPack inline crates/horizon-client-render/src/packs.rs::SelectionModel::activate gap: minor: vanilla appends by id with no position rules
PackRepository.removePack inline crates/horizon-client-render/src/packs.rs::SelectionModel::activate gap: minor: vanilla removes by id even when the pack is required; the screen never offers that
PackRepository.getAvailablePacks inline crates/horizon-client-render/src/packs.rs::SelectionModel::rebuild rebuild also adds required packs (vanilla and active downloaded server packs from Game::pack_infos)
@@ -65,7 +65,7 @@ MultiPackResourceManager.listResources skip:other same overlay folder listing
MultiPackResourceManager.listResourceStacks skip:other same overlay folder listing
MultiPackResourceManager.checkTrailingDirectoryPath skip:java argument check for the resource listing API, which Horizon lacks
ProfiledReloadInstance skip:debug reload timing log (profiler), which Horizon does not keep
ReloadableResourceManager.createReload port crates/horizon-client/src/game/packs.rs::Game::stage_selected_packs builds the new overlay root and resources
ReloadableResourceManager.createReload port crates/horizon-client/src/game/packs.rs::Game::spawn_pack_reload starts the reload worker; stage_pack builds the new overlay root and resources
Resource skip:other lazy stream and sidecar metadata; Horizon reads host files and each feature reads its own .png.mcmeta
ResourceFilterSection.isNamespaceFiltered inline crates/horizon-client-render/src/packs.rs::Filter::blocks gap: minor: no namespace-only test; blocks checks the namespace inside a file path
ResourceFilterSection.isPathFiltered port crates/horizon-client-render/src/packs.rs::Filter::blocks path test of a filter entry
@@ -75,10 +75,10 @@ ResourceMetadata.of skip:java map-backed metadata constructor
ResourceMetadata.getTypedSections skip:java typed view over sections; Horizon reads sections by key
ResourceProvider.getResourceOrThrow skip:java Option instead of a thrown FileNotFound
SimpleJsonResourceReloadListener.prepare port crates/horizon-client-render/src/datapack.rs::DataStore::load gap: player: only function, item_modifier, predicate and function-tag files are read; recipes, loot tables and advancements from datapacks are not
SimplePreparableReloadListener.reload port crates/horizon-client/src/game/packs.rs::Game::stage_selected_packs gap: minor: the prepare half; apply_staged_pack does the apply
SimpleReloadInstance.of port crates/horizon-client/src/game/packs.rs::Game::reload_selected_packs stage then apply, in one call
SimplePreparableReloadListener.reload port crates/horizon-client/src/game/packs.rs::stage_pack gap: minor: the prepare half; apply_staged_pack does the apply
SimpleReloadInstance.of port crates/horizon-client/src/game/packs.rs::PackReload::spawn stage then apply, in one call: the worker stages, drive_pack_reload applies
SimpleReloadInstance.startTasks inline crates/horizon-client/src/game/packs.rs::Game::reload_packs defers while a world or rest loads; errors go to Options
SimpleReloadInstance.prepareTasks port crates/horizon-client/src/game/packs.rs::Game::stage_selected_packs gap: minor: one staging pass, no per-listener barrier chain
SimpleReloadInstance.prepareTasks port crates/horizon-client/src/game/packs.rs::stage_pack gap: minor: one staging pass, no per-listener barrier chain
SimpleReloadInstance.getActualProgress skip:ui progress fraction of the reload screen
SimpleReloadInstance.weightProgress skip:ui progress weights of the reload screen
SimpleReloadInstance.create skip:debug chooses profiled or plain reload
1 LinkFSPath skip:other Java path of the in-memory link filesystem; Horizon links host paths (packs.rs::link)
4 LinkFileSystem.Builder skip:other builder of the link filesystem tree; no equivalent, see packs.rs::build_overlay
5 PackFormat.fullCodec skip:java codec for supported_formats; packs.rs::compatible reads the same array
6 PackFormat.validateHolderList inline crates/horizon-client-render/src/packs.rs::overlays_of gap: minor: a broken overlay entry is dropped alone; vanilla rejects the whole overlays list
7 PackFormat.lastPreMinorVersion inline crates/horizon-client-render/src/packs.rs crates/horizon-client-render/src/packs.rs::last_pre_minor the cut-off the old-format validator compares against
8 PackFormat.packCodec skip:java codec wiring; the validation it runs is missing (IntermediaryFormat.validate)
9 PackFormat.of skip:java constructor; Horizon keeps (major, minor) tuples (packs.rs::RESOURCE_FORMAT)
10 PackFormat.compareTo skip:java ordering; Horizon compares the (major, minor) tuples directly (packs.rs::compatibility)
14 PackFormat.IntermediaryFormat.validate port crates/horizon-client-render/src/packs.rs::validate_pack_range pack.mcmeta format fields are checked against the supported range
15 PackFormat.IntermediaryFormat.validateNewFormat port crates/horizon-client-render/src/packs.rs::validate_new_format min above max and a missing supported_formats / pack_format are refused
16 PackFormat.IntermediaryFormat.validateOldFormat port crates/horizon-client-render/src/packs.rs::validate_old_format an old range above the last pre-minor version is refused
17 PackFormat.IntermediaryFormat.validatePackFormatForRange missing port crates/horizon-client-render/src/packs.rs::validate_pack_format_for_range player: vanilla refuses a pack_format outside its min to max range, or a multi-version pack below format 15; Horizon does not check a pack_format outside min to max is refused, and a multi-version pack may not support below format 15
18 PackMetadataSection.codecForPackType skip:java codec for the pack section; packs.rs::pack reads the same fields
19 PackMetadataSection.forPackType skip:java picks the section type per pack type; Horizon reads one pack section
20 BuiltInPackSource.loadPacks port crates/horizon-client-render/src/packs.rs::discover built-in Programmer Art and High Contrast packs; the vanilla pack is added by game/packs.rs::pack_infos
31 PackRepository.displayPackList skip:debug pack ids for the system report (MinecraftServer)
32 PackRepository.reload port crates/horizon-client/src/game/packs.rs::Game::refresh_pack_lists re-discovers the packs and resets the selection
33 PackRepository.discoverAvailable port crates/horizon-client-render/src/packs.rs::discover scans the sources for packs
34 PackRepository.isAbleToClearAnyPack missing port crates/horizon-client-render/src/packs.rs::able_to_clear_any_pack player: when a pack fails at runtime vanilla clears the selected packs with a toast; Horizon keeps them and shows the error in Options (game/packs.rs::reload_packs) a failed reload drops every selected pack and toasts (game/packs.rs::selection_reload_failed), as clearResourcePacksOnError does
35 PackRepository.addPack inline crates/horizon-client-render/src/packs.rs::SelectionModel::activate gap: minor: vanilla appends by id with no position rules
36 PackRepository.removePack inline crates/horizon-client-render/src/packs.rs::SelectionModel::activate gap: minor: vanilla removes by id even when the pack is required; the screen never offers that
37 PackRepository.getAvailablePacks inline crates/horizon-client-render/src/packs.rs::SelectionModel::rebuild rebuild also adds required packs (vanilla and active downloaded server packs from Game::pack_infos)
65 MultiPackResourceManager.listResourceStacks skip:other same overlay folder listing
66 MultiPackResourceManager.checkTrailingDirectoryPath skip:java argument check for the resource listing API, which Horizon lacks
67 ProfiledReloadInstance skip:debug reload timing log (profiler), which Horizon does not keep
68 ReloadableResourceManager.createReload port crates/horizon-client/src/game/packs.rs::Game::stage_selected_packs crates/horizon-client/src/game/packs.rs::Game::spawn_pack_reload builds the new overlay root and resources starts the reload worker; stage_pack builds the new overlay root and resources
69 Resource skip:other lazy stream and sidecar metadata; Horizon reads host files and each feature reads its own .png.mcmeta
70 ResourceFilterSection.isNamespaceFiltered inline crates/horizon-client-render/src/packs.rs::Filter::blocks gap: minor: no namespace-only test; blocks checks the namespace inside a file path
71 ResourceFilterSection.isPathFiltered port crates/horizon-client-render/src/packs.rs::Filter::blocks path test of a filter entry
75 ResourceMetadata.getTypedSections skip:java typed view over sections; Horizon reads sections by key
76 ResourceProvider.getResourceOrThrow skip:java Option instead of a thrown FileNotFound
77 SimpleJsonResourceReloadListener.prepare port crates/horizon-client-render/src/datapack.rs::DataStore::load gap: player: only function, item_modifier, predicate and function-tag files are read; recipes, loot tables and advancements from datapacks are not
78 SimplePreparableReloadListener.reload port crates/horizon-client/src/game/packs.rs::Game::stage_selected_packs crates/horizon-client/src/game/packs.rs::stage_pack gap: minor: the prepare half; apply_staged_pack does the apply
79 SimpleReloadInstance.of port crates/horizon-client/src/game/packs.rs::Game::reload_selected_packs crates/horizon-client/src/game/packs.rs::PackReload::spawn stage then apply, in one call stage then apply, in one call: the worker stages, drive_pack_reload applies
80 SimpleReloadInstance.startTasks inline crates/horizon-client/src/game/packs.rs::Game::reload_packs defers while a world or rest loads; errors go to Options
81 SimpleReloadInstance.prepareTasks port crates/horizon-client/src/game/packs.rs::Game::stage_selected_packs crates/horizon-client/src/game/packs.rs::stage_pack gap: minor: one staging pass, no per-listener barrier chain
82 SimpleReloadInstance.getActualProgress skip:ui progress fraction of the reload screen
83 SimpleReloadInstance.weightProgress skip:ui progress weights of the reload screen
84 SimpleReloadInstance.create skip:debug chooses profiled or plain reload