Detect Distance Travelled Based On A Scoreboard Procedure

Started by Brutikzz on Mon, 02/01/2021 - 22:08

Topic category: Help with MCreator software

Last seen on 18:13, 1. Mar 2021
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Detect Distance Travelled Based On A Scoreboard Procedure
Mon, 02/01/2021 - 22:08

Hey,
I would like to detect how far I travelled, using the scoreboard procedure block, but it doesn't work.
I use a command to print out the distance but it always print out 0.
Am I allowed to use vanilla statistics like "minecraft.custom:minecraft.walk_one_cm" at all?
And how do I use this procedure block for vanilla stuff?

Test Procedure

Last seen on 18:28, 9. Apr 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
make a procedure that…
Tue, 02/02/2021 - 10:26

make a procedure that updates an NBT tag every time you change block, and use that NBT tag as your "distance walked"