Common Signals
作者:rebot | 分类:模组
Minecraft 版本: 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2
平台: datapack
标签: library
Common Signals
? Common Signals is a library datapack that provides signals through function tags to help developers optimize their datapacks.
The initial goal is to prevent multiple datapacks from ticking the same inefficient @e selectors.
Available Signals ?
? Common Signals provides several function tags that developers can hook into:
#common_signals:signals/on_new_item: ? Triggered when a new item entity is detected in the world (not having thecommon_signals.checkedtag)
Feel free to suggest new signals!
Usage for Developers ?
- ? Create a datapack that depends on Common Signals
- ➕ Add functions to the signal tags you want to listen to
- ⚡ Your functions will be called whenever those signals are triggered
⭐ Star History
请登录后举报
暂无评论,抢个沙发吧~