mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 11:06:11 -10:00
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:
1 parent
e33a678fb9
commit
b46c36f11a
1 file changed
+7
-7
@@ -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
|
||||
|
||||
|
Reference in new issue
Block a user