Consume Effects - Remove Effects (Function) — SkBee

Addon: SkBee · Category: Function · Since: 3.8.0

Syntax

remove_effects(potionEffectTypes: objects)

Description

Create a 'remove_effects' consume effect. This will create a list of potion effect types to be removed when consumed. This can be used in a death protection/consumable component.

Examples

set {_c} to remove_effects(night vision, poison)

View source