public class SpongeEyeLocationData extends AbstractData<org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData,org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData> implements org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData
Constructor and Description |
---|
SpongeEyeLocationData() |
SpongeEyeLocationData(com.flowpowered.math.vector.Vector3d entityLocation,
double eyeHeight) |
SpongeEyeLocationData(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.immutable.entity.ImmutableEyeLocationData |
asImmutable() |
int |
compareTo(org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData o) |
org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData |
copy() |
org.spongepowered.api.data.value.mutable.Value<Double> |
eyeHeight() |
org.spongepowered.api.data.value.mutable.Value<com.flowpowered.math.vector.Vector3d> |
eyeLocation() |
double |
getEyeHeight() |
com.flowpowered.math.vector.Vector3d |
getEyeLocation() |
protected void |
registerGettersAndSetters() |
org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData |
setEyeHeight(double eyeHeight) |
org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData |
setEyeLocation(com.flowpowered.math.vector.Vector3d eyeLocation) |
org.spongepowered.api.data.DataContainer |
toContainer() |
equals, fill, fill, from, get, getKeys, getOrElse, getOrNull, getValue, getValues, hashCode, registerFieldGetter, registerFieldSetter, registerKeyValue, set, set, set, set, supports, supports, transform
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public SpongeEyeLocationData()
public SpongeEyeLocationData(com.flowpowered.math.vector.Vector3d entityLocation, double eyeHeight)
public SpongeEyeLocationData(com.flowpowered.math.vector.Vector3d entityLocation, double eyeHeight, com.flowpowered.math.vector.Vector3d eyeLocation)
public org.spongepowered.api.data.value.mutable.Value<Double> eyeHeight()
eyeHeight
in interface org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData
public org.spongepowered.api.data.value.mutable.Value<com.flowpowered.math.vector.Vector3d> eyeLocation()
eyeLocation
in interface org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData
public org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData copy()
copy
in interface org.spongepowered.api.data.manipulator.DataManipulator<org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData,org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData>
copy
in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData>
public org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData asImmutable()
asImmutable
in interface org.spongepowered.api.data.manipulator.DataManipulator<org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData,org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData>
public int compareTo(org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData o)
compareTo
in interface Comparable<org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData>
public org.spongepowered.api.data.DataContainer toContainer()
toContainer
in interface org.spongepowered.api.data.DataSerializable
public double getEyeHeight()
public org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData setEyeHeight(double eyeHeight)
public com.flowpowered.math.vector.Vector3d getEyeLocation()
public org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData setEyeLocation(com.flowpowered.math.vector.Vector3d eyeLocation)
protected void registerGettersAndSetters()
registerGettersAndSetters
in class AbstractData<org.spongepowered.api.data.manipulator.mutable.entity.EyeLocationData,org.spongepowered.api.data.manipulator.immutable.entity.ImmutableEyeLocationData>