Sound Control v1.5.1 (26.2)
Curse Maven Snippet
What's new
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.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

