public class EntityAnchorArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>
Modifier and Type | Class and Description |
---|---|
static class |
EntityAnchorArgumentType.EntityAnchor |
Modifier and Type | Field and Description |
---|---|
private static Collection<String> |
EXAMPLES |
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType |
INVALID_ANCHOR_EXCEPTION |
Constructor and Description |
---|
EntityAnchorArgumentType() |
Modifier and Type | Method and Description |
---|---|
static EntityAnchorArgumentType |
entityAnchor() |
static EntityAnchorArgumentType.EntityAnchor |
getEntityAnchor(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext,
String string) |
Collection<String> |
getExamples() |
<S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> |
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context,
com.mojang.brigadier.suggestion.SuggestionsBuilder builder) |
EntityAnchorArgumentType.EntityAnchor |
parse(com.mojang.brigadier.StringReader stringReader) |
private static final Collection<String> EXAMPLES
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_ANCHOR_EXCEPTION
public static EntityAnchorArgumentType.EntityAnchor getEntityAnchor(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)
public static EntityAnchorArgumentType entityAnchor()
public EntityAnchorArgumentType.EntityAnchor parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse
in interface com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>
com.mojang.brigadier.exceptions.CommandSyntaxException
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
listSuggestions
in interface com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>
public Collection<String> getExamples()
getExamples
in interface com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>