Skip to content

Matemáticas de Velocidad y Vectores

Esta página detalla las fórmulas matemáticas, la mecánica vectorial y las conversiones de tick a segundo utilizadas por Velocímetro.


📊 Cuadro de fórmulas matemáticas

PropiedadFórmula / Valor
Frecuencia de ticks vanilla$20.0\text{ ticks} = 1.0\text{ segundo}$
Native Speed Sourceentity.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 Measurementbloques por segundo (b/s)
Display Precision%.2f (Locale.ROOT)

🧮 Fórmulas matemáticas

Minecraft calcula el movimiento de entidades internamente por tick. Sea $\vec{v} = (v_x, v_y, v_z)$ el vector de velocidad de entity.getKnownSpeed() en $\text{blocks/tick}$.

1. Conversión de velocidad 3D total

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

2. Velocidad horizontal ($H$)

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

3. Velocidad vertical ($V$)

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


🔄 Matriz de conversión de tick a segundo

Acción de movimientoVelocidad cruda ($\text{blocks/tick}$)Horizontal ($H$)Vertical ($V$)Salida de Speedometer (b/s)
Caminando$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)
Corriendo$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)
Corriendo + Saltando$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 (Hielo 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)
Picado con É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

Official documentation & web portal for Dasik Igaijinn mods.