Class EntityAnchorArgument

java.lang.Object
net.minecraft.commands.arguments.EntityAnchorArgument
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Anchor>

public class EntityAnchorArgument extends Object implements com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Anchor>
  • Field Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
    • ERROR_INVALID

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_INVALID
  • Constructor Details

    • EntityAnchorArgument

      public EntityAnchorArgument()
  • Method Details

    • getAnchor

      public static EntityAnchorArgument.Anchor getAnchor(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_90354_, String p_90355_)
    • anchor

      public static EntityAnchorArgument anchor()
    • parse

      public EntityAnchorArgument.Anchor parse(com.mojang.brigadier.StringReader p_90352_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Anchor>
      Throws:
      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_)
      Specified by:
      listSuggestions in interface com.mojang.brigadier.arguments.ArgumentType<EntityAnchorArgument.Anchor>
    • getExamples

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