How to get entity speed in Minecraft

Channel:
Subscribers:
33,600
Published on ● Video Link: https://www.youtube.com/watch?v=uvdx7yShVBg



Minecraft
Game:
Minecraft (2011)
Duration: 6:06
6,690 views
0


๐Ÿ’ก Code:
scoreboard objectives add x dummy
scoreboard objectives add z dummy
scoreboard objectives add vx dummy
scoreboard objectives add vz dummy

execute store result score .temp x run data get entity @s Pos[0] 100.0
execute store result score .temp z run data get entity @s Pos[2] 100.0

scoreboard players operation @s vx = .temp x
scoreboard players operation @s vx -= @s x
scoreboard players operation @s vz = .temp z
scoreboard players operation @s vz -= @s z

scoreboard players operation @s x = .temp x
scoreboard players operation @s z = .temp z

๐Ÿ”ต Discord Server: https://discord.gg/HyZPCTu
๐Ÿ’ป Website: https://cloudwolfyt.github.io
๐Ÿบ Twitter: https://twitter.com/cloudwolfbane







Tags:
Minecraft
Tutorial
How to
Speed
Entity Speed
Datapack
Function
Command Block



Other Statistics

Minecraft Statistics For Cloud Wolf

Currently, Cloud Wolf has 8,312,436 views for Minecraft across 523 videos. There's over 3 days worth of watchable video for Minecraft published on his channel, or 95.89% of the total watchable video on Cloud Wolf's YouTube channel.