Beacon Effects (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.10

Syntax

[the] (primary|secondary) [beacon] effect [of %blocks%]

Description

The active effects of a beacon. The secondary effect can be set to anything, but the icon in the GUI will not display correctly. The secondary effect can only be set when the beacon is at max tier. The primary and secondary effect can not be the same, primary will always retain the potion type and secondary will be cleared.

Examples

set primary beacon effect of {_block} to haste
set secondary effect of {_block} to resistance

View source