558d140fca
Rust's float functions use the platform libm, and vanilla's own Math results differ between x86-64 (Intel stubs, close to glibc) and AArch64 (fdlibm, with sin/cos evaluated using fused multiply-adds). jmath picks the same implementation HotSpot uses on the machine, so options, the world border's alpha and RandomPos match vanilla on an Apple silicon Mac as well as on Linux. The vanilla protocol client no longer records the game-time sync sent every 20 ticks: whether one arrives before the first chunk batch depends on when the client joined. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
816 B
TOML
42 lines
816 B
TOML
[package]
|
|
name = "horizon-core"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
description = "Horizon simulation foundations for the pinned vanilla Java Edition target"
|
|
|
|
[features]
|
|
# Records the call sites of LegacyRandom draws (mob AI parity debugging).
|
|
rng-trace = []
|
|
|
|
[dependencies]
|
|
libm = "=0.2.16"
|
|
|
|
[[bin]]
|
|
name = "horizon-parity"
|
|
path = "src/bin/parity.rs"
|
|
|
|
[[bin]]
|
|
name = "horizon-tick-parity"
|
|
path = "src/bin/tick_parity.rs"
|
|
|
|
[[bin]]
|
|
name = "horizon-geometry-parity"
|
|
path = "src/bin/geometry_parity.rs"
|
|
|
|
[[bin]]
|
|
name = "horizon-noise-parity"
|
|
path = "src/bin/noise_parity.rs"
|
|
|
|
[[bin]]
|
|
name = "horizon-density-parity"
|
|
path = "src/bin/density_parity.rs"
|
|
|
|
[[bin]]
|
|
name = "horizon-float-log-parity"
|
|
path = "src/bin/float_log_parity.rs"
|
|
|
|
[lints]
|
|
workspace = true
|