I want my function in my data-pack to be executed in a certain amount of time, but I don't know how to do it. It thought of this idea to fix my problem!
Setting configuration for functions has: [time, chance, private]! The file would be, "data/<namespace>/functions/<name of function>" as a "mcfunction.config"!
Setting up one would be like this:
{
"minecraft:time": 60
"minecraft:chance": 0.6
"minecraft:private": false
}
Time is the value where how much would take to be executed.
Chance is the value of the chance of it being executed.
Private is an extra feature that I came up with, it would be used for if you want it to be only for the inside like tags or executed by functions!
Mine would be like this if it was added!
{
"minecraft:time": 120
}Please sign in to leave a comment.
0 Comments