mojira.dev
MC-302417

Load functions are executed after the player joins

When we join a map that there is Datapacks with the load functions with a tellraw command executed by #minecraft:load, we recieve the load messages.
It’s same for other commands, not only tellraw, but it’s an example to know if the load function is executed after ou before you joined.

I didn’t see this change in changelogs, so I think it’s a bug because the load functions are supposed to be executed before the player joined.

Steps to reproduce :

  1. Download the Test Load Function Datapack of medias (or any Datapack with a load function that execute a tellraw command)

  2. Put the Datapack in a world

  3. Join the world

  4. Look at the chat

Observed result :

After you joined the world, you recieved in the chat the message that says the Datapack is loaded. Because the load function as been executed after you joined the world, so you can see the message.

Expected result :

After you join the world, you don’t receive any message in the chat that saying the Datapack is loaded. Because, the load function as been executed before you joined the world, so you can’t see the message.

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

@slicedlime Really ?

But why it’s not said in change logs, and why there is this feature ? Because now we are spammed by a lot of load messages when we join a world with Datapacks

Loupieur

(Unassigned)

Confirmed

Platform

Important

Data Packs

1.21.9

Retrieved