惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
博客园 - Franky
罗磊的独立博客
G
Google Developers Blog
The GitHub Blog
The GitHub Blog
P
Proofpoint News Feed
Recent Announcements
Recent Announcements
V
V2EX
F
Fortinet All Blogs
阮一峰的网络日志
阮一峰的网络日志
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
U
Unit 42
GbyAI
GbyAI
A
About on SuperTechFans
WordPress大学
WordPress大学
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
Martin Fowler
Martin Fowler
D
DataBreaches.Net
The Cloudflare Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MongoDB | Blog
MongoDB | Blog

ktz.

Faking disks to look real with QEMU and Proxmox Control a Mitsubishi mini-split with ESPHome and Home Assistant for $10 The Enshittification of Plex 💩 I read a book. Codex is changing how I think about computers Factorio: Controlling imports from Space Factorio: Recycler Belt Stacking Was Solar Worth It? AppArmor's Awkward Aftermath Atop Proxmox 9 Unprivileged LXCs are just a bit annoying My Terminal and Editor Theming Proxmox 9 broke my docker containers What if..? Self-Hosted 150. Fin. How to enable Intel Quicksync on NixOS with a Supermicro X13SAE-F and an Intel i5-13600k
Factorio: Controlling Space Ship collector filters via ci...
Alex Kretzschmar · 2026-04-09 · via ktz.

In Factorio Space Age building Space Ships is a core part of the game. Gathering space rocks to process into raw materials is the most fundamental part of ship building. But how do you stop your ship filling up with just one type of space rock chunk?

The solution involves a Space Age feature of reading belt contents.

Hook ups

I design my ships typically with one big belt for all collectors to deposit their Asteroid chunks onto with no splits or other joins. This is because reading the belt contents only works for a single continuous belt sector. I could use circuits to sum up multiple sections but after a while this design constraint just becomes habit and you remove items with filtered inserters rather than splitters.

💡

I use the mod Circuit Visualizer to make it easier to see which circuit nodes hook up to what.

The first step on our journey, assuming we've placed collectors and have them outputting onto a belt, is to connect a single segment of belt to the input of a Decider combinator. Red or green doesn't matter, just be consistent (I used red here). Set the belt to Read belt contents - Hold (all belts) and this will provide the contents of that belt as an output to the circuit network to be used for conditional logic.

Constant combinators hooked up to green input of Decider

In order to tell the Decider how many chunks of each type we want I used a Constant combinator. This Constant was hooked up to the Deciders green input.

Constant combinator. How many? Of what chunk type?

Next we want to configure the Decider combinator to compare the number of chunks on the belt vs the number of chunks we'd like on the belt.

The decider decides which output signals are sent to the Asteroid collectors

Now we can evaluate RED vs GREEN like so: IF RED INPUT (chunks on belt) IS < GREEN INPUT (chunks we want) THEN OUTPUT CHUNK TYPE. We can do this using the EACH operator represented by the yellow icon with 3 lines.

The Decider will only output a chunk signal if the conditional is TRUE for EACH chunk type.

The green wire connects all Asteroid collectors together.

Next, hook up the output of the Decider to all Asteroid collectors at once. The configure each collector with SET FILTERS to allow the circuit network to control them.

Notice that the collector is disabled because all requested chunks are present on the belts

And there we have it. Each Asteroid collector will now only collect the chunk types required to fulfil the conditional logic