Repository navigation
Conversation
Contributor
审查者指南该 PR 以按发布时间排列的原版版本列表和原子快照索引取代旧的 Drop 数值及版本字符串猜测:启动时使用内嵌列表并后台刷新,实例识别要求精确命中并规范化版本 id,随后将分类、比较、家族聚合、模组兼容性、Java 选择及下载/安装 UI 全面迁移到索引语义,同时兼容旧的 Drops 缓存格式。 基于索引的 Minecraft 版本识别时序图sequenceDiagram
participant Instance as McInstance
participant Index as VanillaVersionIndex
participant Sources as Instance metadata sources
participant Info as McInstanceInfo
Sources->>Instance: Read clientVersion or patches or arguments
Instance->>Index: TryResolve(candidate)
alt candidate is listed
Index-->>Instance: canonical id
Instance->>Info: Set VanillaName and Reliable
else candidate is not listed
Index-->>Instance: false
Instance->>Info: Set Unknown and unreliable
end
替换基于 Drop 的兼容性决策流程图flowchart TD
Input[Vanilla version id] --> Listed{VanillaVersionIndex.TryGetLine}
Listed -->|yes| Boundary[Compare against named thresholds]
Listed -->|no| Fallback[Use fallback behavior where supported]
Boundary --> Java[Select Java constraints]
Boundary --> Loader[Check Forge Fabric OptiFine compatibility]
Boundary --> Group[Group versions into release families]
Fallback --> Unknown[Mark unknown or unreliable]
文件级变更
提示和命令与 Sourcery 交互
自定义使用体验访问你的控制面板以:
获取帮助Original review guide in EnglishReviewer's Guide该 PR 以按发布时间排列的原版版本列表和原子快照索引取代旧的 Drop 数值及版本字符串猜测:启动时使用内嵌列表并后台刷新,实例识别要求精确命中并规范化版本 id,随后将分类、比较、家族聚合、模组兼容性、Java 选择及下载/安装 UI 全面迁移到索引语义,同时兼容旧的 Drops 缓存格式。 Sequence diagram for indexed Minecraft version recognitionsequenceDiagram
participant Instance as McInstance
participant Index as VanillaVersionIndex
participant Sources as Instance metadata sources
participant Info as McInstanceInfo
Sources->>Instance: Read clientVersion or patches or arguments
Instance->>Index: TryResolve(candidate)
alt candidate is listed
Index-->>Instance: canonical id
Instance->>Info: Set VanillaName and Reliable
else candidate is not listed
Index-->>Instance: false
Instance->>Info: Set Unknown and unreliable
end
Flow diagram for replacing Drop-based compatibility decisionsflowchart TD
Input[Vanilla version id] --> Listed{VanillaVersionIndex.TryGetLine}
Listed -->|yes| Boundary[Compare against named thresholds]
Listed -->|no| Fallback[Use fallback behavior where supported]
Boundary --> Java[Select Java constraints]
Boundary --> Loader[Check Forge Fabric OptiFine compatibility]
Boundary --> Group[Group versions into release families]
Fallback --> Unknown[Mark unknown or unreliable]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sourcery 摘要
使用权威版本索引替代猜测的 Minecraft 版本号,以实现可靠的版本识别、比较、分类和兼容性处理。
新功能:
错误修复:
增强功能:
杂项:
Original summary in English
Sourcery 摘要
用权威、可刷新的版本索引替代启发式的 Minecraft 版本号处理,以实现可靠的版本识别、排序、分类和兼容性判断。
新功能:
Bug 修复:
改进:
维护:
Original summary in English
Sourcery 摘要
用可刷新的权威版本索引替代启发式的 Minecraft 版本处理,以实现可靠的版本识别、排序、分类和兼容性判断。
新功能:
错误修复:
增强功能:
杂项:
Original summary in English
Summary by Sourcery
Replace heuristic Minecraft version handling with a refreshable authoritative version index for reliable identification, ordering, classification, and compatibility decisions.
New Features:
Bug Fixes:
Enhancements:
Chores: