I'm losing villagers in my iron farm and wanted to check the area for villagers with the /execute if (and then a long line to villagers librarian tiaga) on a 10 sec interval clock. If I run in chat I get an output of 6 detected but if I run in a command block I don't get output in chat. The farm is on my spawn chunks and I want to play survival and then check up on the farm if one is missing.
I'm losing villagers in my iron farm and wanted to check the area for villagers with the /execute if (and then a long line to villagers librarian tiaga) on a 10 sec interval clock. If I run in chat I get an output of 6 detected but if I run in a command block I don't get output in chat. The farm is on my spawn chunks and I want to play survival and then check up on the farm if one is missing.
How do I get the command block output in my chat?
It's on java
1.14.4
You can create a scoreboard objective with
store the result of the execute (in the command block) with
and permanently output the score with
It is not in your chat but you see the result.
You can clear the output with