Mod chunk tickets through the server thread (API 22), softer searchlights and light halos, acoustics stage 2: echo taps

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-30 23:44:14 +03:00
committed by airdef
parent 7012640e54
commit 523c855b09
21 changed files with 1426 additions and 53 deletions
+4
View File
@@ -114,6 +114,10 @@ What real mods need next, in the order modpacks and servers need it:
source updated once a tick has no steps; 24 sources hold a voice (loudest and nearest times priority), the rest of
the loops stay virtual; a stop is never lost to a limit; the sources of a mod that stops or is reloaded are
released. A film mixes them on its own clock like `play-sound`.
- API level 22 (AirDef fork, capability `render`): `load-chunks` has the game load chunks for 20 seconds after the last
request that names them (at most 64 at once): generated or read from disk on the worker threads, not meshed. `ground`
answers `i32::MIN` for a column of such a chunk that is not there yet, -64 for one that is not coming. Nothing happens
on a server or in a LAN-hosted world.
- API level 21 (AirDef fork, capability `render`): `acoustics` tells whether the game muffles sounds by what
lies between them and the listener (`HORIZON_ACOUSTICS=1`: a wall or a mountain dims a sound and cuts its highs,
traced from a snapshot of the loaded chunks, never in the audio callback). A mod that muffles by itself, such as a