Enum Class EntityAgeTest

java.lang.Object
java.lang.Enum<EntityAgeTest>
meteordevelopment.meteorclient.utils.entity.EntityAgeTest
All Implemented Interfaces:
Serializable, Comparable<EntityAgeTest>, Constable, Predicate<net.minecraft.world.entity.LivingEntity>

@NullMarked public enum EntityAgeTest extends Enum<EntityAgeTest> implements Predicate<net.minecraft.world.entity.LivingEntity>
  • Enum Constant Details

  • Method Details

    • values

      public static EntityAgeTest[] 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 EntityAgeTest 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
    • test

      public boolean test(net.minecraft.world.entity.LivingEntity livingEntity)
      Specified by:
      test in interface Predicate<net.minecraft.world.entity.LivingEntity>
    • negate

      public Predicate<net.minecraft.world.entity.LivingEntity> negate()
      Specified by:
      negate in interface Predicate<net.minecraft.world.entity.LivingEntity>