net.minecraft.predicate.entity

public final class EntityPredicates

net.minecraft.world.entity.EntitySelector
net.minecraft.world.entity.EntitySelector
net.minecraft.class_1301
net.minecraft.predicate.entity.EntityPredicates

Field summary

Modifier and TypeField
public static final Predicate<Entity>
ENTITY_STILL_ALIVE
ENTITY_STILL_ALIVE
field_6154
VALID_ENTITY
public static final Predicate<Entity>
LIVING_ENTITY_STILL_ALIVE
LIVING_ENTITY_STILL_ALIVE
field_6157
VALID_LIVING_ENTITY
public static final Predicate<Entity>
ENTITY_NOT_BEING_RIDDEN
ENTITY_NOT_BEING_RIDDEN
field_6153
NOT_MOUNTED
public static final Predicate<Entity>
CONTAINER_ENTITY_SELECTOR
CONTAINER_ENTITY_SELECTOR
field_6152
VALID_INVENTORIES
public static final Predicate<Entity>
NO_CREATIVE_OR_SPECTATOR
NO_CREATIVE_OR_SPECTATOR
field_6156
EXCEPT_CREATIVE_OR_SPECTATOR
public static final Predicate<Entity>
NO_SPECTATORS
NO_SPECTATORS
field_6155
EXCEPT_SPECTATOR
public static final Predicate<Entity>
CAN_BE_COLLIDED_WITH
CAN_BE_COLLIDED_WITH
field_35589
CAN_COLLIDE
public static final Predicate<Entity>
CAN_BE_PICKED
CAN_BE_PICKED
field_52443
CAN_HIT

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static Predicate<Entity>
withinDistance(double centerX, double centerY, double centerZ, double distance)
withinDistance(double centerX, double centerY, double centerZ, double distance)
method_5909(double arg0, double arg1, double arg2, double arg3)
maxDistance(double x, double y, double z, double max)
public static Predicate<Entity>
pushableBy(Entity entity)
pushableBy(Entity entity)
method_5911(class_1297 arg0)
canBePushedBy(Entity entity)
public static Predicate<Entity>
notRiding(Entity entity)
notRiding(Entity entity)
method_5913(class_1297 arg0)
rides(Entity entity)