Mindustry: Allowing unloader to pick items from PowerBlock or CraftBlocks

Created on 13 Sep 2019  ·  8Comments  ·  Source: Anuken/Mindustry

ezgif-4-bacd8102f2e2

This would enable some compact design of chaining power/craft blocks.

Most helpful comment

That's because the implementation shown uses extends StorageBlock to apply unloadability, which makes them inherit the trait of not linking to conveyors. My implementation uses a different approach, which doesn't have that issue.

All 8 comments

意思就是卸载器可以从任何方块上提取对应物体?
you mean unloader can unload items from all blocks?

This could be an interesting mechanic. I'll put up a poll tomorrow to see what everyone thinks about it.

I saw someone suggesting the unloader should unload from

  • power generators
  • craft blocks
    I've made the patch and it seems could leads to more compact designs. Yeah, let's make a poll.

If I were to implement it, I would make all blocks have a unloadable variable that is set to true for nearly all blocks-- the sole exception would be things like routers, conveyors and junctions.

My patch is basically

public class PowerDistributor extends StorageBlock{
public class GenericCrafter extends StorageBlock{

Not sure if we need this feature for other blocks, but unloadable is more generic if we were going to do so.

That sounds like an eggcelent idea!

Why aren't the conveyors connecting to the alloy smelters? Do you need unloaders to output from every single block now?

That's because the implementation shown uses extends StorageBlock to apply unloadability, which makes them inherit the trait of not linking to conveyors. My implementation uses a different approach, which doesn't have that issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zabzabzab picture zabzabzab  ·  3Comments

mindustrybeta picture mindustrybeta  ·  3Comments

SuperStormer picture SuperStormer  ·  3Comments

nodevlfrb picture nodevlfrb  ·  3Comments

ajd07 picture ajd07  ·  4Comments