net.minecraft.command.arguments

public class EntityArgumentType

implements ArgumentType<EntitySelector>

dh
net.minecraft.commands.arguments.EntityArgument
net.minecraft.class_2186
net.minecraft.command.arguments.EntityArgumentType
net.minecraft.unmapped.C_msbpycfh
net.minecraft.command.arguments.EntityArgument
net.minecraft.command.arguments.EntityArgument

Field summary

Modifier and TypeField
private static final Collection<String>
g
EXAMPLES
field_9859
EXAMPLES
f_pmpvzlxj
field_201310_f
EXAMPLES
public static final SimpleCommandExceptionType
a
ERROR_NOT_SINGLE_ENTITY
field_9860
TOO_MANY_ENTITIES_EXCEPTION
f_dmuphiad
field_197098_a
TOO_MANY_ENTITIES
public static final SimpleCommandExceptionType
b
ERROR_NOT_SINGLE_PLAYER
field_9864
TOO_MANY_PLAYERS_EXCEPTION
f_qopieoxe
field_197099_b
TOO_MANY_PLAYERS
public static final SimpleCommandExceptionType
c
ERROR_ONLY_PLAYERS_ALLOWED
field_9861
PLAYER_SELECTOR_HAS_ENTITIES_EXCEPTION
f_pcbrprfu
field_197100_c
ONLY_PLAYERS_ALLOWED
public static final SimpleCommandExceptionType
d
NO_ENTITIES_FOUND
field_9863
ENTITY_NOT_FOUND_EXCEPTION
f_qvekzwbw
field_197101_d
ENTITY_NOT_FOUND
public static final SimpleCommandExceptionType
e
NO_PLAYERS_FOUND
field_9856
PLAYER_NOT_FOUND_EXCEPTION
f_gbnkclid
field_197102_e
PLAYER_NOT_FOUND
public static final SimpleCommandExceptionType
f
ERROR_SELECTORS_NOT_ALLOWED
field_9862
NOT_ALLOWED_EXCEPTION
f_uqfbemzk
field_210323_f
SELECTOR_NOT_ALLOWED
private final boolean
h
single
field_9858
singleTarget
f_tkaucouc
field_197103_f
single
private final boolean
i
playersOnly
field_9857
playersOnly
f_oeahghjc
field_197104_g
playersOnly

Constructor summary

ModifierConstructor
protected (boolean singleTarget, boolean playersOnly)

Method summary

Modifier and TypeMethod
public static EntityArgumentType
a()
entity()
method_9309()
entity()
m_fqxazkvl()
func_197086_a()
entity()
public static Entity
a(CommandContext<cz> 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)
getEntity(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_zeqeevzd(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
func_197088_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getEntity(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public static EntityArgumentType
b()
entities()
method_9306()
entities()
m_vnxvkssj()
func_197093_b()
entities()
public static Collection<? extends Entity>
b(CommandContext<cz> 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)
getEntities(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_dwxafdpw(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
func_197097_b(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getEntities(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public static Collection<? extends Entity>
c(CommandContext<cz> 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)
getOptionalEntities(com.mojang.brigadier.context.CommandContext<ServerCommandSource> arg0, String arg1)
m_drkqbfzm(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
func_197087_c(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getEntitiesAllowingNone(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public static Collection<ServerPlayerEntity>
d(CommandContext<cz> 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)
getOptionalPlayers(com.mojang.brigadier.context.CommandContext<ServerCommandSource> arg0, String arg1)
m_mleuekha(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
func_201309_d(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getPlayersAllowingNone(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public static EntityArgumentType
c()
player()
method_9305()
player()
m_ifvdebbw()
func_197096_c()
player()
public static ServerPlayerEntity
e(CommandContext<cz> 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)
getPlayer(com.mojang.brigadier.context.CommandContext<ServerCommandSource> arg0, String arg1)
m_kdnmsyah(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
func_197089_d(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getPlayer(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public static EntityArgumentType
d()
players()
method_9308()
players()
m_vjqxnlod()
func_197094_d()
players()
public static Collection<ServerPlayerEntity>
f(CommandContext<cz> 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)
getPlayers(com.mojang.brigadier.context.CommandContext<ServerCommandSource> arg0, String arg1)
m_pxjdogbj(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
func_197090_e(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getPlayers(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public EntitySelector
a(StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9318(com.mojang.brigadier.StringReader arg0)
parse(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<Suggestions>
listSuggestions(CommandContext<S> arg0, 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> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()
getExamples()
getExamples()