mojira.dev
MC-277015

Functions containing uninstantiated macro commands terminate function tag completion

Description:

When calling a function tag without macro arguments, not only will the first macro function fail but all succeeding functions in the tag are never executed.

Steps to reproduce:

1. Download the attached datapack which provides two functions named dev:a:

$say $(a)

and dev:b:

say b

with a single function tag #dev:tag which runs dev:a before dev:b

{"values":["dev:a","dev:b"]}

2. Call /function #dev:tag

Expected behavior:

✔ dev:a fails to instantiate due to missing macro arguments

✔ dev:b executes as the next sequential function in the tag and prints the message "b" to the chat

Observed behavior:

✔ dev:a fails to instantiate due to missing macro arguments

❌ dev:b (and any number of succeeding functions) is never executed and no message is sent to chat

Attachments

Comments 2

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Oligo

(Unassigned)

Confirmed

Data Packs

1.21.1, 24w39a

Retrieved