Package net.minecraft.command.argument
Class EntityAnchorArgumentType
java.lang.Object
net.minecraft.command.argument.EntityAnchorArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>
public class EntityAnchorArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>
- Mappings:
Namespace Name official ea
intermediary net/minecraft/class_2183
named net/minecraft/command/argument/EntityAnchorArgumentType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Collection<String>
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityAnchorArgumentType
getEntityAnchor
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions
(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) parse
(com.mojang.brigadier.StringReader stringReader)
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official a
Lea;a:Ljava/util/Collection;
intermediary field_9847
Lnet/minecraft/class_2183;field_9847:Ljava/util/Collection;
named EXAMPLES
Lnet/minecraft/command/argument/EntityAnchorArgumentType;EXAMPLES:Ljava/util/Collection;
-
INVALID_ANCHOR_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_ANCHOR_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Lea;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_9846
Lnet/minecraft/class_2183;field_9846:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named INVALID_ANCHOR_EXCEPTION
Lnet/minecraft/command/argument/EntityAnchorArgumentType;INVALID_ANCHOR_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
-
Constructor Details
-
EntityAnchorArgumentType
public EntityAnchorArgumentType()
-
-
Method Details
-
getEntityAnchor
public static EntityAnchorArgumentType.EntityAnchor getEntityAnchor(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
Namespace Name Mixin selector official a
Lea;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lea$a;
intermediary method_9294
Lnet/minecraft/class_2183;method_9294(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2183$class_2184;
named getEntityAnchor
Lnet/minecraft/command/argument/EntityAnchorArgumentType;getEntityAnchor(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
entityAnchor
- Mappings:
Namespace Name Mixin selector official a
Lea;a()Lea;
intermediary method_9295
Lnet/minecraft/class_2183;method_9295()Lnet/minecraft/class_2183;
named entityAnchor
Lnet/minecraft/command/argument/EntityAnchorArgumentType;entityAnchor()Lnet/minecraft/command/argument/EntityAnchorArgumentType;
-
parse
public EntityAnchorArgumentType.EntityAnchor parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lea;a(Lcom/mojang/brigadier/StringReader;)Lea$a;
intermediary method_9292
Lnet/minecraft/class_2183;method_9292(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2183$class_2184;
named parse
Lnet/minecraft/command/argument/EntityAnchorArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
listSuggestions
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Specified by:
listSuggestions
in interfacecom.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>
- Mappings:
Namespace Name Mixin selector official listSuggestions
Lea;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary listSuggestions
Lnet/minecraft/class_2183;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named listSuggestions
Lnet/minecraft/command/argument/EntityAnchorArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>
-