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 named net/minecraft/command/argument/EntityAnchorArgumentTypeintermediary net/minecraft/class_2183official fb
-
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 EntityAnchorArgumentTypegetEntityAnchor(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 named EXAMPLESLnet/minecraft/command/argument/EntityAnchorArgumentType;EXAMPLES:Ljava/util/Collection;intermediary field_9847Lnet/minecraft/class_2183;field_9847:Ljava/util/Collection;official aLfb;a:Ljava/util/Collection;
-
INVALID_ANCHOR_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_ANCHOR_EXCEPTION- Mappings:
Namespace Name Mixin selector named INVALID_ANCHOR_EXCEPTIONLnet/minecraft/command/argument/EntityAnchorArgumentType;INVALID_ANCHOR_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_9846Lnet/minecraft/class_2183;field_9846:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;official bLfb;b: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 named getEntityAnchorLnet/minecraft/command/argument/EntityAnchorArgumentType;getEntityAnchor(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;intermediary method_9294Lnet/minecraft/class_2183;method_9294(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2183$class_2184;official aLfb;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lfb$a;
-
entityAnchor
- Mappings:
Namespace Name Mixin selector named entityAnchorLnet/minecraft/command/argument/EntityAnchorArgumentType;entityAnchor()Lnet/minecraft/command/argument/EntityAnchorArgumentType;intermediary method_9295Lnet/minecraft/class_2183;method_9295()Lnet/minecraft/class_2183;official aLfb;a()Lfb;
-
parse
public EntityAnchorArgumentType.EntityAnchor parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parsein interfacecom.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named parseLnet/minecraft/command/argument/EntityAnchorArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;intermediary method_9292Lnet/minecraft/class_2183;method_9292(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2183$class_2184;official aLfb;a(Lcom/mojang/brigadier/StringReader;)Lfb$a;
-
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:
listSuggestionsin interfacecom.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>- Mappings:
Namespace Name Mixin selector named listSuggestionsLnet/minecraft/command/argument/EntityAnchorArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;intermediary listSuggestionsLnet/minecraft/class_2183;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;official listSuggestionsLfb;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
getExamples
- Specified by:
getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>
-