Skip to content

Screenshake (Entity Action Type)

Zac edited this page Nov 11, 2026 · 2 revisions

Entity Action Type


Applies screenshake to the player.

originscontent: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.

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:screenshake",
  "duration": 120,
  "intensity": 1,
  "easing": "expoInOut"
}

This example will start screenshake for 120 ticks, with an intensity of 1 in all axes, with the Exponential Easing In/Out easing.

"entity_action": {
  "type": "originscontent:screenshake",
  "duration": 40,
  "intensity": [
    0.5,
    0,
    0.5
  ]
}

This example will start screenshake for 40 ticks, with an intensity of 0.5 in the X and Z axes, and 0 in the Y, with the default linear easing.

Clone this wiki locally