net.minecraft.commands.arguments.selector

public class EntitySelectorParser

eq
net.minecraft.commands.arguments.selector.EntitySelectorParser
net.minecraft.class_2303
net.minecraft.command.EntitySelectorReader
net.minecraft.command.arguments.EntitySelectorParser
net.minecraft.server.v1_15_R1.ArgumentParserSelector

Field summary

Modifier and TypeField
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_INVALID_NAME_OR_UUID
field_10875
INVALID_ENTITY_EXCEPTION
field_197408_a
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_UNKNOWN_SELECTOR_TYPE
field_10853
UNKNOWN_SELECTOR_EXCEPTION
field_197409_b
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_SELECTORS_NOT_ALLOWED
field_10880
NOT_ALLOWED_EXCEPTION
field_210328_c
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_MISSING_SELECTOR_TYPE
field_10844
MISSING_EXCEPTION
field_197410_c
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
e
ERROR_EXPECTED_END_OF_OPTIONS
field_10837
UNTERMINATED_EXCEPTION
field_197411_d
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
f
ERROR_EXPECTED_OPTION_VALUE
field_10855
VALUELESS_EXCEPTION
field_197412_e
public static final BiConsumer<Vec3, List<? extends Entity>>
g
ORDER_ARBITRARY
field_10856
ARBITRARY
field_197413_f
public static final BiConsumer<Vec3, List<? extends Entity>>
h
ORDER_NEAREST
field_10869
NEAREST
field_197414_g
public static final BiConsumer<Vec3, List<? extends Entity>>
i
ORDER_FURTHEST
field_10882
FURTHEST
field_197415_h
public static final BiConsumer<Vec3, List<? extends Entity>>
j
ORDER_RANDOM
field_10850
RANDOM
field_197416_i
public static final BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
k
SUGGEST_NOTHING
field_10867
DEFAULT_SUGGESTION_PROVIDER
field_201355_j
private final com.mojang.brigadier.StringReader
l
reader
field_10860
reader
field_197417_j
private final boolean
m
allowSelectors
field_10846
atAllowed
field_210329_m
private int
n
maxResults
field_10858
limit
field_197418_k
private boolean
o
includesEntities
field_10843
includesNonPlayers
field_197419_l
private boolean
p
worldLimited
field_10866
localWorldOnly
field_197420_m
private MinMaxBounds$Floats
q
distance
field_10838
distance
field_197421_n
private MinMaxBounds$Ints
r
level
field_10842
levelRange
field_197422_o
private Double
s
x
field_10857
x
field_197423_p
private Double
t
y
field_10872
y
field_197424_q
private Double
u
z
field_10839
z
field_197425_r
private Double
v
deltaX
field_10862
dx
field_197426_s
private Double
w
deltaY
field_10852
dy
field_197427_t
private Double
x
deltaZ
field_10881
dz
field_197428_u
private WrappedMinMaxBounds
y
rotX
field_10877
pitchRange
field_197429_v
private WrappedMinMaxBounds
z
rotY
field_10859
yawRange
field_197430_w
private Predicate<Entity>
A
predicate
field_10870
predicate
field_197431_x
private BiConsumer<Vec3, List<? extends Entity>>
B
order
field_10847
sorter
field_197432_y
private boolean
C
currentEntity
field_10879
senderOnly
field_197433_z
private String
D
playerName
field_10876
playerName
field_197406_A
private int
E
startPosition
field_10861
startCursor
field_201999_C
private UUID
F
entityUUID
field_10878
uuid
field_197407_B
private BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
G
suggestions
field_10848
suggestionProvider
field_201354_D
private boolean
H
hasNameEquals
field_10854
selectsName
field_202000_F
private boolean
I
hasNameNotEquals
field_10874
excludesName
field_202001_G
private boolean
J
isLimited
field_10851
hasLimit
field_202002_H
private boolean
K
isSorted
field_10873
hasSorter
field_202003_I
private boolean
L
hasGamemodeEquals
field_10849
selectsGameMode
field_202004_J
private boolean
M
hasGamemodeNotEquals
field_10871
excludesGameMode
field_202005_K
private boolean
N
hasTeamEquals
field_10845
selectsTeam
field_202006_L
private boolean
O
hasTeamNotEquals
field_10868
excludesTeam
field_202007_M
private EntityType<?>
P
type
field_10863
entityType
field_202008_N
private boolean
Q
typeInverse
field_10865
excludesEntityType
field_202009_O
private boolean
R
hasScores
field_10841
selectsScores
field_202010_P
private boolean
S
hasAdvancements
field_10864
selectsAdvancements
field_202011_Q
private boolean
T
usesSelectors
field_10840
usesAt
field_210327_T
checkPermissions

Constructor summary

ModifierConstructor
public (com.mojang.brigadier.StringReader reader)
public (com.mojang.brigadier.StringReader reader, boolean atAllowed)

Method summary

