public interface ImmutableEyeLocationData extends ImmutableDataManipulator<ImmutableEyeLocationData,EyeLocationData>
ImmutableDataManipulator
for the "eye location" of an
Entity
.Modifier and Type | Method and Description |
---|---|
ImmutableValue<Double> |
eyeHeight()
Gets the
ImmutableValue for the "height" from the base of an
Entity bounding box to the current eye height. |
ImmutableValue<com.flowpowered.math.vector.Vector3d> |
eyeLocation()
Gets the
ImmutableValue for the "eye" location in a 3d plane. |
asMutable, copy, with, with
compareTo
toContainer
ImmutableValue<Double> eyeHeight()
ImmutableValue
for the "height" from the base of an
Entity
bounding box to the current eye height. This can be known
as the "camera height".ImmutableValue<com.flowpowered.math.vector.Vector3d> eyeLocation()
ImmutableValue
for the "eye" location in a 3d plane.
This is different from an Entity
's position as the eye location
is always adjusted for the actual eye location, which may differ from
the base Entity
's location. This can be known as the "camera"
position.