apply %effect:STRING% %level:INT% to %who:ENTITY% for %duration:INT% ticks — Statements

apply %effect:STRING% %level:INT% to %who:ENTITY% for %duration:INT% ticks
Entity1.0.0

Description

Applies a potion effect with the given level and duration (in ticks) to a living entity.

Examples

apply "regeneration" 1 to entity for 100 ticks

All Possible Usages (1)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

apply <effect> <level> to <who> for <duration> ticks

Related (Entity)