Serene & Slice Compat logo

Serene & Slice Compat

Mod

Fixes irrigation logic and restores sprinkler sound

Type

Mod

CurseForge Downloads

0

CurseForge ID

1420698

Modrinth Downloads

0

Modrinth ID

OdyyFUwv

Last Updated

Apr 12, 2026

Description

A small compatibility mod that restores proper sprinkler behavior when [Create Slice & Dice](https://modrinth.com/mod/slice-and-dice) is used together with [Serene Seasons](https://modrinth.com/mod/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.

Compatibility

Mod Loaders

Forge Neoforge

Game Versions

1.20.1 1.21.1

Similar Mods

Included in Modpacks

External Resources