The bug
Commands that run from a scheduled function are listed under "weather" in profile results obtained with /debug start. In contrary, commands that run from the tick.json function tag are listed under "commandFunctions" > "minecraft:tick". Adding new "scheduledFunction" > "<function name>" profile path to match this behavior should be a simple fix.
Reproduction steps
Create a new world with default generation
Put the attached datapack
in the
datapacksfolder of the worldReopen the world or run
/reloadPress
F3+Lto start profilingWhile still profiling, execute
/schedule function mc-226038:test 1s appendOnce profiling has finished inspect the report, or upload it to https://misode.github.io/report/
❌ The commands of the function are listed underweather
Attachments
Comments 0
No comments.