Conditional (1.2.0+)
Conditional
type: conditional
cases:
1:
min-distance: 8
target-has-potion: SLOWNESS
abilities:
1:
type: launch_projectile
entity-type: SPLASH_POTION
potion: POISON
2:
max-distance: 3
target-missing-potion: WEAKNESS
random: 0.25
match-entity:
entity-types:
- PLAYER
abilities:
1:
type: launch_projectile
entity-type: SPLASH_POTION
potion: WEAKNESS
default:
abilities:
1:
type: launch_projectile
entity-type: SPLASH_POTION
potion: INSTANT_DAMAGEField Details
Last updated