Repository navigation
Positioned Screenshake (Entity Action Type)
Zac edited this page Nov 11, 2026
·
2 revisions
Applies a positioned screenshake to the player.
originscontent:positioned_screenshake
Note
This entity action type will only work on players.
| 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.
"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.
- Action on Reeling
- Action on Thunder
- Cancel Inventory Actions
- Cancel Totems
- Disable Offhand
- Modify Minimum Sprinting Hunger
- Override Hotbar
- Prevent Chat
- Prevent Diving
- Reflect Damage
- Ticking Entity
- Action as Nearest
- Crash
- Dive
- Emerge
- Display Toast
- Open Steam Game
- Positioned Screenshake
- Screenshake
- Set Black Rain Duration
- Trigger Thunder
- Discombobulate