Name | Compass |
Syntax | compass [<location>/reset] |
Short Description | Redirects the player's compass to target the given location. |
Full Description | Redirects the compass of the player, who is attached to the script queue.
This is not the compass item, but the command is controlling the pointer the item should direct at. This means that all item compasses will point the same direction but differently for each player. To affect an individual compass item, use ItemTag.lodestone_location The y-axis is not used but its fine to be included in the location argument. Reset argument will turn the direction to default (spawn or bed) |
Related Tags | <PlayerTag.compass_target> Returns the location of the player's compass target.
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Group | player |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/CompassCommand.java#L23 |