Lane Filtered Loaders


Loaders can be selected and changed to have lane-specific filters. Does not add loaders, another mod must be used to add them. Requested by Sunrosa on Discord.

Tweaks
4 months ago
2.0
2.06K
Logistics

g [fixed] Copy/Paste Doesn't Retain Loader State

8 months ago

When using this mod, copying and pasting a loader does not retain its current filter state (generic or lane-specific filters), so would it be possible to make copy/paste automatically preserve this state? Thank you!

8 months ago

Are you copy/pasting then placing manually?

8 months ago

For example, if I place a new default generic loader, and copy data from an already placed lane filtered loader. The new one wont change to a lane filtered state.

8 months ago

I see. The issue is that they are technically two different entities, so copy/pasting data doesn't work. I'm no expert here, but I'll see if I can figure something out.0

8 months ago

Thanks! Maybe there’s a copy/paste related event that could be used? Perhaps the entity change could be handled similarly to how it’s done in the GUI switch.

8 months ago

The entity change isn't what I'm worried about, but rather hooking onto a copy/paste event. There's only one to begin with, and I don't recall what cases it covers. I'll ask around, I know this issue has come up before.

8 months ago

After asking around, it looks like I can make it copy over when using shift+right/left click, but not when copy/pasting using shortcuts or blueprints.

8 months ago

That’s more than enough for me! A small limitation isn’t a big deal—your mod has already helped me so much in my long battle with Pyanodons. Haha, take your time, and thanks again!

8 months ago

Fixed in latest release! I also noticed and fixed an issue where changing the type of loader when a ghost is selected would place an actual loader entity down

8 months ago

Brilliant! Really appreciate your work!

8 months ago

Thanks! Always glad to hear

3 months ago
(updated 3 months ago)

This (or something similar) occurs in the current version for me. I notice it most when I place down a blueprint. The lane filter flag is the opposite of what I the blueprint has.

3 months ago

I also run into similar issues - I'd highly recommend the default setting for the player setting for freshly-built loaders be set to false instead of true, which will drastically cut down on these sorts of issues since loaders won't be lane-filtering by default.

3 months ago

These issues are being fixed in a unified loader mod, since in 2.0.65 Wube added a new loader property (respect insertion limit) and trying to manage 3 possibly interconnected mods is not worth the trouble. I will send a message here and update these mods accordingly once that combined loader mod is released.

2 months ago

Oh cool, I didn't know there was a "respect insertion limit" option for loaders now! I'm looking forward to that, that gets rid of the main downside to using loaders in 90% of cases :D

12 days ago

This (or something similar) occurs in the current version for me. I notice it most when I place down a blueprint. The lane filter flag is the opposite of what I the blueprint has.

I have read into the code abit, it seems the problem is caused by the mod (alongside the always output full stacks one) will attempt to toggle the "mode" of the loader whenever it is placed, be it from inventory or as a blueprint, if you have the option to toggle the default enabled as your per-player settings. Turning that option off will stop the loader settings from getting flipped when you pasted down a blueprint.

One way to fix this would be for the mod author is to create a new fake type of entity and replace the item placement result and then have it (and only the fake entity) replaced by an appropriate type of loader depending on your settings, so that the replacement code is not run when you are pasting a blueprint which would already be the entity that has the settings applied.

New response