Skip to content

Visual Time Events

Sleys edited this page Aug 2, 2026 · 1 revision

Visual Events control camera behavior and advanced visual effects during an animation.

Unlike the particle events, these effects are generally tied to the player model or camera and may require additional rendering logic.


Available Events

Event Description Side
camera_transition Performs a scripted camera transition. Client
white_afterimage Creates a white afterimage trail behind the entity. Client
entity_afterimage Creates a translucent copy of the entity as an afterimage. Client

Camera Transition

Starts a camera transition. This event is entirely client-side and has no gameplay effect.

Parameters

Field Type Description
id String Transition identifier.
offset Vec3 Camera offset.
start_yaw Float Initial camera yaw.
target_yaw Float Final camera yaw.
in_interpolation Camera Interpolation Interpolation used while entering the transition.
in_transition_time Long Duration of the entering transition.
hold_time Long Time spent holding the camera.
out_interpolation Camera Interpolation Interpolation used while leaving the transition.
out_transition_time Long Duration of the exit transition.
is_absolute Boolean Force execution if a third-party provider exists on the current camera.

Example

{
  "type": "epicfight_edp:camera_transition",
  "params": {
    "id": "lightning_spear",
    "offset": [0.8, 1.0, -1.5],
    "start_yaw": -2.5, "target_yaw": -10.0,
    "in_interpolation": "ease_in_out", "in_transition_time": 500,
    "hold_time": 1000,
    "out_interpolation": "ease_out", "out_transition_time": 350,
    "is_absolute": true
  }
}

White Afterimage

Creates a white silhouette afterimage of the animated entity.

The event spawns both:

  • a perfectly aligned afterimage
  • a secondary randomized afterimage for additional motion blur

Parameters

This event has no parameters.

{
  "type": "epicfight_edp:white_afterimage"
}

Entity Afterimage (Only 1.21.1)

Creates an afterimage using the entity's normal appearance instead of a white silhouette. Internally it follows the same rendering behavior as the White Afterimage event but preserves the entity's texture and colors.

Parameters

This event has no parameters.

Example

{
  "type": "epicfight_edp:entity_afterimage",
}

EF: Extended Datapacks

📦 Data

🧰 Core

👁️ Visuals

⚔️ Combat

🗝️ Skill Builder

🛠️ Innate Builder

🗡️ Animation Operations

⚙️ Third-Party

Clone this wiki locally