Minecraft Effect Command Guide
Grants or clears any status effect on players or mobs with custom duration (including infinite on Java 1.19.4+), amplifier level (0 = Level I), and optional particle hiding.
Syntax Reference
| Java Edition | /effect give <targets> <effect> [<seconds>|infinite] [<amplifier>] [<hideParticles>] |
|---|---|
| Bedrock Edition | /effect <player: target> <effect: Effect> [seconds: int] [amplifier: int] [hideParticles: Boolean] |
Working Magic Examples
/effect give @p minecraft:regeneration 60 1 false/effect give @p minecraft:night_vision infinite 0 true/effect clear @p minecraft:poisonTechnical Notes
Amplifier is zero-indexed: amplifier 0 grants Level I, amplifier 1 grants Level II, and amplifier 255 grants Level 256. Setting hideParticles to true removes swirling potion bubbles.
Build full commands interactively in our Magic Command Generator or view the full syntax sheet on 9Minecraft Commands.
Related On 9Minecraft
9Minecraft MainMinecraft Mods, Data Packs, Resource Packs & Maps9Minecraft WikiVanilla & Modded Blocks, Items, Mechanics & Recipes9Minecraft RecipesCrafting Grid Recipes For Tables, Beacons & Stands9Minecraft CommandsJava & Bedrock Command Syntax, Selectors & IDs9Minecraft ToolsOnline Generators, Builders & Calculators9Minecraft GuidesBeginner & Gameplay Tutorials Across MinecraftMinecraft Java ServersLive Java Edition Multiplayer Server ListMinecraft Bedrock ServersLive Bedrock & MCPE Server ListMinecraft SeedsWoodland Mansion, Ancient City & Trial Chamber SeedsMinecraft BuildsWizard Towers, Enchanting Rooms & Medieval BasesMinecraft SchematicsLitematica & WorldEdit Magic StructuresMinecraft SkinsWizard, Witch, Sorcerer & Mage Character Skins
9Minecraft Magic Updates — New magic mods, spells & Bedrock add-ons
Explore 9Minecraft Network →