From 937dcba5b8d7cc71b3ebd37672b7499fc15c093d Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 27 Oct 2026 07:02:05 +0100 Subject: [PATCH] A TNT minecart's fuse blast uses its horizontal speed only MinecartTNT.tick calls explode(getDeltaMovement().horizontalDistanceSqr()) when the fuse runs out; the vertical-speed branch has no vanilla source. Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/minecarts.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/crates/horizon-client/src/game/minecarts.rs b/crates/horizon-client/src/game/minecarts.rs index ceff3f127..6e27b6cbd 100644 --- a/crates/horizon-client/src/game/minecarts.rs +++ b/crates/horizon-client/src/game/minecarts.rs @@ -587,12 +587,9 @@ impl Game<'_> { self.particles .add(&ParticleOptions::simple(ParticleType::Smoke), at, [0.0; 3]); } else if c.fuse == 0 { + // explode(horizontalDistanceSqr()): a rising cart's + // vertical speed adds nothing. let speed = c.velocity.x * c.velocity.x + c.velocity.z * c.velocity.z; - let speed = if c.velocity.y > 0.0 { - c.velocity.y * c.velocity.y - } else { - speed - }; self.explode_cart(c, speed); return false; }