类 EntityAnchorArgument
java.lang.Object
net.minecraft.commands.arguments.EntityAnchorArgument
- 所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Anchor>
public class EntityAnchorArgument
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Anchor>
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final Collection
<String> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static EntityAnchorArgument
anchor()
static EntityAnchorArgument.Anchor
getAnchor
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_90354_, String p_90355_) <S> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> listSuggestions
(com.mojang.brigadier.context.CommandContext<S> p_90360_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_90361_) parse
(com.mojang.brigadier.StringReader p_90352_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 com.mojang.brigadier.arguments.ArgumentType
parse
-
字段详细资料
-
EXAMPLES
-
ERROR_INVALID
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_INVALID
-
-
构造器详细资料
-
EntityAnchorArgument
public EntityAnchorArgument()
-
-
方法详细资料
-
getAnchor
public static EntityAnchorArgument.Anchor getAnchor(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_90354_, String p_90355_) -
anchor
-
parse
public EntityAnchorArgument.Anchor parse(com.mojang.brigadier.StringReader p_90352_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 指定者:
parse
在接口中com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Anchor>
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listSuggestions
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_90360_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_90361_) - 指定者:
listSuggestions
在接口中com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Anchor>
-
getExamples
- 指定者:
getExamples
在接口中com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Anchor>
-