Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 2.47 KB

README.md

File metadata and controls

55 lines (44 loc) · 2.47 KB

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

💡