Enum Class NaturalMoveType

java.lang.Object
java.lang.Enum<NaturalMoveType>
me.gamercoder215.mobchip.ai.controller.NaturalMoveType
All Implemented Interfaces:
Serializable, Comparable<NaturalMoveType>, Constable

public enum NaturalMoveType extends Enum<NaturalMoveType>
Represents a Natural Moving Type.
  • Enum Constant Details

    • SELF

      public static final NaturalMoveType SELF
      A Natural Movement Type that represents the entity moving on its own.
    • PLAYER

      public static final NaturalMoveType PLAYER
      A Natural Movement Type that represents the entity moving when pushed by a player.
    • PISTON

      public static final NaturalMoveType PISTON
      A Natural Movement Type that represents the entity moving when pushed by a piston.
    • SHULKER_BOX

      public static final NaturalMoveType SHULKER_BOX
      A Natural Movement Type that represents the entity moving when pushed by a shulker box.
    • SHULKER

      public static final NaturalMoveType SHULKER
      A Natural Movement Type that represents the entity moving when pushed with a Shulker Bullet.
  • Method Details

    • values

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