d5438f61e8
ComponentArgument reads SNBT or JSON text components (text, translate with fallback, selector, keybind, colours, formatting, extra, lists); selector components resolve for the command source. /title drives the Gui title, subtitle, times and action bar, drawn with vanilla's fades and 4x / 2x scales over the hotbar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
73 lines
1.4 KiB
Rust
73 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 chat;
|
|
pub mod chunk;
|
|
pub mod clock;
|
|
pub mod collisions;
|
|
pub mod command;
|
|
pub mod component;
|
|
pub mod containers;
|
|
pub mod control;
|
|
pub mod crafting;
|
|
pub mod creative;
|
|
pub mod effects;
|
|
pub mod enchant;
|
|
pub mod entities;
|
|
pub mod entity_nbt;
|
|
pub mod environment;
|
|
pub mod fog;
|
|
pub mod font;
|
|
pub mod gamerules;
|
|
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 landing;
|
|
pub mod lang;
|
|
pub mod light;
|
|
pub mod merchant;
|
|
pub mod mesher;
|
|
pub mod mobs;
|
|
pub mod models;
|
|
pub mod motion;
|
|
pub mod multiplayer;
|
|
pub mod music;
|
|
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>>;
|