From d463fd4befa76bf785621505065959682898e1b9 Mon Sep 17 00:00:00 2001 From: NSDeathman <104826306+NSDeathman@users.noreply.github.com> Date: Mon, 18 May 2026 17:06:23 +0400 Subject: [PATCH] TU31 feature: Arrows decelerate underwater and extinguish if on fire --- Minecraft.World/Arrow.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Minecraft.World/Arrow.cpp b/Minecraft.World/Arrow.cpp index 1f26bada..4f2c4161 100644 --- a/Minecraft.World/Arrow.cpp +++ b/Minecraft.World/Arrow.cpp @@ -445,7 +445,13 @@ void Arrow::tick() float s = 1 / 4.0f; level->addParticle(eParticleType_bubble, x - xd * s, y - yd * s, z - zd * s, xd, yd, zd); } - inertia = 0.80f; + inertia *= 0.1f; + gravity *= 2.0f; + } + + if (isInLava()) + { + setOnFire(100); } xd *= inertia;