Minecraft: Java Edition 26.3 rewritten from scratch in Rust, checked against vanilla with 281 differential harnesses. Get it with the Horizon launcher.
Rust differential-testinggame-enginegamedevlinuxminecraftminecraft-javareimplementationrustvoxelvulkanwgpu
OptiFine emissive textures: pass the lookups, not closures around them
some-du6ee4e5f05b40ba
diff --git a/crates/horizon-client/src/game/armor_stands.rs b/crates/horizon-client/src/game/armor_stands.rsindex 36ba2c640..67e82845d 100644--- a/crates/horizon-client/src/game/armor_stands.rs+++ b/crates/horizon-client/src/game/armor_stands.rs@@ -895,7 +895,7 @@ impl Game<'_> {.emissive.read().unwrap_or_else(std::sync::PoisonError::into_inner);- emissive.overlay(texture).and_then(|e| uv_of(e))+ emissive.overlay(texture).and_then(&uv_of)};let Some(wood) = uv_of("entity/armorstand/armorstand") else {return;diff --git a/crates/horizon-client/src/game/dragon.rs b/crates/horizon-client/src/game/dragon.rsindex cc1d5da7b..b4feb1c50 100644--- a/crates/horizon-client/src/game/dragon.rs+++ b/crates/horizon-client/src/game/dragon.rs@@ -2760,7 +2760,7 @@ impl Game<'_> {.read().unwrap_or_else(std::sync::PoisonError::into_inner).overlay("entity/enderdragon/dragon")- .and_then(|e| sprite(e));+ .and_then(&sprite);if let Some(glow) = glow.filter(|_| mask.is_none()) {let full = horizon_client::mobs::render::FULL_BRIGHT;horizon_client::mobs::render::draw(model, base, &poses, glow, color, full, 0, out);