Okay, so I'm making a minigame which I am planning to release when I am finished with it. The minigame is called "Cake Defense" There is 4 people, a defender and 3 eaters. The eaters have to get hungry and eat 3 cakes which the defender is trying to protect. I don't know how to make it so that when the three cakes are eaten, the game stops, puts a title on the screen and send the players back to the lobby. I already tried to put observer blocks underneath the cakes, but it sends the Redstone signal everytime a player eats a slice of the cake, I want it so that it detects when all the cakes are gone.
At first glance, try running repeating command blocks using the /testforblock command. If you have it looking for a cake at a specific location, there are ways to see if it returns false.
Sounds like a cool minigame. Good luck!
Rollback Post to RevisionRollBack
ot w6fgl' 26gLc4!ua toL gq^6ufnL6 gwoua f46 2fgL2° l!k6 pnL2f2 ot l!a4f ` f46,\ l6tf f46 blgu6f !u 24!b2
Okay, so I'm making a minigame which I am planning to release when I am finished with it. The minigame is called "Cake Defense" There is 4 people, a defender and 3 eaters. The eaters have to get hungry and eat 3 cakes which the defender is trying to protect. I don't know how to make it so that when the three cakes are eaten, the game stops, puts a title on the screen and send the players back to the lobby. I already tried to put observer blocks underneath the cakes, but it sends the Redstone signal everytime a player eats a slice of the cake, I want it so that it detects when all the cakes are gone.
At first glance, try running repeating command blocks using the /testforblock command. If you have it looking for a cake at a specific location, there are ways to see if it returns false.
Sounds like a cool minigame. Good luck!
ot w6fgl' 26gLc4!ua toL gq^6ufnL6 gwoua f46 2fgL2°
l!k6 pnL2f2 ot l!a4f ` f46,\ l6tf f46 blgu6f !u 24!b2
Hey I could help you this is my discord: Quinten#4772
Hey, I am probably not active on here anymore, you can find me on discord with Quinten#4772
Oh sounds easy and cool tell me if you want me to help
-Alex / Markoalex/ markoalex8/ markoalex121/ alexandros121 / Αλέξανδρος Μαρκόπουλος / ALE.... however you want to call me