Skip to content

Status Effect Instance

apace100 edited this page Oct 17, 2020 · 1 revision

Data type used to define a status effect with duration, amplifier, etc.

Fields:

effect, string: ID of the status effect.

duration, int, default = 100: Duration of the status effect in ticks.

amplifier, int, default = 0: Amplifier of the status effect.

is_ambient, boolean, default = false: Whether the effect counts as an ambient effect.

show_particles, boolean, default = true: Whether the status effect will spawn particles on the player.

show_icon, boolean, default = true: Whether the status effect will show an icon on the HUD.

Clone this wiki locally