Paste #120675: Diff Report Between Paste #120674 and #120669

Date: 2024/02/29 03:50:19 UTC-08:00
Type: Diff Report

View Raw Paste Download This Paste Edit Of Paste 120674
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12


 Mobs_Run_From_Creepers:
     type: world
     debug: true
     events:
-        on creeper explosion primes:
-        - foreach <context.entity.location.find_entities[skeleton].within[5]> as:vicinityEntity:
-            - walk <[vicinityEntity]> <[vicinityEntity].location.find_spawnable_blocks_within[5].last>
+        on entity explosion primes:
+        - foreach <context.entity.location.find.living_entities.within[7].exclude[<context.entity>]> as:vicinityEntity:
+            - attack <[vicinityEntity]> cancel
+            - walk <[vicinityEntity]> <[vicinityEntity].location.find_spawnable_blocks_within[15].last> speed:0.4