1.20.1-forge-Quest Enhance-3.18
Curse Maven Snippet
What's new
Compatibility
- Improved compatibility with Certain Questing Additions across all supported versions:
- Moved custom chapter background injection in QuestScreen.drawBackground to avoid conflicting with @Redirect on BaseScreen.drawBackground, while preserving custom shader backgrounds on chapters without custom background images.
- Intercepted QuestPanel.renderConnection directly and wrapped Panel.draw / Panel.drawWidget via PanelMixin, restoring hidden dependency lines, edit-mode purple dependency lines, decorative dependency lines, custom quest node backgrounds, 3D entity models on kill tasks, and node video play buttons even when another mod cancels drawOffsetBackground or QuestButton.draw at HEAD.
兼容性修复
- 修复与 Certain Questing Additions 模组的兼容性冲突:
- 调整 QuestScreen.drawBackground 中自定义章节背景的注入点,避开其它模组对 BaseScreen.drawBackground 的 @Redirect 冲突,同时在未设置自定义章节背景时保留 Shader 背景效果。
- 改为直接拦截 QuestPanel.renderConnection 并通过 PanelMixin 在 Panel.draw / Panel.drawWidget 外层包裹绘制流程,确保即使其它模组在 HEAD 取消 drawOffsetBackground 或 QuestButton.draw,本模组的隐藏前置线、编辑模式紫色线、装饰折线、任务节点自定义背景、击杀任务 3D 实体模型以及视频播放按钮仍可正常显示。
This mod has no additional files