Class UriArgumentType

java.lang.Object
com.igrium.videolib.demo.UriArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<URI>

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

    • UriArgumentType

      public UriArgumentType()
  • Method Details

    • parse

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

      public static UriArgumentType uri()
    • getUri

      public static URI getUri(com.mojang.brigadier.context.CommandContext<?> context, String name)