Skip to main content

Module eye_of_ender

Module eye_of_ender 

Source
Expand description

Eye of ender entity implementation (EyeOfEnderEntity).

Thrown by EnderEyeItem to point toward the nearest stronghold. Unlike its neighbors in this module, vanilla’s EyeOfEnderEntity extends plain Entity (not Projectile/ThrowableProjectile) and drives its own position/velocity manually toward a stored target each tick, rather than using inherited projectile physics.

StructsΒ§

EyeOfEnderEntity
A thrown eye of ender, seeking the nearest stronghold.
EyeOfEnderState πŸ”’

ConstantsΒ§

LIFESPAN_TICKS πŸ”’
NEAR_TARGET_DAMPING πŸ”’
NEAR_TARGET_THRESHOLD πŸ”’
TOO_FAR_DISTANCE πŸ”’
TOO_FAR_SIGNAL_HEIGHT πŸ”’
VELOCITY_LERP_ALPHA πŸ”’
VERTICAL_NUDGE πŸ”’