Ask Games Video Games

Help in making a speedometer in minecraft

I am want to get position of the player at every game tick. Then using position of player at tick n and tick n+1 we can calculate speed of player at anytime. The problem i am facing is how do i get the position of player at any game tick as a variable in .json file or .mcfunction file to perform an operation.(In Minecraft Java edition )

Leave a Reply

Your email address will not be published. Required fields are marked *