Paste #126680: Diff Report Between Paste #126679 and #126676

Date: 2024/09/21 13:58:45 UTC-07:00
Type: Diff Report

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


 CFour:
     type: item
     material: stone_button
     display name: C4 Brick
 Detonator:
     type: item
     material: wooden_shovel
     display name: Detinator
 Detonate:
     type: world
     events:
         after player right clicks block with:Detonator:
-            - foreach <list> as:Bombloc:
-                - explode power:8 <[Bombloc]>
+            - foreach <locationTag.blocks_flagged[Bombloc]>:
+                - explode power:8 <player.blocks_flagged[Bombloc]>
                 - narrate "detinating at <[Bombloc]>"
 PlaceCfour:
     type: world
     events:
         after player places CFour:
-            - tablist add name:Bomblocations Bombloc:<player.cursor_on>
+            - flag <player> Bombloc:<player.cursor_on>
             - narrate "C4 placed"