net.minecraft.commands.arguments

public class EntityArgument

implements com.mojang.brigadier.arguments.ArgumentType<EntitySelector>

dw
net.minecraft.commands.arguments.EntityArgument
net.minecraft.class_2186
net.minecraft.unmapped.C_msbpycfh
net.minecraft.command.argument.EntityArgumentType
net.minecraft.src.C_3395_
net.minecraft.commands.arguments.ArgumentEntity

Field summary

Modifier and TypeField
private static final Collection<String>
g
EXAMPLES
field_9859
f_pmpvzlxj
EXAMPLES
f_91442_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_NOT_SINGLE_ENTITY
field_9860
f_dmuphiad
TOO_MANY_ENTITIES_EXCEPTION
f_91436_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_NOT_SINGLE_PLAYER
field_9864
f_qopieoxe
TOO_MANY_PLAYERS_EXCEPTION
f_91437_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_ONLY_PLAYERS_ALLOWED
field_9861
f_pcbrprfu
PLAYER_SELECTOR_HAS_ENTITIES_EXCEPTION
f_91438_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
NO_ENTITIES_FOUND
field_9863
f_qvekzwbw
ENTITY_NOT_FOUND_EXCEPTION
f_91439_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
e
NO_PLAYERS_FOUND
field_9856
f_gbnkclid
PLAYER_NOT_FOUND_EXCEPTION
f_91440_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
f
ERROR_SELECTORS_NOT_ALLOWED
field_9862
f_uqfbemzk
NOT_ALLOWED_EXCEPTION
f_91441_
private static final byte
h
FLAG_SINGLE
field_32098
f_yvoeqjqa
SINGLE_TARGET_MASK
f_167701_
private static final byte
i
FLAG_PLAYERS_ONLY
field_32099
f_lpzsfrtn
PLAYERS_ONLY_MASK
f_167702_
final boolean
j
single
field_9858
f_tkaucouc
singleTarget
f_91443_
final boolean
k
playersOnly
field_9857
f_oeahghjc
playersOnly
f_91444_

Constructor summary

ModifierConstructor
protected (boolean singleTarget, boolean playersOnly)

Method summary

Modifier and TypeMethod
public static EntityArgument
a()
entity()
method_9309()
m_fqxazkvl()
entity()
m_91449_()
public static Entity
a(com.mojang.brigadier.context.CommandContext<dm> arg0, String arg1)
getEntity(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9313(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
m_zeqeevzd(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
getEntity(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_91452_(com.mojang.brigadier.context.CommandContext<C_2969_> p_91453_, String p_91454_)
public static EntityArgument
b()
entities()
method_9306()
m_vnxvkssj()
entities()
m_91460_()
public static Collection<? extends Entity>
b(com.mojang.brigadier.context.CommandContext<dm> arg0, String arg1)
getEntities(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9317(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
m_dwxafdpw(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
getEntities(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_91461_(com.mojang.brigadier.context.CommandContext<C_2969_> p_91462_, String p_91463_)
public static Collection<? extends Entity>
c(com.mojang.brigadier.context.CommandContext<dm> arg0, String arg1)
getOptionalEntities(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9307(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
m_drkqbfzm(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
getOptionalEntities(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_91467_(com.mojang.brigadier.context.CommandContext<C_2969_> p_91468_, String p_91469_)
public static Collection<ServerPlayer>
d(com.mojang.brigadier.context.CommandContext<dm> arg0, String arg1)
getOptionalPlayers(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9310(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
m_mleuekha(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
getOptionalPlayers(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_91471_(com.mojang.brigadier.context.CommandContext<C_2969_> p_91472_, String p_91473_)
public static EntityArgument
c()
player()
method_9305()
m_ifvdebbw()
player()
m_91466_()
public static ServerPlayer
e(com.mojang.brigadier.context.CommandContext<dm> arg0, String arg1)
getPlayer(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9315(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
m_kdnmsyah(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
getPlayer(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_91474_(com.mojang.brigadier.context.CommandContext<C_2969_> p_91475_, String p_91476_)
public static EntityArgument
d()
players()
method_9308()
m_vjqxnlod()
players()
m_91470_()
public static Collection<ServerPlayer>
f(com.mojang.brigadier.context.CommandContext<dm> arg0, String arg1)
getPlayers(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9312(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
m_pxjdogbj(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
getPlayers(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_91477_(com.mojang.brigadier.context.CommandContext<C_2969_> p_91478_, String p_91479_)
public EntitySelector
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9318(com.mojang.brigadier.StringReader arg0)
m_ttzqtgdy(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_91483_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()