Repository navigation
Screenshake (Entity Action Type)
Zac edited this page Nov 11, 2026
·
2 revisions
Applies screenshake to the player.
originscontent: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. |
Specify either no easings, just easing, or both start_easing and end_easing. The default easing (when unspecified) is linear.
"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.
- 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