Bows

bows.yml

This is the file where all custom bows behaviour and config are stored

Example bow

1
astral_bow:
2
enabled: true
3
permission: astral_bow
4
model_id: 1
5
name: '&fAstral bow'
6
specific_properties:
7
max_custom_durability: 512
8
arrow_damage: 4
9
enchants:
10
- ARROW_FIRE:1
11
events:
12
shot:
13
play_sound: astral_bow_shot
14
glow_arrows: true
Copied!

Specific properties

1
specific_properties:
2
arrow_damage: 4
Copied!
As you can see you can set custom damage for arrows shot by bow

Events

1
events:
2
shot: #called when you shot an arrow
3
play_sound: astral_bow_shot #name of the sound to be played
4
glow_arrows: true #enable glowing arrows
Copied!