Language

Cooldown Coordinator

Cooldown Coordinator

Modrinth

Fabric library to help mods coordinate item movement cooldowns

63.1k downloads 27 followers updated 1mo ago
latest v0.10.0-alpha.1 Modrinth
Fabric Quilt 1.18 – 26.1.2 LibraryStorage

Cooldown Coordinator

Fabric library to help mods coordinate item movement cooldowns

What it Does

Cooldown Coordinator is a library mod intended to enable heterogeneous networks of vanilla hoppers and item transferring modded block entities to move items throughout the network in a vanilla-alike and consistent manner. For example, one goal is to allow sorters consisting of a mixture of vanilla and modded hoppers, ducts, etc. to behave predictably.

How Does it Do it?

The mod provides an interface to implement and a method to call when a cooldown should be triggered. The method may safely be called with any BlockEntity as its argument. When the target BE implements the interface, it will be notified of the cooldown and can take whatever action it deems appropriate. When this mod is installed, descendants of HopperBlockEntity which do not override HBE's insert() and innermost transfer() methods automatically implement the interface and will coordinate with other implementing BEs.

How to Use this Library

There are some important details (f.e. how to know when a cooldown should be triggered) which implementors need to get right in order for coordination to work properly. See the library's javadocs, or take a look at the wiki.

Future Goals

I would like this mod or something similar to be part of the Fabric API. At present, it is somewhere between an RFC and a WIP. If it performs as intended and there is interest from the Fabric community, I intend to maintain the mod until (and beyond) it becomes part of Fabric or something better comes along.

Versions

Alpha
0.10.0-alpha.1
fabric, quilt · 26.1, 26.1.1, 26.1.2 · 1mo ago
- Update for Minecraft 26.1
128
Release
0.9.0
fabric, quilt · 1.21.11 · 1mo ago
- Release stable for 1.21.11
198
Alpha
0.9.0-alpha.1
fabric, quilt · 25w41a, 25w42a, 25w43a · 7mo ago
- Update to Minecraft 25w46a - Update Mixin Squared to 0.3.3 - Modernize HBE mixin slightly
241
Release
0.8.1
fabric, quilt · 1.20.5, 1.20.6, 1.21 · 20mo ago
- Fix minor breakage in 0.8.0
6.2k
Release
0.8.0
fabric, quilt · 1.20.5, 1.20.6, 1.21 · 20mo ago
* Releasing 0.8 as stable * NOTE the new maven repository: https://maven.gnomecraft.net/releases * Change MixinSquared dependency group to resolve conflicts…
363
Beta
0.8.0-beta.4
fabric, quilt · 1.20.5, 1.20.6, 1.21-rc1 · 22mo ago
- Loom 1.7 or above recommended - Moving to new maven repository - https://maven.gnomecraft.net/releases
362
Beta
0.8.0-beta.1
fabric, quilt · 1.20.5, 1.20.6, 1.21 · 22mo ago
- Simplify Fabric transfer API mixin using Mixin Squared - Release as v0.8.0 beta
187
Release
0.7.3
fabric, quilt · 1.20.5, 1.20.6, 1.21 · 22mo ago
- Fix backwards transfers from Hoppers aimed at no Inventory
215
Release
0.7.2
fabric, quilt · 1.20.5, 1.20.6-rc1, 1.20.6 · 25mo ago
- Fix repeated transfers to Fabric Transfer API-only modded blocks
768
Release
0.6.3
fabric, quilt · 1.19.3, 1.19.4, 1.20 · 25mo ago
- Fix repeated transfers to Fabric Transfer API-only modded blocks
22.5k
Release
0.7.1
fabric, quilt · 1.20.5, 1.20.6, 24w18a · 26mo ago
- Release for 1.20.5
786
Beta
0.7.0
fabric, quilt · 24w13a, 24w14a, 1.20.5-pre1 · 27mo ago
- Update for 24w13a - Follow Fabric transfer API changes - Use Mixin Extras to improve local capture reliability
245

Comments 0

No comments yet. Be the first to share your thoughts.