mojira.dev
MC-273896

The datapacks can be recognized but the content cannot be loaded correctly

Starting with the 24w21a snapshot, all subsequent versions can still recognize datapacks, but the datapacks have no effect at all.

For example, I attached a datapack named test, put it in the datapacks folder, and use the /reload command in the game. If the datapack is loaded successfully, the system will feed back to the chat bar, but 24w21a did not show the relevant feedback

Later I also tried other datapacks, such as xklazy, xksmallmap, the same problem, the datapack was recognized, but the contents could not be loaded

Linked issues

Attachments

Comments 7

[^JBWR3M`@XTO{XISCTE(H[6J.png]

[media][media]

Are you sure these data packs are made specifically for version 1.21? There have been significant changes over the format.

I didn't know that the format of the datapack had been updated. Where can I refer to to make the datapack now? Most of the data packages on the Internet are now unavailable

In 24w21a a lot of datapack folder names have been changed. Maybe you forgot to change the name of "functions" folder to "function" ?

THANKS!!!Maybe I can look at some of the latest tutorials. Can you recommend some?

I recommend slicedlime's Data Pack changes videos, which you can watch here.

meishi

(Unassigned)

Unconfirmed

(Unassigned)

1.21

Retrieved