net.minecraft.commands.arguments.selector

public class EntitySelector

hi
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 List<Predicate<Entity>>
g
contextFreePredicates
field_52308
predicates
f_336651_
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, List<Predicate<Entity>> predicates, 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(et arg0)
checkPermissions(CommandSourceStack arg0)
method_9818(class_2168 arg0)
checkSourcePermission(ServerCommandSource source)
m_121168_(C_2969_ arg0)
public Entity
a(et arg0)
findSingleEntity(CommandSourceStack arg0)
method_9809(class_2168 arg0)
getEntity(ServerCommandSource source)
m_121139_(C_2969_ arg0)
public List<? extends Entity>
b(et arg0)
findEntities(CommandSourceStack arg0)
method_9816(class_2168 arg0)
getEntities(ServerCommandSource source)
m_121160_(C_2969_ arg0)
private void
a(List<bsr> arg0, aqu arg1, ewx arg2, Predicate<bsr> arg3)
addEntities(List<Entity> arg0, ServerLevel arg1, AABB arg2, Predicate<Entity> arg3)
method_9823(List<class_1297> arg0, class_3218 arg1, class_238 arg2, Predicate<class_1297> arg3)
appendEntitiesFromWorld(List<Entity> entities, ServerWorld world, Box box, Predicate<Entity> predicate)
m_121154_(List<C_507_> p_121156_, C_12_ p_343022_, C_3040_ p_121158_, Predicate<C_507_> arg3)
private int
f()
getResultLimit()
method_47803()
getAppendLimit()
m_261276_()
public ServerPlayer
c(et arg0)
findSinglePlayer(CommandSourceStack arg0)
method_9811(class_2168 arg0)
getPlayer(ServerCommandSource source)
m_121163_(C_2969_ arg0)
public List<ServerPlayer>
d(et arg0)
findPlayers(CommandSourceStack arg0)
method_9813(class_2168 arg0)
getPlayers(ServerCommandSource source)
m_121166_(C_2969_ arg0)
private AABB
a(exc arg0)
getAbsoluteAabb(Vec3 arg0)
method_61160(class_243 arg0)
getOffsetBox(Vec3d offset)
m_340474_(C_3046_ arg0)
private Predicate<Entity>
a(exc arg0, ewx arg1, cpl arg2)
getPredicate(Vec3 arg0, AABB arg1, FeatureFlagSet arg2)
method_9817(class_243 arg0, class_238 arg1, class_7699 arg2)
getPositionPredicate(Vec3d pos, Box box, FeatureSet enabledFeatures)
m_121144_(C_3046_ p_343863_, C_3040_ p_343062_, C_243488_ arg2)
private <T extends Entity> List<T>
a(exc 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 bsr> 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_)