public class ImmutableSpongeVelocityData extends AbstractImmutableSingleData<com.flowpowered.math.vector.Vector3d,org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData,org.spongepowered.api.data.manipulator.mutable.entity.VelocityData> implements org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData
usedKey, value
Constructor and Description |
---|
ImmutableSpongeVelocityData(com.flowpowered.math.vector.Vector3d value) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.manipulator.mutable.entity.VelocityData |
asMutable() |
int |
compareTo(org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData o) |
protected org.spongepowered.api.data.value.immutable.ImmutableValue<?> |
getValueGetter() |
org.spongepowered.api.data.value.immutable.ImmutableValue<com.flowpowered.math.vector.Vector3d> |
velocity() |
get, getKeys, getValue, registerGetters, supports, toContainer
copy, equals, getValue, getValues, hashCode, registerFieldGetter, registerKeyValue, with
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public ImmutableSpongeVelocityData(com.flowpowered.math.vector.Vector3d value)
protected org.spongepowered.api.data.value.immutable.ImmutableValue<?> getValueGetter()
getValueGetter
in class AbstractImmutableSingleData<com.flowpowered.math.vector.Vector3d,org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData,org.spongepowered.api.data.manipulator.mutable.entity.VelocityData>
public org.spongepowered.api.data.manipulator.mutable.entity.VelocityData asMutable()
asMutable
in interface org.spongepowered.api.data.manipulator.ImmutableDataManipulator<org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData,org.spongepowered.api.data.manipulator.mutable.entity.VelocityData>
asMutable
in class AbstractImmutableSingleData<com.flowpowered.math.vector.Vector3d,org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData,org.spongepowered.api.data.manipulator.mutable.entity.VelocityData>
public org.spongepowered.api.data.value.immutable.ImmutableValue<com.flowpowered.math.vector.Vector3d> velocity()
velocity
in interface org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData
public int compareTo(org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData o)
compareTo
in interface Comparable<org.spongepowered.api.data.manipulator.immutable.entity.ImmutableVelocityData>