Skip to content

Screenshake (Bientity Action Type)

Zac edited this page Nov 11, 2026 · 2 revisions

Bientity Action Type


Triggers a positioned screenshake for the target with an origin at the actor.

Note

This action type will only work if the target is a player. The actor can be anything.

originscontent:screenshake

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.
fall_off_distance Float The distance away where the screenshake starts to fall off over distance.
max_distance Float 0.0 The distance away where the screenshake will no longer have effect. If unspecified, (or 0), will be automatically set to the distance between the two entities.

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

Examples

"bientity_action": {
  "type": "originscontent:screenshake",
  "duration": 60,
  "intensity": 2,
  "easing": "quartIn",
  "fall_off_distance": 16
}

This example would start a screenshake positioned at the actor, lasting 60 ticks, with an intensity of 2 in all axes, with Quartic In easing, that begins to fall off after 16 blocks, and falls off completely just after it reaches the target entity.

Clone this wiki locally