Minecraft:Commands/posteffect: Difference between revisions
From SAS Gaming Wiki
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{In development|Java}} | {{In development|Java}} | ||
{{Infobox command | {{Infobox command | ||
| 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 27: | Line 39: | ||
{{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 == | ||
Revision as of 11:05, 13 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:ru:Команды консоли/posteffect Minecraft:zh:命令/posteffect