Minecraft wiki entry for Development_versions, associated text: Added new function system, which are plaintext files in world/data/functions/namespace/file.txt
Functions are a list of commands, one line per command, with // or # comment support