net.minecraft.command.argument

public class EntitySelector

dr
net.minecraft.class_4317
net.minecraft.command.argument.EntitySelector
net.minecraft.command.arguments.EntitySelector
net.minecraft.command.arguments.EntitySelector

Field summary

Modifier and TypeField
private final int
a
field_21175
max
field_197354_a
limit
private final boolean
b
field_21176
allowNonPlayers
field_197355_b
includeNonPlayers
private final boolean
c
field_21177
restrictOtherWorlds
field_197356_c
currentWorldOnly
private final Predicate<Entity>
d
field_21178
predicate
field_197357_d
filter
private final NumberPredicate$Floats
e
field_21179
range
field_197358_e
distance
private final Function<Vec3d, Vec3d>
f
field_21180
position
field_197359_f
positionGetter
private final Box
g
field_21181
bounds
field_197360_g
aabb
private final BiConsumer<Vec3d, List<? extends Entity>>
h
field_21182
order
field_197361_h
sorter
private final boolean
i
field_21183
allowSelf
field_197362_i
self
private final String
j
field_21184
name
field_197363_j
username
private final UUID
k
field_21185
uuid
field_197364_k
uuid
private final Class<? extends Entity>
l
field_21186
type
field_201957_l
type
private final boolean
m
field_21187
selector
field_210325_m
checkPermission

Constructor summary

ModifierConstructor
public (int max, boolean allowNonPlayers, boolean restrictOtherWorlds, Predicate<Entity> predicate, NumberPredicate$Floats range, Function<Vec3d, Vec3d> position, Box bounds, BiConsumer<Vec3d, List<? extends Entity>> order, boolean allowSelf, String name, UUID uuid, Class<? extends Entity> type, boolean selector)

Method summary

Modifier and TypeMethod
public int
a()
method_19726()
getMax()
func_197346_a()
getLimit()
public boolean
b()
method_19734()
hasNonPlayers()
func_197351_b()
includesEntities()
public boolean
c()
method_19736()
hasSelf()
func_197352_c()
isSelfSelector()
public boolean
d()
method_19738()
isRestrictOtherWorlds()
func_197353_d()
isWorldLimited()
private void
e(bu arg0)
method_19740(class_3915 arg0)
checkPermissions(CommandSourceStack source)
func_210324_e(CommandSource arg0)
checkPermission(CommandSource source)
public Entity
a(bu arg0)
method_19727(class_3915 arg0)
findSingleEntity(CommandSourceStack source)
func_197340_a(CommandSource arg0)
selectOne(CommandSource source)
public List<? extends Entity>
b(bu arg0)
method_19735(class_3915 arg0)
findEntities(CommandSourceStack source)
func_197341_b(CommandSource arg0)
select(CommandSource source)
private void
a(List<aer> arg0, td arg1, cee arg2, Predicate<aer> arg3)
method_19733(List<class_864> arg0, class_795 arg1, class_236 arg2, Predicate<class_864> arg3)
collectEntities(List<Entity> entities, ServerWorld world, Vec3d pos, Predicate<Entity> filter)
func_197348_a(List<Entity> arg0, WorldServer arg1, Vec3d arg2, Predicate<Entity> arg3)
getEntities(List<Entity> result, WorldServer worldIn, Vec3d pos, Predicate<Entity> predicate)
public ServerPlayerEntity
c(bu arg0)
method_19737(class_3915 arg0)
findSinglePlayer(CommandSourceStack source)
func_197347_c(CommandSource arg0)
selectOnePlayer(CommandSource source)
public List<ServerPlayerEntity>
d(bu arg0)
method_19739(class_3915 arg0)
findPlayers(CommandSourceStack source)
func_197342_d(CommandSource arg0)
selectPlayers(CommandSource source)
private Predicate<Entity>
a(cee arg0)
method_19729(class_236 arg0)
getPredicate(Vec3d pos)
func_197349_a(Vec3d arg0)
updateFilter(Vec3d pos)
private <T extends Entity> List<T>
a(cee arg0, List<T> arg1)
method_19731(class_236 arg0, List<T> arg1)
sortAndLimit(Vec3d pos, List<T> entities)
func_197345_a(Vec3d arg0, List<T> arg1)
sortAndLimit(Vec3d pos, List<T> entities)
public static Text
a(List<? extends aer> arg0)
method_19732(List<? extends class_864> arg0)
joinNames(List<? extends Entity> entities)
func_197350_a(List<? extends Entity> arg0)
joinNames(List<? extends Entity> entities)