Paste #16158: Diff note for paste #16157

Date: 2015/06/01 21:59:05 UTC-07:00
Type: Diff Report

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


 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
-