This is how the game itself shows it /help effect: in angle brackets - what to substitute, in square brackets - optional, through a line - one of.
On page 6 sections
Briefly
Examples are verified by the game - copy
-
Night Vision forever without particles
/effect give @s minecraft:night_vision infinite 0 true -
Speed II everyone for a minute
/effect give @a minecraft:speed 60 1 -
Remove all effects
/effect clear @s
Rights - game master.
/effect clear [<targets>]/effect give <targets> <effect> [<seconds>|infinite]
We need a game master level: Level 2 for the command unit, for the data pack functions and for the guests of the world open to the network with authorized commands. It's written in server consoles without a cross-section.
| What | Meaning |
|---|---|
| command | /effect |
| Rights | Playmaster (2) |
| Where is | on the server and in single player with cheats |
| Subcommands | clear, give |
How to use command / effect?
Syntax: / effect clear [<bargets>]. For example, /act give @s minor:night_vision infinite 0 true is the Night Vision for all time without particles.
What rights are needed for /effect?
We need a game master level: Level 2 for the command unit, for the data pack functions and for the guests of the world open to the network with authorized commands.
Does the command block work?
Yeah, the command unit's doing right-level 2 commands, and this one doesn't need any more. You don't have to write a line in the block.
- /advancement
- /attribute
- /clear
- /damage
- /defaultgamemode
- /enchant
- /experience
- /gamemode
- /give
- /kill
- /recipe
- /ride
- /rotate
- /spawnpoint
- /spectate
- /swing
- /teleport
All commands All effectsPotion ConstructorTarget selector How to enable cheatsUseful commandsCool commands over a friend
According to Minecraft 26.3, the syntax is a clue to /help from the game itself, right from her command report, each example is checked by a review of the game's commands.