ArgumentLocation

class ArgumentLocation : ArgumentComp<Location>

ArgumentLocation is a parsable argument that represents a location in the game world. It supports absolute, relative (~), and local (^) coordinates.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val consumes: Int

Functions

Link copied to clipboard
open override fun getParamFormat(isOptional: Boolean): String

Gets the usage string for this argument.

Link copied to clipboard
override fun parse(input: List<String>, sender: CommandSender): Location

Parses the input strings into the desired type.

Link copied to clipboard
open override fun parseComplete(input: List<String>, sender: CommandSender): Location

Parses the complete input strings into the desired type.

Link copied to clipboard
open override fun suggest(input: List<String>, sender: CommandSender): List<String>

Suggests possible completions for the input strings.