When the game can't parse a predicate in a data pack, it will show the following error:
Couldn't parse loot table namespace:fooIf there is both a loot table and a predicate with that name, this can lead to confusion.
Linked issues
is duplicated by 1
Attachments
Comments 3
I cannot reproduce this anymore, the issue appears to have been fixed in 23w14a:
The predicate loader was refactored to use its own distinct error path, which now correctly outputs Couldn't parse element predicates:namespace:foo instead. This makes it clear in the log that the failing resource is a predicate and not a loot table. It is worth noting that on 1.21+ and later snapshots, broken predicates produce no log output whatsoever.
Confirmed. I attached a test datapack.