Effect Command Generator /effect
Generate Minecraft /effect commands: apply multiple potion effects at once, set levels and durations, make effects permanent, hide particles, or clear effects. Quickly choose common effects such as Night Vision, Haste, Speed, and Resistance.
The effect command is /effect give <玩家> <效果> [秒数] [等级] [隐藏粒子], for example, /effect give @s night_vision infinite 0 true to give yourself permanent Night Vision. Levels start counting from 0: 0 is level I, and 1 is level II;infiniteYou can use `infinite` (permanent) starting in 1.19.4; in earlier versions, use a very large number of seconds, such as 1000000.
Frequently Asked Questions
How do I clear status effects?
/effect clear @s clears all effects,/effect clear @s speed clears Speed only.
What's the command for invulnerability?
A common setup is to give yourself Resistance V or higher:/effect give @s resistance infinite 4 true(level 4 is level V, which grants immunity to most damage), along with Regeneration and Saturation. For complete invulnerability, switch to Creative Mode:/gamemode creative。
What are the effect IDs for Haste, Night Vision, and Speed?
Haste haste, Night Vision night_vision, Speed speed, Strength strength, Jump Boost jump_boost, Water Breathing water_breathing, Invisibility invisibility. See thePotion Effects List。
What's the difference between effect commands and potion commands?
Effect commands apply an effect directly to a mob, while potion commands give you a Potion item that takes effect when you drink or throw it. To make a custom Potion, use thePotion Command Generator。