mojira.dev
MC-146606

/schedule function command not executing at all

when using the /schedule command, scheduling a function with any time doesn't work at all and the command is never executed. For example with the datapack attached, doing /schedule function example:summon_pig 5s should summon a pig, say 'Example' then set the time to 0 but it doesn't and no matter what its set to it doesn't work.

Linked issues

Attachments

Comments 1

Function scheduled via /schedule are executed by the server, which isn't an entity. Hence, @s does not match any entities, so none of the /execute as @s commands does work when used in a function executed by /schedule.

John Smith

(Unassigned)

Unconfirmed

Minecraft 19w12b

Retrieved