mojira.dev
MC-121996

distance filter seems to not work in gameLoopFunction

I attached test datapack with main_loop.mcfunction.
With gameLoopFunction=test:main_loop nothing is printed. I used NBTExplorer to set that gamerule because of MC-121783.
But message gets printed after typing command /function test:main_loop.

Attachments

Comments 1

that's because the function is run by the server and the server doesn't have a location, so it can't test how far something is away

Denis Chervakov

Nathan Adams

Unconfirmed

command, distance, gameLoopFunction

Minecraft 17w46a

Minecraft 17w47a

Retrieved