mojira.dev
MC-141480

/forceload query can not be run from functions or command blocks

According to MC-136112 it is intended that /forceload can not be run from functions or command blocks because of how much damage could be done with it.

However /forceload query only delivers information but can't be run either.
It could however be useful to at least know if a chunk is forceloaded or not, be it just for debugging reasons or to notify the server owner of missing forceloaded areas they need to re-add to keep a datapack working.

I would also argue that datapacks can only be installed by the server owner to begin with and that there is commands that can do worse damage than /forceload.

Linked issues

Comments 2

Technically it's a feature request, so I'm closing as "Invalid", but might as well implement it.

@unknown That's great news, thank you so much!! <33

Panda4994

boq

Confirmed

Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03c, Minecraft 19w04a, Minecraft 19w04b

Retrieved