Enum Class OverlapRule
- All Implemented Interfaces:
Serializable, Comparable<OverlapRule>, Constable
What a vanilla model's clips do on a part another mod is moving at that moment: a part another animation mod is
moving, such as a weapon mod's attack swing. They are found by
AnimationOverlaps.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic OverlapRuleReturns the enum constant of this class with the specified name.static OverlapRule[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
YIELD
The other mod keeps the part; the clips leave it alone. The default: an attack swing beats an idle emote. -
OVERRIDE
The clips take the part over, as they would from vanilla. -
ADD
The clips' movement is added on top of the other mod's.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-