Is there any way I can count the number of blocks a player steps on during gameplay and display it in some kind of scoreboard?
Minecraft – way to count the number of blocks a player steps on
minecraft-commandsminecraft-java-edition
Related Topic
- Minecraft Java Edition – How to Award a Player on Every Kill Using Command Blocks
- Minecraft – ny way to numerically retrieve and store the block ID of a block in the scoreboard using command blocks
- Minecraft – How to display arbitrary text and numbers in the scoreboard sidebar
- Minecraft Java Edition – Is There a Way to Put Spaces in a Scoreboard Player Name?
- Minecraft Java Edition – How to Calculate Greater and Smaller Player Scoreboard Values with Commands
Best Answer
There is a tracked stat for distance travelled:
stat.walkOneCm
, which will let you know how far the player has walked in blocks/100.