net.minecraft.commands.arguments.selector

public class EntitySelector

ge
net.minecraft.commands.arguments.selector.EntitySelector
net.minecraft.class_2300
net.minecraft.command.EntitySelector
net.minecraft.src.C_4650_
net.minecraft.commands.arguments.selector.EntitySelector

Field summary

Modifier and TypeField
public static final int
a
INFINITE
field_33068
MAX_VALUE
f_175099_
public static final BiConsumer<Vec3, List<? extends Entity>>
b
ORDER_ARBITRARY
field_41524
ARBITRARY
f_260598_
private static final EntityTypeTest<Entity, ?>
c
ANY_TYPE
field_27774
PASSTHROUGH_FILTER
f_175100_
private final int
d
maxResults
field_10822
limit
f_121111_
private final boolean
e
includesEntities
field_10830
includesNonPlayers
f_121112_
private final boolean
f
worldLimited
field_10829
localWorldOnly
f_121113_
private final Predicate<Entity>
g
predicate
field_10820
basePredicate
f_121114_
private final MinMaxBounds$Doubles
h
range
field_10825
distance
f_121115_
private final Function<Vec3, Vec3>
i
position
field_10823
positionOffset
f_121116_
private final AABB
j
aabb
field_10824
box
f_121117_
private final BiConsumer<Vec3, List<? extends Entity>>
k
order
field_10826
sorter
f_121118_
private final boolean
l
currentEntity
field_10828
senderOnly
f_121119_
private final String
m
playerName
field_10831
playerName
f_121120_
private final UUID
n
entityUUID
field_10821
uuid
f_121121_
private final EntityTypeTest<Entity, ?>
o
type
field_10832
entityFilter
f_121122_
private final boolean
p
usesSelector
field_10827
usesAt
f_121123_

Constructor summary

ModifierConstructor
public (int count, boolean includesNonPlayers, boolean localWorldOnly, Predicate<Entity> basePredicate, MinMaxBounds$Doubles distance, Function<Vec3, Vec3> positionOffset, AABB box, BiConsumer<Vec3, List<? extends Entity>> sorter, boolean senderOnly, String playerName, UUID uuid, EntityType<?> type, boolean usesAt)

Method summary

Modifier and TypeMethod
public int
a()
getMaxResults()
method_9815()
getLimit()
m_121138_()
public boolean
b()
includesEntities()
method_9819()
includesNonPlayers()
m_121159_()
public boolean
c()
isSelfSelector()
method_9820()
isSenderOnly()
m_121162_()
public boolean
d()
isWorldLimited()
method_9821()
isLocalWorldOnly()
m_121165_()
public boolean
e()
usesSelector()
method_35815()
usesAt()
m_175105_()
private void
e(ds arg0)
checkPermissions(CommandSourceStack arg0)
method_9818(class_2168 arg0)
checkSourcePermission(ServerCommandSource source)
m_121168_(C_2969_ arg0)
public Entity
a(ds arg0)
findSingleEntity(CommandSourceStack arg0)
method_9809(class_2168 arg0)
getEntity(ServerCommandSource source)
m_121139_(C_2969_ arg0)
public List<? extends Entity>
b(ds arg0)
findEntities(CommandSourceStack arg0)
method_9816(class_2168 arg0)
getEntities(ServerCommandSource source)
m_121160_(C_2969_ arg0)
private List<? extends Entity>
f(ds arg0)
findEntitiesRaw(CommandSourceStack arg0)
method_45915(class_2168 arg0)
getUnfilteredEntities(ServerCommandSource source)
m_245733_(C_2969_ arg0)
private void
a(List<blv> arg0, and arg1, elt arg2, Predicate<blv> arg3)
addEntities(List<Entity> arg0, ServerLevel arg1, Vec3 arg2, Predicate<Entity> arg3)
method_9823(List<class_1297> arg0, class_3218 arg1, class_243 arg2, Predicate<class_1297> arg3)
appendEntitiesFromWorld(List<Entity> entities, ServerWorld world, Vec3d pos, Predicate<Entity> predicate)
m_121154_(List<C_507_> p_121156_, C_12_ p_121157_, C_3046_ p_121158_, Predicate<C_507_> arg3)
private int
f()
getResultLimit()
method_47803()
getAppendLimit()
m_261276_()
public ServerPlayer
c(ds arg0)
findSinglePlayer(CommandSourceStack arg0)
method_9811(class_2168 arg0)
getPlayer(ServerCommandSource source)
m_121163_(C_2969_ arg0)
public List<ServerPlayer>
d(ds arg0)
findPlayers(CommandSourceStack arg0)
method_9813(class_2168 arg0)
getPlayers(ServerCommandSource source)
m_121166_(C_2969_ arg0)
private Predicate<Entity>
a(elt arg0)
getPredicate(Vec3 arg0)
method_9817(class_243 arg0)
getPositionPredicate(Vec3d pos)
m_121144_(C_3046_ arg0)
private <T extends Entity> List<T>
a(elt arg0, List<T> arg1)
sortAndLimit(Vec3 arg0, List<T> arg1)
method_9814(class_243 arg0, List<T> arg1)
getEntities(Vec3d pos, List<T> entities)
m_121149_(C_3046_ p_121151_, List<T> arg1)
public static Component
a(List<? extends blv> arg0)
joinNames(List<? extends Entity> arg0)
method_9822(List<? extends class_1297> arg0)
getNames(List<? extends Entity> entities)
m_175103_(List<? extends C_507_> p_175104_)