Here 'n' There

Quickly insert coordinates in chat messages or commands using keywords.

184,52k

Here 'n' There

<!--suppress HtmlDeprecatedAttribute HtmlDeprecatedTag, XmlDeprecatedElement --> <div align="center"><center>

<!--suppress CheckImageSize --> <img alt="Icon" width=100 src="https://raw.githubusercontent.com/TerminalMC/HereNThere/HEAD/common/src/main/resources/assets/herenthere/icon.png">

Here 'n' There

Quickly insert coordinates in chat messages or commands using keywords.

[Environment]()

</center></div>

About

To insert coordinates, simply type the keyword (also known as an 'alias'), then press the `Tab` key.

By default, the following aliases are available:

- `here` - the player's coordinates, formatted as `x y z` - `here,` - as above, formatted as `x,y,z` - `there` - the coordinates of the block that the player is looking at, formatted as `x y z` - `there,` - as above, formatted as `x,y,z`

Configuration

The mod can be configured via a Cloth Config options UI, accessible via ModMenu or the mod list.

HereNThere uses a placeholder system, so in addition to the basic aliases enabled by default, you can add aliases for a range of other values. Currently, the following placeholders are available:

- `%pos%` - The player's position, e.g. `35 -14 183`. - The full pattern allows for variations, all of which can be combined: - `%lpos%` - gets the position of the block that the player is looking at. - `%posd%` - gets the player's precise position as a 3D decimal vector. - `%pos,%` - alters the delimiter between values to `,`. - `%pos^1.3^^-2%` - alters the position according to the caret modifiers (distance left, up and forwards relative to the player's facing angle). - `%x%` - A single X, Y, or Z component of the player's position, e.g. `35`. - The full pattern allows for modifications, all of which can be combined: - `%ly%` - gets the Y coordinate of the block that the player is looking at. - `%zd%` - gets the precise coordinate as a decimal. - `%x+5`, `%x*7.4` - performs a single operation (`[+-*/]`) on the value. - `%facing%` - The angle that the player is facing, as a 3D decimal vector of magnitude `1` e.g. `-0.092361,-0.489725,-0.866971`. - The full pattern allows for variations, all of which can be combined: - `%facing,%` - modifies the delimiter between values to `,`. - `%facing+14%` - performs a single scalar operation (`[+-*/]`) on the vector. - `%target-id%` - The UUID of the entity that the player is looking at. - `%name%` - The player's name. - `%dimension%` - The name of the dimension that the player is currently in, e.g. `minecraft:overworld`. - `%dimension-path%` - As per `%dimension%` but only the path - that is, only the value after the `:`.

This list may be expanded in future development.

Contact

ADS