Data Packs
Data Pack is a collection of files, that extends & overrides minecraft data
directory. Thats the best definition you can get.
It lets you create functions, tags, advancements, recipes, predicates and more.
Every minecraft world has default data pack installed, its called vanilla, what you can confirm by doing
datapack list enabled
.
You can find this pack and its contents by going into .minecraft / versions / <Version you want to check>
and extracting the .jar
file as an archive, you will see the data
and assets
directories inside.
Thus, people always have several data packs installed, if they have installed at least one.
It opens topic about pack compatibility. When developing, you must always encounter other possible packs used by the end user.
Thats the reason namespaces exist!