mojira.dev
MC-303894

Attempting to run a function tag with optional entries that contain macros with /function ignores all functions

Functions with macros break the rest of the chain even if ‘required' is set to false.


Below are the files used in the demonstration:

File: tag1.json

{
	"values": [
	{
      "id": "datapack:function1",
      "required": false
  },
	{
      "id": "datapack:function2",
      "required": false
  }
	]
}

File: :function1.mcfunction

$give @a $(item)

File: function2.mcfunction

say function2 is successful

The results are attached below.

Attachments

Comments 1

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

Vxl68

(Unassigned)

Confirmed

(Unassigned)

1.21.10, 25w44a

Retrieved