Potion Effect Format

BattleArena has an potion effect format that is used for in both creating items and applying effects to players.

Effect Options

Name
Description
Type
duration
The amount of time (in ticks) to apply the effect for.
<number>
amplifier
How strong the effect is.
<number>
ambient
Whether the effect is ambient (less intrusive)
[true|false] (default: false)
particles
Whether the effect should show particles or not.
[true|false] (default: true)

Examples

events:
  on-start:
    - give-effects{effects=[speed{duration=300;amplifier=1},jump_boost{duration=300;amplifier=2}]}

...

events:
  on-respawn:
    - give-item{item=splash_potion{effects=[speed{duration=300;amplifier=1}]}}

Revision #3
Created 13 July 2024 19:58:24 by Redned
Updated 15 July 2024 02:03:19 by Redned