getLocation

fun CommandContext<CommandSourceStack>.getLocation(name: String): Location

Retrieves a Location (Block Position) from the command context.