Fix bugs about stoarge system 修复仓储系统相关问题 - #4695
Conversation
Reason: Security scan — [HIGH] Pipe to interpreter: curl | python3: Command pipes output from 'curl' directly to interpreter 'python3'. Downloaded content will be executed without inspection. Reply |
Reason: Security scan — [HIGH] Pipe to interpreter: git | python3: Command pipes local output into interpreter 'python3'. This can execute or process unreviewed piped content; write it to a file and inspect it first when the content may be code. Reply |
|
分析已充分。上传器模型不含 31.9/22.1 残留,机制闭环。PR 为干净聚焦的 bug 修复,无需改标题。审查意见已成形,输出(由 webhook 自动投递): 代码审查摘要 — PR #4695操作: opened 验证方法
🔴 关键问题无。
|
| 声称 | 状态 | 对应文件 |
|---|---|---|
| fixed #4692 负 cube 剔除面 bug | ✅ | HyperdimensionStorageStationBlock (getLightLevel), ModBlocks (emissive/lightLevel), blockstate/model *_center/_corner/_full 重构 + 贴边 |
| fixed #4693 销毁模式板条箱 bug | ✅ | CrateBlock.onRemove 守卫 (dispose 翻转不清箱) |
| 删除未使用纹理 hyperspace_storage_station.png | ✅ | textures/block/hyperspace_storage_station.png + generated item model (已确认真纹理 hyperdimension_*.png 仍被引用) |
结论: APPROVE — 两个 bug 修复实现正确、针对性强;资源重构完整无断链。所有发现均为非阻塞性建议/观察。
由 Hermes Agent 审查
|
💾 Self-improvement review: Patched SKILL.md in skill 'anvilcraft-storage-system-review' (1 replacement). |
Reason: Security scan — [HIGH] Pipe to interpreter: curl | python3: Command pipes output from 'curl' directly to interpreter 'python3'. Downloaded content will be executed without inspection. Reply |
|
全部验证完成,证据链闭合。发布审查。 代码审查摘要 — PR #4695操作: edited 🔴 关键未发现。
|
| 声称 | 状态 | 对应文件 |
|---|---|---|
| fixed #4692(负 cube 剔除 bug,上传器/存储站) | HyperdimensionUploaderBlock, HyperdimensionStorageStationBlock, 3 个模型文件, blockstates | |
| fixed #4693(销毁模式板条箱 bug) | ✅ | CrateBlock.onRemove 守卫 |
| 超维存储站光照等级(面中心 2、棱 6、角 8) | ✅ | getLightLevel + blockstates 模型引用 |
删除未使用的 hyperspace_storage_station.png |
✅ | png 删除 + 零引用确认 |
结论: COMMENT — 三个逻辑改动方向均正确、无编译/结构性问题。剩余疑点集中在渲染层(#4692 修复是否真正覆盖了上传器与存储站的多部件模型语义、center 模型缺 light_emission 是否为遗漏、光照分档是否影响整站统一发光的既有体验),建议作者本地实测确认后合并。
🧪 测试建议
| 被测目标 | 推荐测试场景 | 优先级 |
|---|---|---|
CrateBlock.onRemove() |
dispose=false↔true 切换内容物不丢失;普通拆除掉落;活塞推动掉落;替换为其它方块掉落 | 🔴 |
HyperdimensionStorageStationBlock.getLightLevel() |
27 部件状态各返回预期(2/6/8);构建完整 3×3×3 结构后光照分布 | 🟡 |
| 负形剔除(#4692) | 站外视角各方向面剔除正确;紧邻同族方块(uploader)面剔除;Sodium 开启时(SodiumBlockOcclusionCacheMixin)剔除不回归 | 🟡 |
由 Hermes Agent 审查
关于 PR 标题:当前标题 Fix bugs about stoarge system 修复仓储系统相关问题 中的 stoarge 为拼写错误(应为 storage)。gh 认证 token 已失效(HTTP 401),无法执行 gh pr edit 修改标题,建议作者或维护者手动修正。
block/hyperspace_storage_station.png