b117930ae4
horizon_core::no_ai reads and writes the noAi line of the game's horizon-extras.txt, so the launcher and the game share one switch. While it is on the game never opens its control socket, horizon-ctl refuses every command with exit 4 and kind denied, horizon-ctl mcp and horizon-launcher mcp refuse to start (and refuse calls if it is turned on mid-session), and horizon-launcher no-ai [on|off] shows or sets it. The game's extras keep the key when they rewrite the file. Both e2e harnesses check it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
572 B
Rust
25 lines
572 B
Rust
//! Horizon's initial simulation primitives, targeting the Minecraft Java Edition version in [`version`].
|
|
//!
|
|
//! This is not a playable game. Differential checks cover only the operations
|
|
//! listed in docs/rust-parity.md; the rest of vanilla remains unimplemented.
|
|
#![forbid(unsafe_code)]
|
|
|
|
pub mod biome;
|
|
pub mod carving;
|
|
pub mod density;
|
|
pub mod geometry;
|
|
pub mod jmath;
|
|
pub mod no_ai;
|
|
pub mod noise;
|
|
pub mod paletted;
|
|
pub mod position;
|
|
pub mod random;
|
|
pub mod storage;
|
|
pub mod text;
|
|
pub mod ticks;
|
|
|
|
pub mod release;
|
|
pub mod version;
|
|
|
|
pub use version::VANILLA_VERSION;
|