Package 

Object DurationArgumentType

  • All Implemented Interfaces:
    com.mojang.brigadier.arguments.ArgumentType

    
    public class DurationArgumentType
     implements ArgumentType<Duration>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Duration parse(StringReader reader)
      Collection<String> getExamples()
      <S extends Any> CompletableFuture<Suggestions> listSuggestions(CommandContext<S> context, SuggestionsBuilder builder)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait