Minecraft:Commands/camerashake
From SAS Gaming Wiki
More actions
Template:Distinguish Template:Exclusive Template:Infobox command Sends a request to client for shaking the player's camera (the effect won't be shown if the player has Camera Shake disabled in their Accessibility settings).
Syntax
camerashake add <player: target> [intensity: float] [seconds: float] [shakeType: CameraShakeType]- Add the camera shake effect to a player.
camerashake stop <player: target>- Stops the camera shake.
Arguments
- Specifies the player(s) whose clients are sent a camera shake request. If not specified, defaults to the command's executor (Template:Code).
- Template:Arg desc Unlike in other command, this target selector can always target online dead players with
@e.
- Specifies the intensity of the camera shake.
- Template:Arg desc Should be between 0 and 4 (inclusive).
- Specifies the duration of the camera shake.
- Template:Arg desc
- Specifies the type of camera shake direction.
- Must be one of
positionalandrotational.
Result
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
Example
To perform a positional camera shake with intensity 0.25 for 5 seconds:
/camerashake add @p 0.25 5 positional
To perform a rotational camera shake with intensity 0.25 for 5 seconds:
/camerashake add @p 0.25 5 rotational
-
Example of a positional camera shake
-
Example of a rotational camera shake
History
Bedrock Edition
Minecraft Education
External links
de:Befehl/camerashake es:Comandos/camerashake ja:コマンド/camerashake pt:Comandos/camerashake ru:Команды консоли/camerashake zh:命令/camerashake