Damage.CameraEffect
Package: com.hypixel.hytale.server.core.modules.entity.damage
public record Damage.CameraEffect(int cameraEffectIndex)A record wrapping a camera effect asset index, attached to a Damage event via the Damage.CAMERA_EFFECT meta key. Used to trigger camera shake or other visual feedback when an entity takes damage.
Record Components
Section titled “Record Components”| Component | Type | Description |
|---|---|---|
cameraEffectIndex | int | Index into the camera effect asset map. |
Methods
Section titled “Methods”public int getEffectIndex()Returns the camera effect asset index. Equivalent to cameraEffectIndex().
Related Types
Section titled “Related Types”- Damage — the damage event that carries camera effects via meta store
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.