updated again with the .zip folder
Updated with datapacks, and pictures showing outputs when
/function test:helloworld
as can be seen on the singleplayer world, functions correctly and outputs as expected.
Uploaded the exact world to the Snapshot Realm.
On the Snapshot Realm however there is no autocomplete and when typed in it has no knowledge of the function.
World is a fresh superflat world with nothing else changed except the datapack.
Also attached is an image of the result of
/datapack list
run on the Snapshot Realm, which shows that the datapack is correctly setup and enabled, it just does not correctly read the function folder.
Last attachment is the folder hierarchy for the test datapack.
confirmed in 1.21 Pre-Release 1