klikli-dev / occultism

A magic mod inspired by the world of Jonathan Stroud's Bartimaeus. With the help of occult rituals players can summon entities from the "Other Side" to perform magic.
https://www.curseforge.com/minecraft/mc-mods/occultism
MIT License
74 stars 47 forks source link

Storage Level Indicator #1217

Open MuteTiefling opened 1 month ago

MuteTiefling commented 1 month ago

Is your feature request related to a problem? Please describe. It would be nice to have an efficient way to read what's in storage for the purpose of enabling/disabling machines.

Describe the solution you'd like From what I understand, your spirits and Theurgy 'pipes' are optimized to handle the storage system efficiently, where other mods filtering info out of it may cause problems. I assume this holds true for anything that would be attempting to read the stored amount of an item in the system as well.

Therefore, it seems like it'd be a good idea to have some kind of block that can monitor a specific item and give a configurable redstone signal based on what's in there.

Additional context Some form of Spirit Attuned Crystal themed block may be nice for this. Bind to an actuator the same way as wormholes are bound. Place, then right click to access a gui where you can pick an item and set a level to emit redstone at. Very similar to an AE2 level emitter, really.

klikli-dev commented 1 month ago

Yeah this is a good point, we should add it. Storage monitoring will be highly efficient if a template / target item is known