Package net.minecraft.util
Class EntityPredicates
- java.lang.Object
-
- net.minecraft.util.EntityPredicates
-
public final class EntityPredicates extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntityPredicates.ArmoredMob
-
Field Summary
Fields Modifier and Type Field Description static java.util.function.Predicate<Entity>
ATTACK_ALLOWED
static java.util.function.Predicate<Entity>
CONTAINER_ENTITY_SELECTOR
static java.util.function.Predicate<Entity>
ENTITY_NOT_BEING_RIDDEN
static java.util.function.Predicate<Entity>
ENTITY_STILL_ALIVE
static java.util.function.Predicate<LivingEntity>
LIVING_ENTITY_STILL_ALIVE
static java.util.function.Predicate<Entity>
NO_CREATIVE_OR_SPECTATOR
static java.util.function.Predicate<Entity>
NO_SPECTATORS
-
Constructor Summary
Constructors Constructor Description EntityPredicates()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.function.Predicate<Entity>
notRiding(Entity p_200820_0_)
static java.util.function.Predicate<Entity>
pushableBy(Entity p_200823_0_)
static java.util.function.Predicate<Entity>
withinDistance(double p_188443_0_, double p_188443_2_, double p_188443_4_, double p_188443_6_)
-
-
-
Field Detail
-
ENTITY_STILL_ALIVE
public static final java.util.function.Predicate<Entity> ENTITY_STILL_ALIVE
-
LIVING_ENTITY_STILL_ALIVE
public static final java.util.function.Predicate<LivingEntity> LIVING_ENTITY_STILL_ALIVE
-
ENTITY_NOT_BEING_RIDDEN
public static final java.util.function.Predicate<Entity> ENTITY_NOT_BEING_RIDDEN
-
CONTAINER_ENTITY_SELECTOR
public static final java.util.function.Predicate<Entity> CONTAINER_ENTITY_SELECTOR
-
NO_CREATIVE_OR_SPECTATOR
public static final java.util.function.Predicate<Entity> NO_CREATIVE_OR_SPECTATOR
-
ATTACK_ALLOWED
public static final java.util.function.Predicate<Entity> ATTACK_ALLOWED
-
NO_SPECTATORS
public static final java.util.function.Predicate<Entity> NO_SPECTATORS
-
-
Method Detail
-
withinDistance
public static java.util.function.Predicate<Entity> withinDistance(double p_188443_0_, double p_188443_2_, double p_188443_4_, double p_188443_6_)
-
-