Skip to content

UVMotionCurveType

Package: com.hypixel.hytale.protocol

public enum UVMotionCurveType

Enum with 9 constants used in the protocol serialization layer.

ConstantOrdinalDescription
Constant0Constant speed UV motion.
IncreaseLinear1Linearly increasing speed.
IncreaseQuartIn2Quartic ease-in increasing speed.
IncreaseQuartInOut3Quartic ease-in-out increasing speed.
IncreaseQuartOut4Quartic ease-out increasing speed.
DecreaseLinear5Linearly decreasing speed.
DecreaseQuartIn6Quartic ease-in decreasing speed.
DecreaseQuartInOut7Quartic ease-in-out decreasing speed.
DecreaseQuartOut8Quartic ease-out decreasing speed.
public int getValue()

Returns the integer wire value for this UVMotionCurveType constant.

public static UVMotionCurveType fromValue(int value)

Returns the UVMotionCurveType constant for the given wire value. Throws ProtocolException if the value is out of range.

Serialized as a single byte (08). The static VALUES array is used for O(1) lookup by ordinal.

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.