Package me.deecaad.core.emitter
Interface EmittedDisplay
public sealed interface EmittedDisplay
Read-only view of one live emission, passed to user-supplied kill/onKilled hooks on a
DisplayEntityEmitter.-
Method Summary
Modifier and TypeMethodDescriptionintage()@NotNull org.joml.Vector3fcThe scale vector from the most recently pushed transformation, or identity if nothing has been pushed yet.intlifetime()@NotNull org.joml.Vector3fcRead-only view of the accumulated translation offset (world-space when the entity was spawned with yaw=pitch=0, which the emitter guarantees).@NotNull org.bukkit.util.Vectorvelocity()The entity's current per-tick velocity.@NotNull org.bukkit.LocationThe entity's spawn location plus the accumulated translation offset.
-
Method Details
-
age
int age() -
lifetime
int lifetime() -
worldLocation
@NotNull @NotNull org.bukkit.Location worldLocation()The entity's spawn location plus the accumulated translation offset. Allocates a freshLocation. -
translationOffset
@NotNull @NotNull org.joml.Vector3fc translationOffset()Read-only view of the accumulated translation offset (world-space when the entity was spawned with yaw=pitch=0, which the emitter guarantees). -
velocity
@NotNull @NotNull org.bukkit.util.Vector velocity()The entity's current per-tick velocity. Defensive clone. -
currentScale
@NotNull @NotNull org.joml.Vector3fc currentScale()The scale vector from the most recently pushed transformation, or identity if nothing has been pushed yet.
-