Invert your screen colors
/posteffect add @s minecraft:invertAdds the invert post effect to your own screen.

/posteffect adds, removes, lists or clears post-processing effects on a player's screen, such as an inverted or blurred view. It arrived in 26.3 and works on players only. Do not confuse it with status effects, which are handled by /effect.
/posteffect add <targets> <posteffect>/posteffect clear <targets>/posteffect list <target>/posteffect remove <targets> <posteffect>| Argument | Expects | What it does |
|---|---|---|
| targets | Player selectorone or several | Players whose screen changes, for add, remove and clear: @s, @a or a player name. |
| posteffect | Resource ID | Resource location of the post effect, for example minecraft:invert or minecraft:blur. |
| target | Player selectorone | The single player whose post effects are listed, for list only. |
/posteffect add @s minecraft:invertAdds the invert post effect to your own screen.
/posteffect list @sShows which post effects are applied to you, if any.
/posteffect clear @aRemoves all post effects from every online player.
Fill in the fields, then copy the command.
Command generatoradd: adds an effect to one or more players; "Player already has the specified post effect" if it is already there.remove: removes one effect; "Player does not have the specified post effect" otherwise.clear: removes every post effect.list: shows the effects of a single player.The posteffect argument is a resource location. The game's resources list five post effects: blur, creeper, entity_outline, invert and spider. For status effects such as Glowing, use /effect; for camera views through a mob, see /spectate.
✓ Checked in Java Edition 26.3 · updated 2 November 2026
The game's resources list blur, creeper, entity_outline, invert and spider, written as minecraft:invert for example.
No. /posteffect changes how the screen is rendered, while /effect gives status effects such as Speed or Glowing.
Type it in the chat with cheats on: /posteffect add <targets> <posteffect>.
Cheats on, or operator level 2.
It is in the official command tree since Java Edition 26.3.