💥Mob Powers
Dynamic Numeric Values
random:
">=15;;<23": 0.3
">=23": 0.6Example Power Config
# Web Trap
# The projectile launched by a monster with this ability will generate a temporary spider web upon landing.
enabled: true
placeholder: '{lang:power.web_arrow}'
apply-rules:
group: ranged_projectile
group-unique: true
conflicts:
- Flying
weight: 5
match-entity:
equip:
main-hand:
material:
- bow
- crossbow
- trident
level-weight: 15~25
limit:
random:
">=15;;<23": 0.3
">=23": 0.6
cooldown:
">=15;;<22": 10
">=22": 5
no-attack-ticks: 100
on-projectile-hit:
abilities:
1:
type: delay
delay:
">=15;;<20": 20
">=20": -1
abilities:
1:
type: place_block
block: cobweb
duration: '{level} * 4'
2:
type: sound
sound: BLOCK_WOOL_PLACE
3:
type: particle
particle: BLOCK
count: 20
block: cobweb
4:
type: remove
on-shoot-bow:
abilities:
1:
type: mark
on-projectile-tick:
abilities:
1:
type: particle
particle: WHITE_ASH
count: 6
offset-x: 0.05
offset-y: 0.05
offset-z: 0.05Power Trigger Events
Event
Source
Skill
Target
Location
Event Section Structure
Event Modifiers
on-shoot-bow
on-combust
on-damage
on-regain
on-melee-attack
on-death (Paper only)
on-explode
Conditions
Health conditions (most events except on-death)
on-combust
on-damage
on-regain
on-melee-attack
on-explode
on-tag/on-untag
Last updated