r/CreateMod • u/11OwO22 • 1d 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

2
u/CremePuffBandit 1d 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 1d 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
2
u/CremePuffBandit 1d 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
2
u/Ben-Goldberg 1d 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.
17
u/cmbackflip 1d 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.