Skip to content

EasingType

Package: com.hypixel.hytale.protocol

public enum EasingType

Standard easing function library with 31 functions covering linear, polynomial (quad through quint), trigonometric, exponential, circular, elastic, back, and bounce curves.

ConstantOrdinalDescription
Linear0
QuadIn1
QuadOut2
QuadInOut3
CubicIn4
CubicOut5
CubicInOut6
QuartIn7
QuartOut8
QuartInOut9
QuintIn10
QuintOut11
QuintInOut12
SineIn13
SineOut14
SineInOut15
ExpoIn16
ExpoOut17
ExpoInOut18
CircIn19
CircOut20
CircInOut21
ElasticIn22
ElasticOut23
ElasticInOut24
BackIn25
BackOut26
BackInOut27
BounceIn28
BounceOut29
BounceInOut30
public int getValue()

Returns the integer wire value for this EasingType constant.

public static EasingType fromValue(int value)

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

Serialized as a single byte (030). 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.