public class ImmutableSpongeEyeLocationData extends AbstractImmutableData<org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData,org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData> implements org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData
Constructor and Description |
---|
ImmutableSpongeEyeLocationData() |
ImmutableSpongeEyeLocationData(com.flowpowered.math.vector.Vector3d entityLocation,
double eyeHeight) |
ImmutableSpongeEyeLocationData(com.flowpowered.math.vector.Vector3d entityLocation,
double eyeHeight,
com.flowpowered.math.vector.Vector3d eyeLocation) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData |
asMutable() |
int |
compareTo(org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData o) |
org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData |
copy() |
org.spongepowered.api.data.value.immutable.ImmutableValue<Double> |
eyeHeight() |
org.spongepowered.api.data.value.immutable.ImmutableValue<com.flowpowered.math.vector.Vector3d> |
eyeLocation() |
com.flowpowered.math.vector.Vector3d |
getEntityLocation() |
protected void |
registerGetters() |
org.spongepowered.api.data.DataContainer |
toContainer() |
equals, get, getKeys, getOrElse, getOrNull, getValue, getValues, hashCode, registerFieldGetter, registerKeyValue, supports, supports, with, with
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public ImmutableSpongeEyeLocationData()
public ImmutableSpongeEyeLocationData(com.flowpowered.math.vector.Vector3d entityLocation, double eyeHeight)
public ImmutableSpongeEyeLocationData(com.flowpowered.math.vector.Vector3d entityLocation, double eyeHeight, com.flowpowered.math.vector.Vector3d eyeLocation)
public org.spongepowered.api.data.value.immutable.ImmutableValue<Double> eyeHeight()
eyeHeight
in interface org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData
public org.spongepowered.api.data.value.immutable.ImmutableValue<com.flowpowered.math.vector.Vector3d> eyeLocation()
eyeLocation
in interface org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData
public org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData copy()
copy
in interface org.spongepowered.api.data.manipulator.ImmutableDataManipulator<org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData,org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData>
copy
in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData>
public org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData asMutable()
asMutable
in interface org.spongepowered.api.data.manipulator.ImmutableDataManipulator<org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData,org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData>
public int compareTo(org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData o)
compareTo
in interface Comparable<org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData>
public org.spongepowered.api.data.DataContainer toContainer()
toContainer
in interface org.spongepowered.api.data.DataSerializable
public com.flowpowered.math.vector.Vector3d getEntityLocation()
protected void registerGetters()
registerGetters
in class AbstractImmutableData<org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData,org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData>