b7cfe5578c
The HUD harness now draws cases by kind. The oracle runs Hud.extractEffects, extractTitle, extractOverlayMessage and extractSelectedItemName after replaying setTitle/setTimes/setOverlayMessage and Hud.tick, and hud_overlays lays out the same state: MobEffectInstance ordering through Java's small-array TimSort, the title and action bar fades, the backdrop from the text background options and the tool highlight timer. The game draws its effect icons, titles and action bar through these layouts and now shows the selected item name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
111 lines
2.1 KiB
Rust
111 lines
2.1 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 advancements;
|
|
pub mod ambience;
|
|
pub mod animate_tick;
|
|
pub mod assets;
|
|
pub mod atlas_sources;
|
|
pub mod attribute_updates;
|
|
pub mod audio;
|
|
pub mod auto_jump;
|
|
pub mod banner;
|
|
pub mod biome;
|
|
pub mod block_entity_nbt;
|
|
pub mod block_entity_render;
|
|
pub mod block_transform;
|
|
pub mod blocks;
|
|
pub mod bossbar;
|
|
pub mod brewing;
|
|
pub mod camera;
|
|
pub mod cauldron;
|
|
pub mod chat;
|
|
pub mod chunk;
|
|
pub mod clock;
|
|
pub mod collisions;
|
|
pub mod command;
|
|
pub mod command_storage;
|
|
pub mod component;
|
|
pub mod containers;
|
|
pub mod control;
|
|
pub mod crafting;
|
|
pub mod creative;
|
|
pub mod data_cmd;
|
|
pub mod datapack;
|
|
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 gossip;
|
|
pub mod health;
|
|
pub mod hud;
|
|
pub mod hud_layout;
|
|
pub mod hud_overlays;
|
|
pub mod hunger;
|
|
pub mod input;
|
|
pub mod item_data;
|
|
pub mod item_render;
|
|
pub mod items;
|
|
pub mod java_text;
|
|
pub mod key_names;
|
|
pub mod keybinds;
|
|
pub mod keymapping;
|
|
pub mod lan;
|
|
pub mod landing;
|
|
pub mod lang;
|
|
pub mod light;
|
|
pub mod menu;
|
|
pub mod merchant;
|
|
pub mod mesher;
|
|
pub mod mobs;
|
|
pub mod models;
|
|
pub mod motion;
|
|
pub mod mouse;
|
|
pub mod multiplayer;
|
|
pub mod music;
|
|
pub mod nbt_path;
|
|
pub mod net;
|
|
pub mod options_file;
|
|
pub mod options_fixes;
|
|
pub mod options_ui;
|
|
pub mod packs;
|
|
pub mod particles;
|
|
pub mod pose;
|
|
pub mod projectiles;
|
|
pub mod raid;
|
|
pub mod random_sequences;
|
|
pub mod recipe_book;
|
|
pub mod save;
|
|
pub mod scoreboard;
|
|
pub mod scoreboard_cmd;
|
|
pub mod screen_effects;
|
|
pub mod sculk;
|
|
pub mod settings;
|
|
pub mod shadows;
|
|
pub mod signs;
|
|
pub mod snbt;
|
|
pub mod sound_engine;
|
|
pub mod sound_events;
|
|
pub mod sprint;
|
|
pub mod sprites;
|
|
pub mod stations;
|
|
pub mod stopwatches;
|
|
pub mod streaming;
|
|
pub mod structure_blocks;
|
|
pub mod subtitles;
|
|
pub mod testgen;
|
|
pub mod text;
|
|
pub mod title;
|
|
pub mod ui;
|
|
pub mod vanillagen;
|
|
pub mod window;
|
|
pub mod world;
|
|
pub mod worldborder;
|
|
pub mod zip;
|
|
pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>;
|