ItemComponent - Apply Effects (Effect) — SkBee
Addon: SkBee · Category: Effect · Since: 3.8.1
Syntax
apply -> %potioneffects%Description
Used to apply potion/consume effects in a potion contents's `custom_effects` section, death protection's' `death_effects` section and consumable's `on_consume_effects` section.
**Patterns**: - `%potioneffects%` = Used to apply a potion effect in a potion contents section. - `%potioneffects% with probability %-number%` = Used to apply a potion/consume effect in a death protection/consumable section. - `remove effects %potioneffecttypes/typedkeys%` = Used to apply a `remove effects` consume effect in a death protection/consumable section. - `clear all effects` = Used to apply a `clear all effects` consume effect in a death protection/consumable section. - `teleport randomly within [[a] diameter [of]] %number% [blocks|meters]` = Used to apply a `teleport randomly` consume effect in a death protection/consumable section. - `play sound %string/typedkey%` - Used to apply a `play sound` consume effect in a death protection/consumable section.
Examples
See examples of the respective sections that use this effect.