Перейти к содержимому
Mineforgian

Context Schedule

Simple library to schedule functions with entity context.

Загрузки
18
Подписчики
0
Обновлён
5 июня 2026 г.
Лицензия
AGPL-3.0-only

Опубликован 9 мая 2026 г.

img

Context Schedule is a Datapack Library that provides functions to schedule commands but conserving the entity context.

Usage

First, add the function context_schedule:api/load to your minecraft:tags/function/load

Then, run this command as the entity you want:

function context_schedule:api/schedule {args:{ticks:10,function:"say hihixd"}}

ticks Means the ticks to delay the command.

function Means the command that will execute after the delay.

You can directly write the command as

function context_schedule:internal/entry {ticks:10,function:"say hihixd"}

It will work the same, the function/api/schedule its just to make it fancier, and its easier to deduce by yourself.

Комментарии

Загружаем…