Repository navigation
Action As Nearest (Entity Action Type)
Zac edited this page Nov 11, 2026
·
1 revision
Executes an entity action with the context of the nearest entity.
Warning
This action type should not be used, prefer Provi's Origins's action on nearest.
originscontent:action_as_nearest
| Field | Type | Default | Description |
|---|---|---|---|
action |
Entity Action | The entity action to execute. |
"entity_action": {
"type": "originscontent:action_as_nearest",
"action": {
"type": "origins:heal",
"amount": 6
}
}This example would restore 3 hearts of health to the nearest entity.
- 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