Minecraft:Commands/posteffect: Difference between revisions
From SAS Gaming Wiki
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{In development|Java||26.3}} | |||
{{In development|Java}} | |||
{{Infobox command | {{Infobox command | ||
|name = posteffect | |name = posteffect | ||
| Line 17: | Line 16: | ||
: {{cmd|posteffect remove <''players''> <''posteffect''>}} | : {{cmd|posteffect remove <''players''> <''posteffect''>}} | ||
:: Removes the post effect from the players, if it exists. | :: Removes the post effect from the players, if it exists. | ||
== Arguments == | |||
{{argument|players|entity}} | |||
: Specifies one or more players to modify. | |||
: {{arg desc|je=entity|amount=multiple|type=players}} | |||
{{argument|target|entity}} | |||
: Specifies a player to show the post effects applied list. | |||
: {{arg desc|je=entity|amount=single|type=players}} | |||
{{argument|posteffect|resource_location}} | |||
: Specifies the post effect to be added/removed. To be effective, the post-processing effect must be in {{cd|assets/''<namespace>''/post_effect}}. In vanilla, the post effects are {{cd|minecraft:blur|minecraft:creeper|minecraft:entity_outline|minecraft:invert|minecraft:spider|d=and}}. See [[Minecraft:post effect]]. | |||
: {{arg desc|je=resource_location}} | |||
== Result == | == Result == | ||
| Line 23: | Line 35: | ||
{{Result table|cmd=/posteffect add|<code><players></code> fails to resolve to one or more online players.|fail}} | {{Result table|cmd=/posteffect add|<code><players></code> fails to resolve to one or more online players.|fail}} | ||
{{Result table|cmd=/posteffect clear|<code><players></code> fails to resolve to one or more online players.|}} | {{Result table|cmd=/posteffect clear|<code><players></code> fails to resolve to one or more online players.|}} | ||
{{Result table|cmd=/posteffect list|<code><target></code> selector allows more than 1 player|}} | {{Result table|cmd=/posteffect list|<code><target></code> selector allows more than 1 player.|}} | ||
{{Result table|cmd=/posteffect remove|<code><players></code> fails to resolve to one or more online players.|}} | {{Result table|cmd=/posteffect remove|<code><players></code> fails to resolve to one or more online players.|}} | ||
{{Result table|cmd=|succeed}} | {{Result table|cmd=|succeed}} | ||
{{Result table}} | {{Result table}} | ||
== Output == | |||
{{Output table}} | |||
{{Output table|edition=je|On fail|0|0|0}} | |||
{{Output table|cmd=/posteffect list ...|On success|1|1|the total number of post effect a player has.}} | |||
{{Output table|cmd=Other|On success|1|1|the total number of players affected.}} | |||
{{Output table}} | |||
== History == | == History == | ||
| Line 38: | Line 57: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
[[Minecraft:de:Befehl/posteffect]] | |||
[[Minecraft:pt:Comandos/posteffect]] | |||
[[Minecraft:ru:Команды консоли/posteffect]] | [[Minecraft:ru:Команды консоли/posteffect]] | ||
[[Minecraft:zh:命令/posteffect]] | [[Minecraft:zh:命令/posteffect]] | ||
Latest revision as of 11:12, 22 July 2026
Template:In development Template:Infobox command
Allows adding or removing post effects to players.
Syntax
- Template:Cmd
- Adds the post effect to the players, if it doesn't already exist.
- Template:Cmd
- Removes all post effects from the players, if any exist.
- Template:Cmd
- Lists all post effects applied to the player, if any exist.
- Template:Cmd
- Removes the post effect from the players, if it exists.
Arguments
- Specifies one or more players to modify.
- Template:Arg desc
- Specifies a player to show the post effects applied list.
- Template:Arg desc
- Specifies the post effect to be added/removed. To be effective, the post-processing effect must be in Template:Cd. In vanilla, the post effects are Template:Cd. See Minecraft:post effect.
- Template:Arg desc
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table
History
Template:Navbox new content Template:Navbox commands
Minecraft:de:Befehl/posteffect Minecraft:pt:Comandos/posteffect Minecraft:ru:Команды консоли/posteffect Minecraft:zh:命令/posteffect