I want to make an execute command that checks whether there are any zombies in the world and if not to run a command.I'd like to not have to use scoreboards, but I will if need be. I can't figure it out any suggestions?
/execute unless entity @e[type=zombie] run <command>
keep in mind this will run the command at the command block's position by default (unless a new position is specified)
Some of my projects: