- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleDiff note for paste #16829
TypeDiff
Date2015/06/23 20:15:01 UTC-07:00
ByGuest
Other
Paste
 kit_item_snowbomb:
     type: item
     material: snow_ball
     display name: Snow Bomb Kit
     enchantments:
     - durability:1
     lore:
     - Click for a high-damage
     - exploding snowball throw!
 
 kit_item_snowbomb_world:
     type: world
     events:
         on player clicks with kit_item_snowbomb:
         - shoot snowball o:<player> d:<player.location.cursor_on> speed:2 script:kit_item_snowbomb_impact
         - take iteminhand
         - determine cancelled
 
 kit_item_snowbomb_impact:
     type: task
     script:
     - if <def[last_entity]> != null {
-    - explode %location% power:1 fire breakblocks
-    - explode %location% power:3
-    {
+        - explode <def[location]> power:1 fire breakblocks
+        - explode <def[location]> power:3
+    }
 
 
 



RawRaw



Pastes made: 65642