Serene & Slice Compat 图标

Serene & Slice Compat

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.3.3
本资源为搬运资源,原资源地址: https://modrinth.com/mod/serene-slice-compat
资源信息

Minecraft 版本: 1.20.1

平台: forge

标签: game-mechanics utility

资源介绍

A small compatibility mod that restores proper sprinkler behavior when
Create Slice & Dice is used together with
Serene Seasons.

Showcase

Incompatibility reasons - Both mods inject mixins into Minecraft’s `isRainingAt()` method. Each mixin targets `@At("HEAD")`, uses the same priority, and is marked as `cancellable`. When multiple cancellable `HEAD` injections with equal priority exist, Mixin applies them sequentially in the order their mixin configurations are loaded. The first injected callback executes first and can cancel the method, preventing later injections from running. In this case, Serene Seasons’ mixin configuration is resolved earlier, so its injection is applied first and cancels the method. As a result, Create Slice & Dice’s injection never executes. - Because Create Slice & Dice relies on Minecraft’s vanilla weather system to trigger rain-related sound effects, overriding the vanilla weather logic in Serene Seasons prevents the sprinkler from playing its intended rain sounds. How this mod fixes the issues - Instead of injecting directly into Minecraft’s `isRainingAt()` method, this compatibility mod integrates the Create Slice & Dice sprinkler check into Serene Seasons’ `isRainingAtHook()`, ensuring both mods’ logic is evaluated consistently. - To restore the missing audio, the mod also plays the appropriate rain sound directly at the sprinkler’s position, bypassing reliance on the vanilla weather system.
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Purpir AutoTotem

价格:0 墨喵币
下载量:0

查看详情
Braver Bundles

价格:0 墨喵币
下载量:0

查看详情
WebStreamer

价格:0 墨喵币
下载量:0

查看详情
Create: Radars

价格:0 墨喵币
下载量:0

查看详情