RemoveMobs:
type: world
events:
on testing command:
- narrate "<blue>Command activated!"
- define cityChunks <region@city,world.cuboid.list_chunks>
- foreach <def[cityChunks]> {
- if <%value%.is_loaded> {
- - announce "<%value%.living_entities.parse[name].filter[is[==].to[PIG]].formatted>" to_console
+ - announce "<%value%.living_entities.parse[name].filter[contains_any[COW|PIG|CHICKEN]].formatted>" to_console
- announce "Time changed to: <yellow><w@world.time>" to_console
}
}
- determine fulfilled
-