Список изменений
Sound Control v1.5.1
API v2 Improvements
- Per-mod isolation — Each mod's overrides are now stored separately.
resetAll(modId)only clears YOUR mod's data, never affecting other mods. - Thread safety — All internal data structures are now ConcurrentHashMaps. Safe to call from any thread.
- NaN/Infinity protection — Invalid volume values are rejected with a warning log instead of corrupting internal state.
- Null safety in batch operations —
setVolumes()now gracefully skips null values with a warning instead of throwing NPE. - Atomic reset —
reset()usescomputeIfPresentto avoid race conditions between threads. - New methods:
getApiVersion(),hasOverride(),getOverriddenSounds(),setVolumes()batch operation. - Full Javadoc with usage examples, thread-safety guarantees, and performance notes.
If no critical bugs are found, no further changes will be made to the API, and the API will be frozen.
Файлы
soundcontrol-fabric-26.2-1.5.1-26.2.jar(771.24 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.5.1-mc26.2
Загрузчики
Fabric
Версии игры
26.2
Загрузок
167
Дата публикации
11.07.2026

