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 dx
intermediary net/minecraft/class_2183
named net/minecraft/command/argument/EntityAnchorArgumentType
  • Field Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
      Mappings:
      Namespace Name Mixin selector
      official a Ldx;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 Ldx;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 Ldx;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ldx$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

      public static EntityAnchorArgumentType entityAnchor()
      Mappings:
      Namespace Name Mixin selector
      official a Ldx;a()Ldx;
      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 interface com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Ldx;a(Lcom/mojang/brigadier/StringReader;)Ldx$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 interface com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>
      Mappings:
      Namespace Name Mixin selector
      official listSuggestions Ldx;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

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgumentType.EntityAnchor>