mojira.dev
MC-198113

Incomplete commands do not prevent functions from loading

Incomplete commands in functions are valid, and they also seem to contribute to the total number of commands, this is both visible by the response message, and by limiting maxCommandChainLength. For example, the following commands are not marked as incomplete in a function, and so you are still be able to run the function:

advancement grant @s only
clone ~ ~ ~
tellraw @s
effect give
execute facing

Linked issues

Comments

migrated

Can confirm.

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-165773, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Mojang Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues in Discord or Reddit

ErrorCraft

MC-165773 only talks about execute though, this is about all commands, so I don't see how/why this is a duplicate?

MMK21

Affects 1.18. No errors are logged when loading the datapack or running the function. The function debug report looks like this:

utils:errors
    [C] advancement grant @s only
        [E] Unknown or incomplete command, see below for error    [C] clone ~ ~ ~
        [E] Unknown or incomplete command, see below for error    [C] tellraw @s
        [E] Unknown or incomplete command, see below for error    [C] effect give
        [E] Unknown or incomplete command, see below for error    [C] execute facing
        [E] Unknown or incomplete command, see below for error
MMK21

Affects 1.18.1

Former user

Affects 1.19

migrated

Confirmed for 1.19.3 and 23w07a.

ErrorCraft

boq

Confirmed

Commands

1.16.2, 1.16.4, 20w46a, 20w49a, 20w51a, ..., 1.18, 1.18.1, 1.19, 1.19.3, 23w07a

23w41a

Retrieved