Date: 2026/04/20 16:29:26 UTC+00:00
Type: Denizen Script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
explosive_bow:
type: item
material: bow
display name: "<red>Explosive Bow"
lore:
- "<gray>20% chance to explode"
explosive_bow_shoot:
type: world
events:
on player shoots bow:
- if <player.item_in_hand.scriptname||null> != explosive_bow:
- stop
# 20% chance
- if <util.random.int[1].to[100]> > 20:
- stop
- flag <context.projectile> explosive_arrow:true
explosive_bow_hit:
type: world
events:
on projectile hits:
- if !<context.projectile.has_flag[explosive_arrow]>:
- stop
- define loc <context.projectile.location>
- explode power:1 location:<[loc]> fire:false break_blocks:true
- playeffect effect:explosion_large at:<[loc]> quantity:5
- playsound sound:entity.generic.explode at:<[loc]>
- remove <context.projectile>