Example pack using markers
but not really
DOWNLOAD HERE:
Let's start by creating a simple function:
@function tutorial:greeting
say Hello, world!
And now we can make it run when the data pack is loaded!
@function_tag minecraft:load
{
"values": ["tutorial:greeting"]
}