COWMODSКаталог модов

Stockkeeping

Adds a redstone component that reads the amount of a specific item in an inventory.

Автор: AquaAdAstra3112обновлён 7 янв. 2026 г.
ХранениеТехнологии

Описание

Adds a comparator-like block that reads the amount of an item in the inventory it faces.

The filtered comparator can be placed in any direction, and outputs an analogue redstone signal like a comparator facing the inventory-containing block (or, inventory-containing minecart on a detector rail) - but the filtered comparator only counts the item in it's filter slot.

Performance

  • To avoid constantly checking each inventory every tick, the Filtered Comparator only updates upon a comparator update from the block it's facing.
    • (This may cause edge cases with inventories that don't output comparator updates, or upon placement facing a chest minecart with no detector rail.)

Compatibility

  • Supports drag and drop for setting filters by EMI.
  • The Serial Port from TIS-3D can read the exact number of detected items (provided it fits in a short, that is.)
  • Functions as an InRed device for YTTR's WIP Cuprosteel wires, providing a range from 0-63 that doesn't attenuate.

...And lack thereof

  • Whilst I'm unsure, I believe this will not function with Modern Industrialization machines, as from what I recall, those do not output Comparator Updates.
  • If an inventory cannot be seen by an unmodified vanilla hopper, then the Filtered Comparator will be unable to read it.

Mixins

  • AbstractBlockStateMixin: injects at the head of isOf to return true if a Filtered Comparator is checked if it's a regular comparator.
  • World: injects at the head of updateComparators to also update vertically, but only for Filtered Comparators.
  • Several mixins to itself for adding conditional compatibility for YTTR when both mods are loaded.

Галерея

Filter InterfaceA surpriseBonemeal DetectionComparator output

Последние версии

Все версии →
release

Stockkeeping 1.4

1.4
7 янв. 2026 г.163Minecraft: 1.20.1fabric, quilt
Скачать
Что нового
Fixes an off-by-one error, and adds support for Yttr's (WIP) InRed Cuprosteel wires for more resolution.
release

Stockkeeping 1.3

1.3
7 янв. 2026 г.31Minecraft: 1.20.1fabric, quilt
Скачать
Что нового
Fix redstone output scaling to be closer to that of a comparator.
release

Stockkeeping 1.2

1.2
25 нояб. 2025 г.34Minecraft: 1.20.1fabric, quilt
Скачать
Что нового
Somehow overlooked making the Filtered Comparator more sturdy than _a slime block._ It should now be correctly breakable.
release

Stockkeeping 1.1

1.1
7 окт. 2025 г.47Minecraft: 1.20.1fabric, quilt
Скачать
Что нового
Properly update adjacent blocks when moved with a Supplementaries Pulley - additionally, properly unpower weakly powered blocks adjacent to the output when the block is removed.
release

Stockkeeping 1.0

1.0
3 окт. 2025 г.35Minecraft: 1.20.1fabric, quilt
Скачать
Что нового
Initial release - this is yet our first proper mod for the game, if we have broken any conventions that cause incompatibilities, please raise an issue in the git repository! - Adds the Filtered Comparator - Adds EMI integration - Adds TIS-3D integration