Modifier and TypeMethod
public EntitySelector
a()
getSelector()
method_9871()
build()
func_197400_a()
private AABB
a(double arg0, double arg1, double arg2)
createAabb(double arg0, double arg1, double arg2)
method_9894(double arg0, double arg1, double arg2)
createBox(double x, double y, double z)
func_197390_a(double arg0, double arg1, double arg2)
private void
I()
finalizePredicates()
method_9878()
buildPredicate()
func_197396_n()
private Predicate<Entity>
a(cj arg0, ToDoubleFunction<akq> arg1)
createRotationPredicate(WrappedMinMaxBounds arg0, ToDoubleFunction<Entity> arg1)
method_9859(class_2152 arg0, ToDoubleFunction<class_1297> arg1)
rotationPredicate(FloatRangeArgument arg0, ToDoubleFunction<Entity> arg1)
func_197366_a(MinMaxBoundsWrapped arg0, ToDoubleFunction<Entity> arg1)
protected void
b()
parseSelector()
method_9917()
readAtVariable()
func_197403_b()
parseSelector()
protected void
c()
parseNameOrUUID()
method_9849()
readRegular()
func_197382_c()
protected void
d()
parseOptions()
method_9874()
readArguments()
func_197404_d()
public boolean
e()
shouldInvertValue()
method_9892()
readNegationCharacter()
func_197378_e()
public boolean
f()
isTag()
method_9915()
readTagCharacter()
func_218115_f()
public com.mojang.brigadier.StringReader
g()
getReader()
method_9835()
getReader()
func_197398_f()
public void
a(Predicate<akq> arg0)
addPredicate(Predicate<Entity> arg0)
method_9916(Predicate<class_1297> arg0)
setPredicate(Predicate<Entity> arg0)
func_197401_a(Predicate<Entity> arg0)
public void
h()
setWorldLimited()
method_9852()
setLocalWorldOnly()
func_197365_g()
public MinMaxBounds$Floats
i()
getDistance()
method_9873()
getDistance()
func_197370_h()
public void
a(br$c arg0)
setDistance(MinMaxBounds$Floats arg0)
method_9870(class_2096$class_2099 arg0)
setDistance(NumberRange$FloatRange distance)
func_197397_a(MinMaxBounds$FloatBound arg0)
public MinMaxBounds$Ints
j()
getLevel()
method_9895()
getLevelRange()
func_197394_i()
public void
a(br$d arg0)
setLevel(MinMaxBounds$Ints arg0)
method_9846(class_2096$class_2100 arg0)
setLevelRange(NumberRange$IntRange experienceRange)
func_197399_b(MinMaxBounds$IntBound arg0)
public WrappedMinMaxBounds
k()
getRotX()
method_9883()
getPitchRange()
func_201968_j()
public void
a(cj arg0)
setRotX(WrappedMinMaxBounds arg0)
method_9898(class_2152 arg0)
setPitchRange(FloatRangeArgument arg0)
func_197389_c(MinMaxBoundsWrapped arg0)
public WrappedMinMaxBounds
l()
getRotY()
method_9853()
getYawRange()
func_201980_k()
public void
b(cj arg0)
setRotY(WrappedMinMaxBounds arg0)
method_9855(class_2152 arg0)
setYawRange(FloatRangeArgument arg0)
func_197387_d(MinMaxBoundsWrapped arg0)
public Double
m()
getX()
method_9902()
getX()
func_201965_l()
public Double
n()
getY()
method_9884()
getY()
func_201991_m()
public Double
o()
getZ()
method_9868()
getZ()
func_201983_n()
public void
a(double arg0)
setX(double arg0)
method_9850(double arg0)
setX(double x)
func_197384_a(double arg0)
public void
b(double arg0)
setY(double arg0)
method_9864(double arg0)
setY(double y)
func_197395_b(double arg0)
public void
c(double arg0)
setZ(double arg0)
method_9879(double arg0)
setZ(double z)
func_197372_c(double arg0)
public void
d(double arg0)
setDeltaX(double arg0)
method_9891(double arg0)
setDx(double dx)
func_197377_d(double arg0)
public void
e(double arg0)
setDeltaY(double arg0)
method_9905(double arg0)
setDy(double dy)
func_197391_e(double arg0)
public void
f(double arg0)
setDeltaZ(double arg0)
method_9918(double arg0)
setDz(double dz)
func_197405_f(double arg0)
public Double
p()
getDeltaX()
method_9851()
getDx()
func_201977_o()
public Double
q()
getDeltaY()
method_9840()
getDy()
func_201971_p()
public Double
r()
getDeltaZ()
method_9907()
getDz()
func_201962_q()
public void
a(int arg0)
setMaxResults(int arg0)
method_9900(int arg0)
setLimit(int limit)
func_197388_a(int arg0)
public void
a(boolean arg0)
setIncludesEntities(boolean arg0)
method_9841(boolean arg0)
setIncludesNonPlayers(boolean includesNonPlayers)
func_197373_a(boolean arg0)
public void
a(BiConsumer<cvl, List<? extends akq>> arg0)
setOrder(BiConsumer<Vec3, List<? extends Entity>> arg0)
method_9845(BiConsumer<class_243, List<? extends class_1297>> arg0)
setSorter(BiConsumer<Vec3d, List<? extends Entity>> sorter)
func_197376_a(BiConsumer<Vec3d, List<? extends Entity>> arg0)
public EntitySelector
t()
parse()
method_9882()
read()
func_201345_m()
parse()
private static void
a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
fillSelectorSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9896(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestSelector(com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
func_210326_a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
b(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestNameOrSelector(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
method_9880(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestSelector(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
func_201981_b(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
c(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestName(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
method_9858(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestNormal(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
func_201974_c(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
d(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestSelector(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
method_9834(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestSelectorRest(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
func_201959_d(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
e(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestOpenOptions(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
method_9893(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestOpen(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
func_201989_e(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
f(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestOptionsKeyOrClose(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
method_9911(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestOptionOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
func_201996_f(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
g(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestOptionsKey(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
method_9909(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestOption(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
func_201994_g(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
h(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestOptionsNextOrClose(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
method_9847(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
suggestEndNext(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
func_201969_h(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
public boolean
u()
isCurrentEntity()
method_9885()
isSenderOnly()
func_197381_m()
public void
a(BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> arg0)
setSuggestions(BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> arg0)
method_9875(BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> arg0)
setSuggestionProvider(BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> arg0)
func_201978_a(BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> arg0)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
fillSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
method_9908(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
listSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
func_201993_a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Consumer<com.mojang.brigadier.suggestion.SuggestionsBuilder> arg1)
public boolean
v()
hasNameEquals()
method_9912()
selectsName()
func_201984_u()
public void
c(boolean arg0)
setHasNameEquals(boolean arg0)
method_9899(boolean arg0)
setSelectsName(boolean selectsName)
func_201990_c(boolean arg0)
public boolean
w()
hasNameNotEquals()
method_9844()
excludesName()
func_201997_v()
public void
d(boolean arg0)
setHasNameNotEquals(boolean arg0)
method_9913(boolean arg0)
setExcludesName(boolean arg0)
func_201998_d(boolean arg0)
public boolean
x()
isLimited()
method_9866()
hasLimit()
func_201967_w()
public void
e(boolean arg0)
setLimited(boolean arg0)
method_9877(boolean arg0)
setHasLimit(boolean hasLimit)
func_201979_e(boolean arg0)
public boolean
y()
isSorted()
method_9889()
hasSorter()
func_201976_x()
public void
f(boolean arg0)
setSorted(boolean arg0)
method_9887(boolean arg0)
setHasSorter(boolean hasSorter)
func_201986_f(boolean arg0)
public boolean
z()
hasGamemodeEquals()
method_9839()
selectsGameMode()
func_201987_y()
public void
g(boolean arg0)
setHasGamemodeEquals(boolean arg0)
method_9890(boolean arg0)
setSelectsGameMode(boolean selectsGameMode)
func_201988_g(boolean arg0)
public boolean
A()
hasGamemodeNotEquals()
method_9837()
excludesGameMode()
func_201961_z()
public void
h(boolean arg0)
setHasGamemodeNotEquals(boolean arg0)
method_9857(boolean arg0)
setHasNegatedGameMode(boolean hasNegatedGameMode)
func_201973_h(boolean arg0)
public boolean
B()
hasTeamEquals()
method_9904()
selectsTeam()
func_201960_A()
public void
i(boolean arg0)
setHasTeamEquals(boolean arg0)
method_9865(boolean arg0)
setSelectsTeam(boolean selectsTeam)
func_201975_i(boolean arg0)
public void
j(boolean arg0)
setHasTeamNotEquals(boolean arg0)
method_9833(boolean arg0)
setExcludesTeam(boolean excludesTeam)
func_201958_j(boolean arg0)
public void
a(aku<?> arg0)
limitToType(EntityType<?> arg0)
method_9842(class_1299<?> arg0)
setEntityType(EntityType<?> entityType)
func_218114_a(EntityType<?> arg0)
public void
D()
setTypeLimitedInversely()
method_9860()
setExcludesEntityType()
func_201982_C()
public boolean
E()
isTypeLimited()
method_9886()
selectsEntityType()
func_201963_E()
public boolean
F()
isTypeLimitedInversely()
method_9910()
excludesEntityType()
func_201985_F()
public boolean
G()
hasScores()
method_9843()
selectsScores()
func_201995_G()
public void
k(boolean arg0)
setHasScores(boolean arg0)
method_9848(boolean arg0)
setSelectsScores(boolean selectsScores)
func_201970_k(boolean arg0)
public boolean
H()
hasAdvancements()
method_9861()
selectsAdvancements()
func_201966_H()
public void
l(boolean arg0)
setHasAdvancements(boolean arg0)
method_9906(boolean arg0)
setSelectsAdvancements(boolean selectsAdvancements)
func_201992_l(boolean arg0)