UVMotionCurveType
Package: com.hypixel.hytale.protocol
public enum UVMotionCurveTypeEnum with 9 constants used in the protocol serialization layer.
Constants
Section titled “Constants”| Constant | Ordinal | Description |
|---|---|---|
Constant | 0 | Constant speed UV motion. |
IncreaseLinear | 1 | Linearly increasing speed. |
IncreaseQuartIn | 2 | Quartic ease-in increasing speed. |
IncreaseQuartInOut | 3 | Quartic ease-in-out increasing speed. |
IncreaseQuartOut | 4 | Quartic ease-out increasing speed. |
DecreaseLinear | 5 | Linearly decreasing speed. |
DecreaseQuartIn | 6 | Quartic ease-in decreasing speed. |
DecreaseQuartInOut | 7 | Quartic ease-in-out decreasing speed. |
DecreaseQuartOut | 8 | Quartic ease-out decreasing speed. |
Methods
Section titled “Methods”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.
Serialization
Section titled “Serialization”Serialized as a single byte (0—8). 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.