desht / ModularRouters

A Forge Mod for item routers with pluggable modules
18 stars 21 forks source link

Feature: Allow clearing target of push/puller modules #13

Closed shabble closed 7 years ago

shabble commented 7 years ago

This might be possible, but I'm not sure how if so.

I accidentally set the destination for a half-stack of modules instead of just one, and although I can still re-target them elsewhere as normal, it would be nice to have a way to clear them back to empty destination/target so they will stack properly with the rest.

Usual methods for this are either placing it alone in a crafting table [ Module (configured) -> Module (clean)] or shift-right-clicking into the air.

The former seems less prone to accidents, but any method would be good.

MC 1.10.2 MR modular-routers-1.10.2-1.2.5.jar

desht commented 7 years ago

Yeah, that sounds reasonable. What I'll do is add recipes for all modules to allow them to be crafted into themselves, and doing so will reset all NBT on the module. That includes stored destinations, the filter, any module settings (whitelist, match meta etc.), and any enhancements which have been added.

desht commented 7 years ago

Actually, since it wasn't difficult, I've added both possibilities...

desht commented 7 years ago

Added in 1.3.0 & 2.1.0 releases, just uploaded.