public interface EyeLocationData extends DataManipulator<EyeLocationData,ImmutableEyeLocationData>
Modifier and Type | Method and Description |
---|---|
Value<Double> |
eyeHeight()
|
Value<com.flowpowered.math.vector.Vector3d> |
eyeLocation()
Gets the
Value for the "eye" location in a 3d plane. |
asImmutable, copy, fill, fill, from, set, set, set, set, transform
compareTo
toContainer
Value<Double> eyeHeight()
Value
for the "height" from the base of an
Entity
bounding box to the current eye height. This can be known
as the "camera height".Value<com.flowpowered.math.vector.Vector3d> eyeLocation()
Value
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.