Files
horizon-airdef/crates/horizon-client/src/lib.rs
T
Ludovic Marie e54b9a9deb Add situational music and ambient sounds
MusicManager: menu, game, creative, underwater, biome and End tracks from
the background_music and music_volume environment attributes, with
vanilla's delays, replacement and fades; tracks decode on a worker and
play on a dedicated mixer voice. Ambient handlers: biome loops with
40-tick cross-fades, additions, cave mood from sampled light, and the
underwater loop, additions and enter/exit sounds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 23:44:08 +02:00

72 lines
1.4 KiB
Rust

//! Horizon native client: resources, world streaming, rendering and the
//! bindings between the validated simulation pieces and the game loop.
#![forbid(unsafe_code)]
pub mod ambience;
pub mod animate_tick;
pub mod assets;
pub mod attribute_updates;
pub mod audio;
pub mod biome;
pub mod block_entity_render;
pub mod blocks;
pub mod brewing;
pub mod chunk;
pub mod chat;
pub mod clock;
pub mod command;
pub mod containers;
pub mod control;
pub mod crafting;
pub mod enchant;
pub mod creative;
pub mod collisions;
pub mod effects;
pub mod entities;
pub mod entity_nbt;
pub mod environment;
pub mod font;
pub mod gamerules;
pub mod fog;
pub mod gfx;
pub mod health;
pub mod hud;
pub mod hunger;
pub mod input;
pub mod item_data;
pub mod items;
pub mod keybinds;
pub mod lang;
pub mod landing;
pub mod light;
pub mod merchant;
pub mod mesher;
pub mod music;
pub mod mobs;
pub mod models;
pub mod motion;
pub mod multiplayer;
pub mod net;
pub mod options_ui;
pub mod packs;
pub mod particles;
pub mod pose;
pub mod projectiles;
pub mod save;
pub mod screen_effects;
pub mod settings;
pub mod shadows;
pub mod signs;
pub mod sprint;
pub mod sprites;
pub mod stations;
pub mod streaming;
pub mod structure_blocks;
pub mod testgen;
pub mod text;
pub mod title;
pub mod ui;
pub mod vanillagen;
pub mod world;
pub mod zip;
pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>;