I've seen that cakes can turn a comparator on, and the number of slices available corresponds to the signal strength. I was thinking about using an inverter to activate a dispenser and place a new cake after the first one is totally consumed. However, the dispenser will only drop the cake as an item, and not place in on the ground, ready to be eaten. Is it possible to place the cake on the ground automatically?
1 Answer
In Survival? No.
With commands? Yes, you could for example place a pumpkin into the dispenser instead and have a repeating command block somewhere (or ticking function) with /fill <coordinates> <coordinates> cake replace pumpkin
, where both coordinate sets are the same, the one block where the cake should be.
-
Thanks, I'll try that. But what's the point with the pumpkin, is it placed on the ground by the dispenser, while the cake is not? And though I need "creative" to implement a command block, will it work on "survival" or not? Only in "survival with cheats"?– RodrigoCommented Apr 18, 2019 at 3:17
-
Yes, dispensers place pumpkins, that's usually used to create snowmen or iron golems. It was the first thing that came to my mind, I could also have used heads, flint and steel, TNT or spawn eggs. And there are lots of other alternatives that require certain conditions or are not stackable. Commented Apr 18, 2019 at 6:08