Enum Class GateBehavior.RunningPolicy

java.lang.Object
java.lang.Enum<GateBehavior.RunningPolicy>
net.minecraft.world.entity.ai.behavior.GateBehavior.RunningPolicy
All Implemented Interfaces:
Serializable, Comparable<GateBehavior.RunningPolicy>, Constable
Enclosing class:
GateBehavior<E extends LivingEntity>

public static enum GateBehavior.RunningPolicy extends Enum<GateBehavior.RunningPolicy>
  • Enum Constant Details

  • Constructor Details

    • RunningPolicy

      private RunningPolicy()
  • Method Details

    • values

      public static GateBehavior.RunningPolicy[] 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 GateBehavior.RunningPolicy 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
    • apply

      public abstract <E extends LivingEntity> void apply(Stream<Behavior<? super E>> p_147532_, ServerLevel p_147533_, E p_147534_, long p_147535_)