mojira.dev
MC-305698

functions fail to load when starting world due to "components not bound yet"

When starting a server with datapacks present, some functions are not loaded

example

2026-01-13 19:42:18 [ERROR] Failed to load function minion:_minion/__seek_via_guide
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 5: Could not parse command: Components not bound yet at position 59: ...d with air<--[HERE]
        at java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:323)
        at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:359)
        at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:364)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1791)
        at net.minecraft.server.packs.resources.SimpleReloadInstance.lambda$prepareTasks$1(SimpleReloadInstance.java:51)
        at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1750)
        at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1742)
        at java.base/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1659)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:511)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1450)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2019)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 5: Could not parse command: Components not bound yet at position 59: ...d with air<--[HERE]
        at net.minecraft.commands.functions.CommandFunction.fromLines(CommandFunction.java:80)
        at net.minecraft.server.ServerFunctionLibrary.lambda$reload$3(ServerFunctionLibrary.java:85)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1789)
        ... 8 more

That function failed on item replace entity @n[tag=_guide] weapon.mainhand with air

But mostly it seems to be any function which has something like

give @s music_disc_creator[consumable={consume_seconds:2000000,animation:none,has_consume_particles:false},!jukebox_playable,item_name="Bucket of Pufferfish",item_model=pufferfish_bucket]

Typing reload in the console or logging in and running /reload fixes it, but as far as I can tell I’m not doing anything out of the ordinary.

It’s also being reported as

2026-01-13 19:42:18 [ERROR] Failed to load function evo:inventory_update
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 4: Expected literal # at position 39: ...ntainer.* <--[HERE]

for the command execute if items entity @s container.* #evo:enchantable[!minecraft:enchantments={},!minecraft:custom_data~{tagged:true}] run function evo:update_itemswhich does look like it’s actually the components failure masked as something else.

Comments 2

Hi!
Thank you for your report! 

  • Can you attach an example data pack the issue occurs with?

Quick Links
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

knirch

(Unassigned)

Plausible

(Unassigned)

26.1 Snapshot 3

Retrieved