▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Serene Seasons X Distant Horizons
Serene Seasons X Distant Horizons

Serene Seasons X Distant Horizons

Fixes LOD color mismatches between Serene Seasons and Distant Horizons. Keeps DH's color caches in sync with seasonal changes so LODs show the correct foliage and grass colors.

Оцените первым
5.5K
22
Все версииSerene Seasons X Distant Horizons 1.0.3

Serene Seasons X Distant Horizons 1.0.3

Release26.04.2026

Список изменений

Changelog

1.0.3 - Architecture refactor + delayed refresh scheduler

DHCompat refactor

  • Replaced reflection-based level access with DH public core interfaces:
    • ILevelWrapper.getDhLevel() replaces reflected ClientLevelWrapper.dhLevel field
    • IClientLevelWrapper.clearBlockColorCache() replaces reflected call on the concrete wrapper
    • DhSectionPos.encode(byte, int, int) called directly as a public static method
  • Reflection is now reserved only for truly private internals:
    • AbstractDhTintGetter.COLOR_BY_BLOCK_BIOME_PAIR (static tint cache)
    • AbstractDhTintGetter.BIOME_BY_RESOURCE_STRING (static biome cache, newly cleared)
    • DhClientLevel.reloadPos(long) (soft-reload hook)

Delayed refresh scheduler

  • Introduced a generation-token scheduler to prevent stale delayed jobs from firing after a superseding event arrives.
  • Live season change: caches cleared immediately, then a single delayed visible refresh fires after 12 ticks (Path C) or 35 ticks (Path B).
  • World load / rejoin: caches cleared immediately, then a single delayed refresh fires after 50 ticks (Path C) or 35 ticks (Path B). No immediate GPU work on load.
  • Caches are cleared a second time immediately before the delayed refresh executes, to flush any state accumulated during the wait window.

Cache clearing

  • Added BIOME_BY_RESOURCE_STRING clearing alongside the existing tint cache clear. Both fields are resolved from AbstractDhTintGetter at startup and cleared on every refresh cycle.

SeasonMetaTexture

  • Added SeasonMetaTexture singleton: registers two 1×1 textures (ssdh:season_meta and ssdh:season_phase) with the client texture manager.
  • Updated every client tick by SSCompat; zeroed on world exit.
  • Intended for custom shaders or resource packs that want to sample the current season and phase without parsing text.

Файлы

ssdh-1.0.3.jar(327.79 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.0.3

Загрузчики

Fabric

Версии игры

1.21.1–1.21.11

Загрузок

3.0K

Дата публикации

26.04.2026

Загрузил

ID версии

Главная