Class EntityPredicates


  • public final class EntityPredicates
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.function.Predicate<? super Entity> NO_SPECTATOR  
      static java.util.function.Predicate<? super Entity> STILL_ALIVE  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.function.Predicate<? super Entity> withinDistance​(double x, double y, double z, double distance)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NO_SPECTATOR

        public static final java.util.function.Predicate<? super Entity> NO_SPECTATOR
      • STILL_ALIVE

        public static final java.util.function.Predicate<? super Entity> STILL_ALIVE
    • Constructor Detail

      • EntityPredicates

        public EntityPredicates()
    • Method Detail

      • withinDistance

        public static java.util.function.Predicate<? super Entity> withinDistance​(double x,
                                                                                  double y,
                                                                                  double z,
                                                                                  double distance)