Enum Class OverlapRule

java.lang.Object
java.lang.Enum<OverlapRule>
net.ixdarklord.coolcatcanvas.api.client.armature.vanilla.OverlapRule
All Implemented Interfaces:
Serializable, Comparable<OverlapRule>, Constable

public enum OverlapRule extends Enum<OverlapRule>
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.
  • Enum Constant Details

    • YIELD

      public static final OverlapRule YIELD
      The other mod keeps the part; the clips leave it alone. The default: an attack swing beats an idle emote.
    • OVERRIDE

      public static final OverlapRule OVERRIDE
      The clips take the part over, as they would from vanilla.
    • ADD

      public static final OverlapRule ADD
      The clips' movement is added on top of the other mod's.
  • Method Details

    • values

      public static OverlapRule[] 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

      public static OverlapRule valueOf(String name)
      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 name
      NullPointerException - if the argument is null