Common Signals

Minecraft datapack library aiming to make in common several selectors to improve optimization

264

Quick challenge

How far can you run before the mobs catch you?

Common Signals

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 the `common_signals.checked` tag)

Feel free to suggest new signals!

Usage for Developers 🔧

1. 📦 Create a datapack that depends on Common Signals 2. ➕ Add functions to the signal tags you want to listen to 3. ⚡ Your functions will be called whenever those signals are triggered

⭐ Star History

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Stoupy51/CommonSignals&type=Date&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Stoupy51/CommonSignals&type=Date" /> Star History Chart </picture>

ADS