net.minecraft.commands.arguments.selector

public class EntitySelector

fm
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
field_33068
f_175099_
private static final EntityTypeTest<Entity, ?>
b
ANY_TYPE
field_27774
PASSTHROUGH_FILTER
f_175100_
private final int
c
maxResults
field_10822
limit
f_121111_
private final boolean
d
includesEntities
field_10830
includesNonPlayers
f_121112_
private final boolean
e
worldLimited
field_10829
localWorldOnly
f_121113_
private final Predicate<Entity>
f
predicate
field_10820
basePredicate
f_121114_
private final MinMaxBounds$Doubles
g
range
field_10825
distance
f_121115_
private final Function<Vec3, Vec3>
h
position
field_10823
positionOffset
f_121116_
private final AABB
i
aabb
field_10824
box
f_121117_
private final BiConsumer<Vec3, List<? extends Entity>>
j
order
field_10826
sorter
f_121118_
private final boolean
k
currentEntity
field_10828
senderOnly
f_121119_
private final String
l
playerName
field_10831
playerName
f_121120_
private final UUID
m
entityUUID
field_10821
uuid
f_121121_
private EntityTypeTest<Entity, ?>
n
type
field_10832
entityFilter
f_121122_
private final boolean
o
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(dl arg0)
checkPermissions(CommandSourceStack arg0)
method_9818(class_2168 arg0)
checkSourcePermission(ServerCommandSource arg0)
m_121168_(C_2969_ arg0)
public Entity
a(dl arg0)
findSingleEntity(CommandSourceStack arg0)
method_9809(class_2168 arg0)
getEntity(ServerCommandSource arg0)
m_121139_(C_2969_ arg0)
public List<? extends Entity>
b(dl arg0)
findEntities(CommandSourceStack arg0)
method_9816(class_2168 arg0)
getEntities(ServerCommandSource arg0)
m_121160_(C_2969_ arg0)
getEntities(CommandListenerWrapper arg0)
private void
a(List<atg> arg0, abr arg1, dna arg2, Predicate<atg> 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> arg0, ServerWorld arg1, Vec3d arg2, Predicate<Entity> arg3)
m_121154_(List<C_507_> p_121156_, C_12_ p_121157_, C_3046_ p_121158_, Predicate<C_507_> arg3)
public ServerPlayer
c(dl arg0)
findSinglePlayer(CommandSourceStack arg0)
method_9811(class_2168 arg0)
getPlayer(ServerCommandSource arg0)
m_121163_(C_2969_ arg0)
public List<ServerPlayer>
d(dl arg0)
findPlayers(CommandSourceStack arg0)
method_9813(class_2168 arg0)
getPlayers(ServerCommandSource arg0)
m_121166_(C_2969_ arg0)
private Predicate<Entity>
a(dna arg0)
getPredicate(Vec3 arg0)
method_9817(class_243 arg0)
getPositionPredicate(Vec3d arg0)
m_121144_(C_3046_ arg0)
private <T extends Entity> List<T>
a(dna arg0, List<T> arg1)
sortAndLimit(Vec3 arg0, List<T> arg1)
method_9814(class_243 arg0, List<T> arg1)
getEntities(Vec3d arg0, List<T> arg1)
m_121149_(C_3046_ p_121151_, List<T> arg1)
public static Component
a(List<? extends atg> arg0)
joinNames(List<? extends Entity> arg0)
method_9822(List<? extends class_1297> arg0)
getNames(List<? extends Entity> arg0)
m_175103_(List<? extends C_507_> p_175104_)