r/CreateMod • • 16h ago

Making machines stop once out of components

i made this simple spinning contraption to make casings for me (if it sucks i could use the feedback) but one massive issue it has is that if a non block component runs out (alloy, axe) it keeps placing blocks and making a mess.
i'd like it if there was a way to make it so it stops or just doesnt place blocks as long as it doest have all components but idk how

16 Upvotes

7 comments sorted by

14

u/cmbackflip 15h ago

It would be cheaper to do this on a belt using a sawmill and a deployer. Then you don’t have to supply it with an axe. Logs come out of a chest onto belt > saw strips them > deployer deploys ingot > casings go into chest.

7

u/11OwO22 13h ago

oh yeah that sounds much better lol, and it solves my issue! thanks a lot

2

u/CremePuffBandit 15h ago

You'll probably have to try a different method, there's no way to track what's inside a moving contraption as far as I know.

1

u/Glockamoli 1h ago

You can't run a comparator from the chest to a clutch or something and kill the power that way?

You'd end with 1 set left in the contraption still but that should be fine

1

u/CremePuffBandit 1h ago

Redstone doesn't work on moving contraptions. To do it like that, OP would have to either check items in a chest outside the machine that get fed in with a portable storage interface, or use create aeronautics and have it be a sub level

1

u/Glockamoli 24m ago

Ah I see, I'm too used to Aeronautics for moving contraptions

2

u/Ben-Goldberg 10h ago

If you don't want to use a saw...

After every casing, move the contraption so it's portable storage interface and a stationary PSI are adjacent, and try to automatically put an axe into the stationary PSI.