Skip to content

Positioned Screenshake (Entity Action Type)

Zac edited this page Nov 11, 2026 · 2 revisions

Entity Action Type


Applies a positioned screenshake to the player.

originscontent:positioned_screenshake

Note

This entity action type will only work on players.

Fields

Field Type Default Description
duration Integer The ticks the screenshake will last.
intensity Intensity The intensity of the screenshake.
easing Easing null The easing of the screenshake.
start_easing Easing null The starting easing of the screenshake.
end_easing Easing null The ending easing of the screenshake.
fall_off_easing Easing "linear" The easing that will be used to decrease the intensity over distance.
position Vector The position that the screenshake will be centered at.
fall_off_distance Float The distance away where the screenshake starts to fall off over distance.
max_distance Float The distance away where the screenshake will no longer have effect.

Specify either no easings, just easing, or both start_easing and end_easing. The default easing (when unspecified) is linear.

Examples

"entity_action": {
  "type": "originscontent:positioned_screenshake",
  "duration": 120,
  "intensity": 1,
  "easing": "expoInOut",
  "position": [
    0,
    64,
    0
  ],
  "fall_off_distance": 16,
  "max_distance": 64
}

This example will start a positioned screenshake instance at 0, 64, 0, that lasts 120 ticks, has an intensity of 1.0 in all axes, uses Exponential In/Out easing, starts to fall off at 16 blocks, and entirely dies out at 64 blocks.

Clone this wiki locally