Cooldown Coordinator
Fabric library mod designed for coordinating item movement cooldowns
Main Purpose
This library enables the creation of hybrid item transportation systems that combine standard Minecraft hoppers with blocks from other mods. The primary goal is to ensure predictable and consistent behavior of sorting systems composed of various types of transporters.
How It Works
The mod provides an interface for implementation and a method to call when a cooldown should be activated. The method can be safely used with any BlockEntity. When the target object implements the interface, it receives notification of the cooldown and can perform appropriate actions. When this mod is installed, derivatives of HopperBlockEntity that do not override the insert() and innermost transfer() methods automatically implement the interface and coordinate with other supporting blocks.
Developer Usage
For proper coordination to work, developers need to consider important implementation details, including determining when to activate cooldowns. Detailed information can be found in the library's javadocs or on the corresponding wiki page.
Development Prospects
The author expresses hope for including this functionality or a similar solution in the Fabric API. Currently, the project is in active development and testing phase. With successful operation and community interest, the mod will be maintained before and after possible integration into Fabric.