Class EntitySelector

java.lang.Object
net.minecraft.world.entity.EntitySelector

public final class EntitySelector extends Object
  • Field Details

    • ENTITY_STILL_ALIVE

      public static final Predicate<Entity> ENTITY_STILL_ALIVE
    • LIVING_ENTITY_STILL_ALIVE

      public static final Predicate<Entity> 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
    • NO_SPECTATORS

      public static final Predicate<Entity> NO_SPECTATORS
  • Constructor Details

    • EntitySelector

      private EntitySelector()
  • Method Details

    • withinDistance

      public static Predicate<Entity> withinDistance(double p_20411_, double p_20412_, double p_20413_, double p_20414_)
    • pushableBy

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

      public static Predicate<Entity> notRiding(Entity p_20432_)