net.minecraft.command.argument

public class EntityArgument

implements ArgumentType<EntitySelector>

cb
net.minecraft.unmapped.C_61893696
net.minecraft.command.argument.EntityArgument
net.minecraft.command.arguments.EntityArgument

Field summary

Modifier and TypeField
private static final Collection<String>
g
f_90830992
EXAMPLES
field_201310_f
public static final SimpleCommandExceptionType
a
f_79117810
TOO_MANY_ENTITIES_EXCEPTION
field_197098_a
public static final SimpleCommandExceptionType
b
f_94316938
TOO_MANY_PLAYERS_EXCEPTION
field_197099_b
public static final SimpleCommandExceptionType
c
f_21076521
NOT_PLAYER_EXCEPTION
field_197100_c
public static final SimpleCommandExceptionType
d
f_58368607
ENTITY_NOT_FOUND_EXCEPTION
field_197101_d
public static final SimpleCommandExceptionType
e
f_64536752
PLAYER_NOT_FOUND_EXCEPTION
field_197102_e
public static final SimpleCommandExceptionType
f
f_65133779
SELECTOR_NOT_ALLOWED_EXCEPTION
field_210323_f
private final boolean
h
f_80071639
single
field_197103_f
private final boolean
i
f_84977329
players
field_197104_g

Constructor summary

ModifierConstructor
protected (boolean single, boolean players)

Method summary

Modifier and TypeMethod
public static EntityArgument
a()
m_46241069()
entity()
func_197086_a()
public static Entity
a(CommandContext<bu> arg0, String arg1)
m_63552647(com.mojang.brigadier.context.CommandContext<C_30485881> arg0, String arg1)
getEntity(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String arg)
func_197088_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static EntityArgument
b()
m_09517520()
entities()
func_197093_b()
public static Collection<? extends Entity>
b(CommandContext<bu> arg0, String arg1)
m_03482780(com.mojang.brigadier.context.CommandContext<C_30485881> arg0, String arg1)
getEntities(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String arg)
func_197097_b(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static Collection<? extends Entity>
c(CommandContext<bu> arg0, String arg1)
m_88486725(com.mojang.brigadier.context.CommandContext<C_30485881> arg0, String arg1)
getOptionalEntities(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String arg)
func_197087_c(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static Collection<ServerPlayerEntity>
d(CommandContext<bu> arg0, String arg1)
m_63472903(com.mojang.brigadier.context.CommandContext<C_30485881> arg0, String arg1)
getOptionalPlayers(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String arg)
func_201309_d(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static EntityArgument
c()
m_27523807()
player()
func_197096_c()
public static ServerPlayerEntity
e(CommandContext<bu> arg0, String arg1)
m_86730909(com.mojang.brigadier.context.CommandContext<C_30485881> arg0, String arg1)
getPlayer(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String arg)
func_197089_d(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static EntityArgument
d()
m_49370931()
players()
func_197094_d()
public static Collection<ServerPlayerEntity>
f(CommandContext<bu> arg0, String arg1)
m_99893940(com.mojang.brigadier.context.CommandContext<C_30485881> arg0, String arg1)
getPlayers(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String arg)
func_197090_e(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public EntitySelector
a(StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
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)
public Collection<String>
getExamples()
getExamples()