Class EntityPredicates

java.lang.Object
net.minecraft.util.EntityPredicates

public final class EntityPredicates extends Object
  • Field Details

    • ENTITY_STILL_ALIVE

      public static final Predicate<Entity> ENTITY_STILL_ALIVE
    • LIVING_ENTITY_STILL_ALIVE

      public static final Predicate<LivingEntity> LIVING_ENTITY_STILL_ALIVE
    • ENTITY_NOT_BEING_RIDDEN

      public static final Predicate<Entity> ENTITY_NOT_BEING_RIDDEN
    • CONTAINER_ENTITY_SELECTOR

      public static final Predicate<Entity> CONTAINER_ENTITY_SELECTOR
    • NO_CREATIVE_OR_SPECTATOR

      public static final Predicate<Entity> NO_CREATIVE_OR_SPECTATOR
    • ATTACK_ALLOWED

      public static final Predicate<Entity> ATTACK_ALLOWED
    • NO_SPECTATORS

      public static final Predicate<Entity> NO_SPECTATORS
  • Constructor Details

    • EntityPredicates

      public EntityPredicates()
  • Method Details

    • withinDistance

      public static Predicate<Entity> withinDistance(double p_188443_0_, double p_188443_2_, double p_188443_4_, double p_188443_6_)
    • pushableBy

      public static Predicate<Entity> pushableBy(Entity p_200823_0_)
    • notRiding

      public static Predicate<Entity> notRiding(Entity p_200820_0_)