mojira.dev
MC-273152

Datapack listed but not loaded

The datapack installed is loaded and can be checked using /datapack list but the functions doesn't actually work or show up when typing{{ /function}}

This is not related to the changes made in 24w19a where folders are renamed to singular form since the datapack only include tags/functions and they were not mentioned to be changed in the changelog. This issue is seen from snapshot 24w21a to the current 1.21-pre4. Updating the pack version to the corresponding latest versions didn't seem to work as well. Below is a simple datapack only using functions

EDIT: Nevermind I read the changelog of 24w21a 

Environment

OS: Windows 10
Java: JRE 22.0.1

Attachments

Comments 1

Hey, i just had this same exact issue, but turns out in 24w21a, they changed the naming of some folders, the changelog says:

  • Some registry types that used legacy datapack directory names (based on plural name of element) have been renamed to match registry name

  • Affected directories:

    • structures -> structure

    • advancements -> advancement

    • recipes -> recipe

    • loot_tables -> loot_table

    • predicates -> predicate

    • item_modifiers -> item_modifier

    • functions -> function

    • tags/functions -> tags/function

this should fix it, and this ticket should be closed as Invalid.
glad I'm not the only one who made this mistake though xD

migrated

(Unassigned)

Unconfirmed

1.21 Pre-Release 4

Retrieved