Paste #50987: rocketpack

Date: 2018/12/02 07:04:19 UTC-08:00
Type: Denizen Script

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
20


cycube_smallrockets:
    type: world
    version: 1.10
    debug: false
    events:
         on player places small_rocketpack:
           - ^repeat 16 {
             - ^playeffect effect:flame <context.location.add[0.5,-0.5,0.5]> qty:5 visibility:100 offset:0.1
             - define t1 <li@ball.random>,<util.random.int[1].to[255]>,<util.random.int[1].to[255]>,<util.random.int[1].to[255]>
             - spawn firework[firework_item=i@firework[firework=true,false,%t1%,<util.random.int[1].to[255]>,<util.random.int[1].to[255]>,<util.random.int[1].to[255]>|0];velocity=0,0.5,0] <context.location.add[0.5,1,0.5]>
             - wait 10t
           }
           - ^playeffect effect:explode <context.location.add[0.5,-0.5,0.5]> offset:0.1 qty:50 visibility:100
           - modifyblock <context.location> air
small_rocketpack:
    type: item
    material: player_head[skull_skin=f2190f0b-7b66-490a-bab4-00561d3d81df|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODY3OTNiYWM0YTFmOTc0MTQyZWY4OTE2NjQyNzEwOTQ5ZDdlMzhmODdhZWJkMzgwNzQyY2NjMzc0ZjFkZTEifX19|-sr-]
    display name: <yellow>kleines Raketenpacket
    lore:
    - <dark_purple>feuert 16 Raketen ab!