Minecraft Plugin Documentation
MythicMobs RequiredAPI 1.21+

Death Effects

File: plugins/MythicDropRefactored/effects.yml

Play fireworks and sounds at the location where a MythicMob dies. Makes boss kills feel epic and rewarding.

Basic Structure

effects.yml
1SkeletonKing:
2  effects:
3    firework_display:
4      type: FIREWORK
5      power: 2
6      color: BLUE
7      flicker: true
8      trail: true
9
10    death_roar:
11      type: SOUND
12      sound: ENTITY_ENDER_DRAGON_DEATH
13      volume: 1.0
14      pitch: 0.7

Each mob can have multiple effects. Give each one a unique name.

FIREWORK Effect

yaml
firework_display:
  type: FIREWORK
  power: 2        # Flight height (1 = low, 2 = medium, 3 = high)
  color: BLUE     # Burst color
  flicker: true   # Sparkle effect
  trail: true     # Trail behind the rocket

Available Colors

WHITE
SILVER
GRAY
RED
MAROON
YELLOW
LIME
GREEN
AQUA
TEAL
BLUE
NAVY
FUCHSIA
PURPLE
ORANGE

SOUND Effect

yaml
death_sound:
  type: SOUND
  sound: ENTITY_ENDER_DRAGON_DEATH   # Minecraft sound name
  volume: 1.0                        # 0.0–2.0+ (higher = louder + more range)
  pitch: 1.0                         # 0.5 = lower tone, 2.0 = higher tone

Common Sound Names

SoundDescription
ENTITY_ENDER_DRAGON_DEATHDragon death roar
ENTITY_WITHER_DEATHWither explosion death
ENTITY_LIGHTNING_BOLT_THUNDERThunder crack
ENTITY_GENERIC_EXPLODEExplosion sound
UI_TOAST_CHALLENGE_COMPLETEAchievement fanfare
ENTITY_PLAYER_LEVELUPLevel-up chime
BLOCK_BEACON_POWER_SELECTBeacon activation
ENTITY_ENDER_DRAGON_GROWLDragon growl

Full Example

effects.yml
1# Skeleton King — blue fireworks + wither death sound
2SkeletonKing:
3  effects:
4    blue_firework:
5      type: FIREWORK
6      power: 2
7      color: BLUE
8      flicker: true
9      trail: true
10    white_firework:
11      type: FIREWORK
12      power: 3
13      color: WHITE
14      flicker: false
15      trail: true
16    death_sound:
17      type: SOUND
18      sound: ENTITY_WITHER_DEATH
19      volume: 1.0
20      pitch: 1.0
21
22# Ancient Dragon — red/purple fireworks + dragon death
23AncientDragon:
24  effects:
25    red_firework:
26      type: FIREWORK
27      power: 3
28      color: RED
29      flicker: true
30      trail: true
31    purple_firework:
32      type: FIREWORK
33      power: 2
34      color: PURPLE
35      flicker: true
36      trail: false
37    dragon_death:
38      type: SOUND
39      sound: ENTITY_ENDER_DRAGON_DEATH
40      volume: 2.0
41      pitch: 0.7
42    victory:
43      type: SOUND
44      sound: UI_TOAST_CHALLENGE_COMPLETE
45      volume: 1.0
46      pitch: 1.0
💡 Tip
Combine a low-pitched dragon death sound (pitch: 0.7) with colorful fireworks for epic boss kill moments. Set volume higher than 1.0 to broadcast the sound over a wider area.