Minecraft Effect Command Generator

Two things trip people up with /effect: the amplifier is one lower than the level shown in game, and the duration is in seconds, not ticks, which is the opposite of potion item data. Set both visually here, use the infinite keyword where the version supports it, and hide the particles when the effect is a game mechanic rather than a visual.

  • Duration in seconds, or infinite on Java 1.19.4+ and current Bedrock
  • Amplifier mapped to the level shown in game, up to 255
  • hideParticles for buffs that should not swirl

Read the matching guide