net.minecraft.commands.arguments.selector

public class EntitySelector

hm
net.minecraft.commands.arguments.selector.EntitySelector
net.minecraft.class_2300
net.minecraft.command.EntitySelector
net.minecraft.commands.arguments.selector.EntitySelector

Field summary

Modifier and TypeField
public static final int
a
INFINITE
field_33068
MAX_VALUE
public static final BiConsumer<Vec3, List<? extends Entity>>
b
ORDER_ARBITRARY
field_41524
ARBITRARY
private static final EntityTypeTest<Entity, ?>
c
ANY_TYPE
field_27774
PASSTHROUGH_FILTER
private final int
d
maxResults
field_10822
limit
private final boolean
e
includesEntities
field_10830
includesNonPlayers
private final boolean
f
worldLimited
field_10829
localWorldOnly
private final List<Predicate<Entity>>
g
contextFreePredicates
field_52308
predicates
private final MinMaxBounds$Doubles
h
range
field_10825
distance
private final Function<Vec3, Vec3>
i
position
field_10823
positionOffset
private final AABB
j
aabb
field_10824
box
private final BiConsumer<Vec3, List<? extends Entity>>
k
order
field_10826
sorter
private final boolean
l
currentEntity
field_10828
senderOnly
private final String
m
playerName
field_10831
playerName
private final UUID
n
entityUUID
field_10821
uuid
private final EntityTypeTest<Entity, ?>
o
type
field_10832
entityFilter
private final boolean
p
usesSelector
field_10827
usesAt

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()
public boolean
b()
includesEntities()
method_9819()
includesNonPlayers()
public boolean
c()
isSelfSelector()
method_9820()
isSenderOnly()
public boolean
d()
isWorldLimited()
method_9821()
isLocalWorldOnly()
public boolean
e()
usesSelector()
method_35815()
usesAt()
private void
e(ex arg0)
checkPermissions(CommandSourceStack arg0)
method_9818(class_2168 arg0)
checkSourcePermission(ServerCommandSource source)
public Entity
a(ex arg0)
findSingleEntity(CommandSourceStack arg0)
method_9809(class_2168 arg0)
getEntity(ServerCommandSource source)
public List<? extends Entity>
b(ex arg0)
findEntities(CommandSourceStack arg0)
method_9816(class_2168 arg0)
getEntities(ServerCommandSource source)
private void
a(List<bum> arg0, ard arg1, faw arg2, Predicate<bum> 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)
private int
f()
getResultLimit()
method_47803()
getAppendLimit()
public ServerPlayer
c(ex arg0)
findSinglePlayer(CommandSourceStack arg0)
method_9811(class_2168 arg0)
getPlayer(ServerCommandSource source)
public List<ServerPlayer>
d(ex arg0)
findPlayers(CommandSourceStack arg0)
method_9813(class_2168 arg0)
getPlayers(ServerCommandSource source)
private AABB
a(fbb arg0)
getAbsoluteAabb(Vec3 arg0)
method_61160(class_243 arg0)
getOffsetBox(Vec3d offset)
private Predicate<Entity>
a(fbb arg0, faw arg1, cru 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)
private <T extends Entity> List<T>
a(fbb arg0, List<T> arg1)
sortAndLimit(Vec3 arg0, List<T> arg1)
method_9814(class_243 arg0, List<T> arg1)
getEntities(Vec3d pos, List<T> entities)
public static Component
a(List<? extends bum> arg0)
joinNames(List<? extends Entity> arg0)
method_9822(List<? extends class_1297> arg0)
getNames(List<? extends Entity> entities)