Skip to content

pt_br Velocity Math and Vectors

Rifa edited this page Aug 25, 2026 · 1 revision

Matemática de Velocidade e Vetores

Esta página detalha as fórmulas matemáticas, a mecânica vetorial e as conversões de tick para segundo usadas pelo Velocímetro.


📊 数学 / Math Infobox

Property Formula / Value
Vanilla Tick Rate $20.0\text{ ticks} = 1.0\text{ second}$
Native Speed Source entity.getKnownSpeed() ($\text{Vec3}$)
Total 3D Speed ($S$) $S = \sqrt{v_x^2 + v_y^2 + v_z^2} \times 20.0$
Horizontal Speed ($H$) $H = \sqrt{v_x^2 + v_z^2} \times 20.0$
Vertical Speed ($V$) $V =
Unit of Measurement blocos por segundo (b/s)
Display Precision %.2f (Locale.ROOT)

🧮 Mathematical Formulas

Minecraft calculates entity movement internally per tick. Let $\vec{v} = (v_x, v_y, v_z)$ represent the velocity vector returned by entity.getKnownSpeed() in units of $\text{blocks/tick}$.

1. Total 3D Velocity Conversion

$$S_{\text{bps}} = |\vec{v}| \times 20.0 = \sqrt{v_x^2 + v_y^2 + v_z^2} \times 20.0$$

2. Horizontal Velocity ($H$)

$$H_{\text{bps}} = \sqrt{v_x^2 + v_z^2} \times 20.0$$

3. Vertical Velocity ($V$)

$$V_{\text{bps}} = |v_y| \times 20.0$$


🔄 Tick-to-Second Conversion Matrix

Movement Action Raw Velocity ($\text{blocks/tick}$) Horizontal ($H$) Vertical ($V$) Speedometer Output (b/s)
Andando $0.215\text{ b/t}$ $4.30\text{ b/s}$ $0.00\text{ b/s}$ Speed: 4.30 b/s (H: 4.30, V: 0.00)
Correndo $0.280\text{ b/t}$ $5.60\text{ b/s}$ $0.00\text{ b/s}$ Speed: 5.60 b/s (H: 5.60, V: 0.00)
Correndo + Pulando $0.340\text{ b/t}$ $6.20\text{ b/s}$ $2.42\text{ b/s}$ Speed: 6.66 b/s (H: 6.20, V: 2.42)
Barco (Gelo Azul) $3.500\text{ b/t}$ $70.00\text{ b/s}$ $0.00\text{ b/s}$ Speed: 70.00 b/s (H: 70.00, V: 0.00)
Mergulho de Élitros $2.500\text{ b/t}$ $30.00\text{ b/s}$ $40.00\text{ b/s}$ Speed: 50.00 b/s (H: 30.00, V: 40.00)

🔗 Páginas relacionadas

📖 Speedometer Wiki

🌐 Languages


🇺🇸 English
🇨🇳 简体中文 (Simplified Chinese)
🇭🇰 繁體中文 (Traditional Chinese)
🇷🇺 Русский (Russian)
🇪🇸 Español (Spanish)
🇩🇪 Deutsch (German)
🇫🇷 Français (French)
🇧🇷 Português (Portuguese)
🇯🇵 日本語 (Japanese)
🇮🇩 Bahasa Indonesia (Indonesian)
🇰🇷 한국어 (Korean)

🔗 External Links

Clone this wiki locally