public class EntityAnchorArgument extends java.lang.Object implements com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Type>
Modifier and Type | Class and Description |
---|---|
static class |
EntityAnchorArgument.Type |
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType |
ANCHOR_INVALID |
private static java.util.Collection<java.lang.String> |
EXMAPLES |
Constructor and Description |
---|
EntityAnchorArgument() |
Modifier and Type | Method and Description |
---|---|
static EntityAnchorArgument |
entityAnchor() |
static EntityAnchorArgument.Type |
getEntityAnchor(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
java.util.Collection<java.lang.String> |
getExamples() |
<S> java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> |
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_listSuggestions_1_,
com.mojang.brigadier.suggestion.SuggestionsBuilder p_listSuggestions_2_) |
EntityAnchorArgument.Type |
parse(com.mojang.brigadier.StringReader p_parse_1_) |
private static final java.util.Collection<java.lang.String> EXMAPLES
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ANCHOR_INVALID
public static EntityAnchorArgument.Type getEntityAnchor(com.mojang.brigadier.context.CommandContext<CommandSource> context, java.lang.String name)
public static EntityAnchorArgument entityAnchor()
public EntityAnchorArgument.Type parse(com.mojang.brigadier.StringReader p_parse_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse
in interface com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Type>
com.mojang.brigadier.exceptions.CommandSyntaxException
public <S> java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_listSuggestions_1_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_listSuggestions_2_)
listSuggestions
in interface com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Type>
public java.util.Collection<java.lang.String> getExamples()
getExamples
in interface com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Type>