For the complete documentation index, see llms.txt. This page is also available as Markdown.

Potion Effect

Potion Effect

Applies potion effects directly to entity.

type: potion_effect
potion: SLOWNESS
duration: 100
amplifier: 0
ambient: false
particles: true
icon: true
accumulate: true

Default target: TARGET.

Field Details

potion: potion type.

potion: WEAKNESS

duration: ticks.

duration: 200

amplifier: level amplifier (0 = I).

amplifier: 1

ambient: ambient-style effect visuals.

particles: show potion particles.

icon: show HUD icon.

accumulate: If true and the entity already has the same effect, the new duration is added to the existing remaining duration. The higher amplifier is kept. (Added in 1.2.0)

RemovePotionEffect

Remove potion effects from entity.

Default target: TARGET.

Field Details

potion: potion type. Set to ALL means remove all potion from entity.

potions: If you has multi potion effect type to remove, you can use this format.

Last updated