Skip to content

CloudWolfYT/CW-Callback-Scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Callback Scheduler (Minecraft Data Pack)

All Contributors Discord Tutorial Downloads

Social Image

How to Use 📝

This datapack allows you to easily run commands at a later time AS one or more entities!
Since /schedule does not keep entity context, this pack helps maintain context without requiring hardcoded scoreboard timers or custom schedule functions.

How it Works! 🔨

First modify the data storage to contain the command you want to run and the entities you want to run it at, then run the scheduler. That is it! At the designated time the commands will be ran as the designated entities (when the command is scheduled)

Example:

function cb:schedule {ticks:31,selector:"@e",command:"say hi @s"}

This example will make every entity in your world say "hi (name)" after 31 ticks.

This pack uses the "gu" library to parse entity UUID integers into strings: https://github.com/gibbsly/gu

Contributors 🧱


Cloud Wolf

🔨

gibbsly

💡