Class UnlockableArgumentType

java.lang.Object
com.idark.valoria.registries.command.arguments.UnlockableArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<Unlockable>

public class UnlockableArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<Unlockable>
  • Constructor Details

    • UnlockableArgumentType

      public UnlockableArgumentType()
  • Method Details

    • getUnlockable

      public static Unlockable getUnlockable(com.mojang.brigadier.context.CommandContext<?> context, String name)
    • 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<Unlockable>
    • parse

      public Unlockable parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<Unlockable>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • unlockableArgumentType

      public static UnlockableArgumentType unlockableArgumentType()