public final class EntityPredicates
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
EntityPredicates.ArmoredMob |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Predicate<Entity> |
CAN_AI_TARGET |
static java.util.function.Predicate<Entity> |
HAS_INVENTORY |
static java.util.function.Predicate<Entity> |
IS_ALIVE |
static java.util.function.Predicate<LivingEntity> |
IS_LIVING_ALIVE |
static java.util.function.Predicate<Entity> |
IS_STANDALONE |
static java.util.function.Predicate<Entity> |
NOT_SPECTATING |
Constructor and Description |
---|
EntityPredicates() |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Predicate<Entity> |
notRiding(Entity entityIn) |
static java.util.function.Predicate<Entity> |
pushableBy(Entity entityIn) |
static java.util.function.Predicate<Entity> |
withinRange(double x,
double y,
double z,
double range) |
public static final java.util.function.Predicate<Entity> IS_ALIVE
public static final java.util.function.Predicate<LivingEntity> IS_LIVING_ALIVE
public static final java.util.function.Predicate<Entity> IS_STANDALONE
public static final java.util.function.Predicate<Entity> HAS_INVENTORY
public static final java.util.function.Predicate<Entity> CAN_AI_TARGET
public static final java.util.function.Predicate<Entity> NOT_SPECTATING
public static java.util.function.Predicate<Entity> withinRange(double x, double y, double z, double range)