Incredibly easy method to find ticks rate in 1.13

๐ŸŽ™๏ธ tryashtar ยท 13 points ยท Posted at 04:15:36 on November 9, 2017 ยท (Permalink)*


Previously, the worldborder was used to calculate the ticks per second, as it ran in real time while commands ran tick by tick. This was clunky and required taking use of the worldborder for this purpose alone. Fortunately, it is no longer necessary.

debug start
(wait some time)
execute store result TicksPerSecond value run debug stop

The number of ticks per second during the elapsed time (rounded down) will then be stored in the value score of fake player TicksPerSecond. It's a simple as that. Many thanks to /u/Dinnerbone for weaseling this one in there!

EDIT: I have suddenly realized that command blocks and functions don't have permissions to run /debug. I may in fact be incompetent.

jellywayne ยท 1 points ยท Posted at 10:39:31 on November 9, 2017 ยท (Permalink)

When I type the second command, the fake player's value score is always 19. Nomatter when I type the second command. And this cannot work in command block. It says "Incorrect argument for command at position 36: ...value run <--[HERE]"

What happened?

๐ŸŽ™๏ธ tryashtar ยท 2 points ยท Posted at 14:14:23 on November 9, 2017 ยท (Permalink)
  1. Sounds like your game is running at full speed then! :)
  2. Check my edit. :(
jellywayne ยท 1 points ยท Posted at 14:52:06 on November 9, 2017 ยท (Permalink)

Oh! I know how the command works. Thank you. Sadly it doesn't work in command block.