java.lang.Object
java.lang.Enum<FlyMode>
com.pixelmonmod.pixelmon.entities.pixelmon.movement.FlyMode
All Implemented Interfaces:
Serializable, Comparable<FlyMode>, Constable

public enum FlyMode extends Enum<FlyMode>
  • Enum Constant Details

    • Fly

      public static final FlyMode Fly
    • Swoop

      public static final FlyMode Swoop
    • Land

      public static final FlyMode Land
    • FlyClimb

      public static final FlyMode FlyClimb
    • SwoopEnd

      public static final FlyMode SwoopEnd
    • Attack

      public static final FlyMode Attack
    • AttackBackOff

      public static final FlyMode AttackBackOff
    • Retreat

      public static final FlyMode Retreat
    • Flee

      public static final FlyMode Flee
    • CircleOwner

      public static final FlyMode CircleOwner
    • FlyToOwner

      public static final FlyMode FlyToOwner
    • LandOwner

      public static final FlyMode LandOwner
    • FlyAwayDespawn

      public static final FlyMode FlyAwayDespawn
    • FlyToFriend

      public static final FlyMode FlyToFriend
    • LandFriend

      public static final FlyMode LandFriend
    • Hover

      public static final FlyMode Hover
  • Field Details

    • probability

      public int probability
  • Method Details

    • values

      public static FlyMode[] 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 FlyMode 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
    • ignoreCollision

      public boolean ignoreCollision()