Package net.minecraft.world.entity
Class EntitySelector
java.lang.Object
net.minecraft.world.entity.EntitySelector
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionSelects entities which are collidable with and aren't spectatorsSelects only entities which are container entitiesSelects only entities which are neither ridden by anything nor ride on anythingSelects only entities which are aliveSelects only entities which are LivingEntities and aliveSelects entities which are neither creative-mode players nor spectator-playersSelects entities which are either not players or players that are not spectating -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ENTITY_STILL_ALIVE
Selects only entities which are alive -
LIVING_ENTITY_STILL_ALIVE
Selects only entities which are LivingEntities and alive -
ENTITY_NOT_BEING_RIDDEN
Selects only entities which are neither ridden by anything nor ride on anything -
CONTAINER_ENTITY_SELECTOR
Selects only entities which are container entities -
NO_CREATIVE_OR_SPECTATOR
Selects entities which are neither creative-mode players nor spectator-players -
NO_SPECTATORS
Selects entities which are either not players or players that are not spectating -
CAN_BE_COLLIDED_WITH
Selects entities which are collidable with and aren't spectators
-
-
Constructor Details
-
EntitySelector
private EntitySelector()
-
-
Method Details
-
withinDistance
-
pushableBy
-
notRiding
-