Potion effect

Potion effect is an effect that can be given to entities.

NeoForge 26.1.2NeoForge 1.21.1

Step-by-step guide: how to make potion effect →

Fields you fill in

Active tick condition

This condition determines if the effect should activate its tick procedure, based on the level and the duration left.

Use this condition to create effects that behave like regeneration or poison. A procedure template for this is also

available.

Potion effect category

This parameter determines the effect category.

The categories are:

  • NEUTRAL: effect is neither bad nor good for the player, like Glowing or Bad Omen potion effects
  • HARMFUL: effect is bad for the player, like Poison or Instant Damage potion effects
  • BENEFICIAL: effect is good for the player, like Regeneration or Instant Health potion effects
Potion effect color

Select the color of the bottles and the arrow.

You don't need this option if you don't want the items.

Is potion effect cured by honey

If this option is selected, this potion effect will be cured after consuming a honey bottle.

Effect display name

This parameter controls the name of the effect (the name displayed inside the player's inventory).

Effect icon

This parameter controls the icon displayed inside the player's inventory when the potion is active.

IMPORTANT: If the texture name differs from the element's registry name, a copy of the texture will be made.

Is this potion effect instantly applied

Check this parameter if your effect should apply one time like the Instant health.

Attribute modifiers

These attribute modifiers are applied to the entity while the effect is active.

Sound to play when effect is added

If a sound is selected, it will be played when this potion effect is added to an entity.

On mob death

This procedure is executed when a mob with this effect dies.

On mob hurt

This procedure is executed every time a mob with this effect is hurt.

Potion effect particles

This parameter controls which particles spawn around entities with this effect.

If no particle is specified, the default spiral particle is used.

Render in hud

Check to make the effect visible in the game

Render in inventory

Enable this parameter to have the effect displayed in the player's inventory when active.

When active tick

This procedure will be executed each tick for each entity that has this potion effect.

When potion applied

This procedure will be executed when the potion effect is applied to an entity.

When potion expires

This procedure will be executed when an entity loses the potion effect.