▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Serene & Slice Compat
Serene & Slice Compat

Serene & Slice Compat

Fixes irrigation logic and restores sprinkler sound

1.5K
3

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.

Совместимость

Minecraft: Java Edition

1.21.x1.20.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Создатели

Детали

Лицензия:MIT
Опубликован:2 месяца назад
Обновлён:2 месяца назад
Главная