jdte-0.6.5.9.jar
Curse Maven Snippet
What's new
JDT Extras 0.6.5.9
Fixes the startup crash when JDT Extras and Sunwell are installed together.
Compatibility and installation
| Component | Requirement |
|---|---|
| Minecraft | 1.21.1 |
| Mod loader | NeoForge 21.1.216 or newer |
| Just Dire Things | 1.5.7 or newer |
| Curios API (Optional) | 9.0.0 or newer |
| Java | 21 |
Install jdte-0.6.5.9.jar on the client and server. The optional full-grid AE2 addon is jdte-ae-0.6.5.9.jar, published as an additional file of this release; use matching JDTE and JDTE-AE versions. SHA-256 checksums are included in SHA256SUMS-0.6.5.9.txt.
Changes
- Sunwell compatibility: JDT Extras and Sunwell both redirected the same
Level#playLocalSoundcall insideLightningBolt#tick— JDTE to honour the Charged Lightning Rod's sound toggle, Sunwell to retime thunder for its own lantern bolts. Mixin redirectors are first-come-first-served: the second one to reach that instruction is skipped, and its non-zerorequirethen fails the injection check, aborting class transformation. Both application orders crashed, so the two mods could not be installed together. - The Charged Lightning Rod's sound gate now lives at the callee instead: a new client mixin cancels
ClientLevel#playLocalSoundat its entry when the sound is vanilla thunder or impact and the speaking lightning bolt reportsisSilent(). Entry-level injection cannot collide with a call-site redirect, so both mods now gate the same sound independently — Sunwell decides whether to forward a bolt's sound, JDTE decides whether a silent bolt's sound is dropped. - The rendering toggle, the sky-flash gate and the synced per-bolt flags are unchanged. No recipes, capacities, upgrade behaviour or save data are affected.
中文说明
- Sunwell 兼容:JDTE 与 Sunwell 此前都在
LightningBolt#tick内重定向同一个Level#playLocalSound调用——JDTE 用于实现充电避雷针的音效开关,Sunwell 用于调整自己灯笼闪电的雷声时序。Mixin 的重定向是先到先得:后到的那一个会被跳过,其非零require随即触发注入检查失败,类变换中止。两种应用顺序都会崩溃,因此两个模组无法共存。 - 充电避雷针的音效门控改为落在被调用方:新增的客户端 mixin 在
ClientLevel#playLocalSound入口判断声音是否为原版雷声/击打声、且发声的闪电实体isSilent(),是则取消播放。入口注入不会与调用点重定向抢占,于是两个模组各自独立控制同一处声音——Sunwell 决定是否转发某道闪电的声音,JDTE 决定静音螺栓的声音要不要丢弃。 - 渲染开关、天空闪光门控与逐实体同步标志均未改动。配方、容量、升级行为与存档数据不受影响。