Class ArgUtils

java.lang.Object
com.github.skriptdev.skript.api.skript.command.ArgUtils

public class ArgUtils extends Object
Registration shortcuts for string to ArgumentType mappings.
  • Constructor Details

    • ArgUtils

      public ArgUtils()
  • Method Details

    • init

      public static void init()
    • getType

      public static com.hypixel.hytale.server.core.command.system.arguments.types.ArgumentType<?> getType(String name)
      Get an argument type by its name.
      Parameters:
      name - Name of the argument type.
      Returns:
      The argument type if found, otherwise null.
    • getTypeUsage

      public static String getTypeUsage()