Potion Effect
Applies a potion effect to a player or entity.
This action gives a living entity a specified potion effect.
Configuration
- Effect: The potion effect to apply (e.g.,
SPEED,INVISIBILITY). - Amplifier: The strength of the effect.
0is level I,1is level II, and so on. - Duration: How long the effect should last, in ticks (20 ticks = 1 second). Use a very large number for an effectively infinite duration.
- Particles: Whether to show the swirling particle effect around the entity.
- Target: The
Living Entityto apply the effect to (can be a player or a mob).
Use Cases
- Creating speed boost pads.
- Applying a poison effect from a trap.
- Giving a boss mob permanent Strength and Resistance effects.