Mineuniverse
Log in Register
Mods

Enhanced Comparator

Adds comparator support for every IInventory
by Ephys
Claim this project
1,786 downloads
0 likes
Updated Jun 30, 2026
0 hypes

What is this mod ?

It "fixes" the laziness of 99% of modders out there (including me) who forget to implement the comparator input override for their blocks.

What does it do ?

If the block has a comparator input override, it will behave just like the vanilla comparator

Otherwise, if the block is an inventory, It will emit a strength depending on the contents of the inventory behind it, just like a comparator.

There is also a bit of special code for some blocks (so far the anvil and the noteblock). The system is modular and I can add specific comparator support for any block if the inventory content is not the best option (or you can, via the dev API).

So... I used it and it's cool and all but sometimes the redstone signal does not update even though the inventory changed, what do I do ?

That's because the inventory did not call IInventory.markDirty() when it's inventory changed (at least I think that's the reason from what I learned playing with inventories), tell the mod author about this bug (avoid spamming him/her, be polite, blablah, plzthx).

There might also be trouble with remote inventories (like transvector interfaces, remoteIO, etc) because the block that would update is the original block and not the interface (as there is no really good way of detecting that a block updated)

Can I hotfix that problem ?

Yup, place a redstone clock a block away from your comparator, it doesn't have to touch it. As long as nearby redstone updates, the comparator will update too.

No files available for download.

More from Ephys

Configurable Beacons (Forge)
83,933
CookieCore
8,272,732
Tinkers' Steelworks (fork)
707,172
Magic Feather
4,933,873
Player Proxies
4,418
Respect Your Elders
3,812

You Might Also Like

Rope Bridge
Ever wanted to build a rope bridge to an inaccessible area? With Rope Bridge, you can!
9,737,029
Ender IO Forestry
Forestry integration module for a modular Ender IO installation
998,058
Immersive Industry (1.16/1.20)
Introduce more various process and energy production machines to Immersive Engineering.
978,517
[IV/MTS] Q.M.P [Qawsed Military pack]
Military armor NATO and SOVIET Army
97,945
CreepTech
Technology + Adventure
9,965
[Immersive Vehicles] Ghost Corporation (Ghostride)
Pack for Immersive Vehicles, adds cars from my imagination
9,960