Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/waypoint: Difference between revisions

From SAS Gaming Wiki
imported>The triple g
No edit summary
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 6: Line 6:
}}
}}


Manages waypoints displayed on the [[Minecraft:locator bar]]. Allows querying existing waypoints of entities and modifying their appearance properties like color and fade effect.
Manages waypoints displayed on the locator bar. Allows querying existing waypoints of entities and modifying their appearance properties like color and fade effect.


== Usage ==
== Usage ==


Lists tracked waypoints or modifies properties of the waypoint being transmitted by specific [[Minecraft:entities]]. A tracked waypoint is associated with an entity that meets either of the following conditions:
Lists tracked waypoints or modifies properties of the waypoint being transmitted by specific entities. A tracked waypoint is associated with an entity that meets either of the following conditions:
* The entity has the {{attr|waypoint_transmit_range}} attribute set to a value greater than 0.
* The entity has the {{attr|waypoint_transmit_range}} attribute set to a value greater than 0.
* The entity's waypoint color has been explicitly set using {{cmd|waypoint modify <waypoint> color}} (either with a name or hex code) during the current game session. This is temporary and it is no longer tracked after reloading the world.
* The entity's waypoint color has been explicitly set using {{cmd|waypoint modify <waypoint> color}} (either with a name or hex code) during the current game session. This is temporary and it is no longer tracked after reloading the world.
Line 16: Line 16:
Only entities with tracked waypoints can be listed by {{cmd|waypoint list}}.
Only entities with tracked waypoints can be listed by {{cmd|waypoint list}}.


Any entities that can transmit a waypoint is called ''waypoint transmitter''. They only include [[Minecraft:living entities]], which are [[Minecraft:armor stand]]s, [[Minecraft:mob]]s, and [[Minecraft:player]]s.
Any entities that can transmit a waypoint is called ''waypoint transmitter''. They only include living entities, which are armor stands, [[Minecraft:mob]]s, and players.


== Syntax ==
== Syntax ==


: <code>waypoint list</code>
: <code>waypoint list</code>
:: Lists all tracked waypoint from entities (as defined above). The output includes the player's name or the entity's type with color specified by their waypoint color. If none specified, it results to white, regardless of the randomly chosen color by the game or their [[Minecraft:team]] color.
:: Lists all tracked waypoint from entities (as defined above). The output includes the player's name or the entity's type with color specified by their waypoint color. If none specified, it results to white, regardless of the randomly chosen color by the game or their team color.
: <code>waypoint modify <waypoint> color <color></code>
: <code>waypoint modify <waypoint> color <color></code>
:: Changes the waypoint's color to one of the 16 [[Minecraft:color code]]s. This overrides the default color.
:: Changes the waypoint's color to one of the 16 color codes. This overrides the default color.
: <code>waypoint modify <waypoint> color hex <hex_color></code>
: <code>waypoint modify <waypoint> color hex <hex_color></code>
:: Changes the waypoint's color using a 6-digit {{w|hexadecimal color}} code (RRGGBB format, e.g., <code>FF0000</code> for red). This overrides the default color.
:: Changes the waypoint's color using a 6-digit {{w|hexadecimal color}} code (RRGGBB format, e.g., <code>FF0000</code> for red). This overrides the default color.
: <code>waypoint modify <waypoint> color reset</code>
: <code>waypoint modify <waypoint> color reset</code>
:: Resets the waypoint's color to the default color (chosen randomly by the game, or the entity's [[Minecraft:team]] color).
:: Resets the waypoint's color to the default color (chosen randomly by the game, or the entity's team color).
: <code>waypoint modify <waypoint> style set <style></code>
: <code>waypoint modify <waypoint> style set <style></code>
:: Sets the [[Minecraft:waypoint style]] from {{cd|waypoint_style}} directory in a [[Minecraft:resource pack]]. By default, it is set to {{cd|minecraft:default}}.
:: Sets the waypoint style from {{cd|waypoint_style}} directory in a resource pack. By default, it is set to {{cd|minecraft:default}}.
:: The game does not check if a definition exists under the directory, setting it to a non-existent definition results in a [[Minecraft:missing texture]] for the waypoint icon.
:: The game does not check if a definition exists under the directory, setting it to a non-existent definition results in a missing texture for the waypoint icon.
: <code>waypoint modify <waypoint> style reset</code>
: <code>waypoint modify <waypoint> style reset</code>
:: Resets the waypoint's style.
:: Resets the waypoint's style.
Line 41: Line 41:


{{argument|color|color}}
{{argument|color|color}}
: Specifies a color name to apply to the waypoint's indicator on the [[Minecraft:locator bar]]. This overrides the default color (which may be influenced by the entity's [[Minecraft:team]] color).
: Specifies a color name to apply to the waypoint's indicator on the locator bar. This overrides the default color (which may be influenced by the entity's team color).
: Must be a valid color name (e.g., <code>red</code>, <code>blue</code>, <code>light_purple</code>).
: Must be a valid color name (e.g., <code>red</code>, <code>blue</code>, <code>light_purple</code>).


{{argument|hex_color|hex_color}}
{{argument|hex_color|hex_color}}
: Specifies a {{w|hexadecimal color}} code (RRGGBB format) to apply to the waypoint's indicator on the [[Minecraft:locator bar]]. This overrides the default color.
: Specifies a {{w|hexadecimal color}} code (RRGGBB format) to apply to the waypoint's indicator on the locator bar. This overrides the default color.
: Must be a 6-digit hexadecimal number (000000-FFFFFF). For example, <code>FF0000</code> for red, <code>6495ED</code> for cornflower blue.
: Must be a 6-digit hexadecimal number (000000-FFFFFF). For example, <code>FF0000</code> for red, <code>6495ED</code> for cornflower blue.


{{argument|style|resource_location}}
{{argument|style|resource_location}}
: Specifies the [[Minecraft:waypoint style]] from {{cd|waypoint_style}} directory in a resource pack.
: Specifies the waypoint style from {{cd|waypoint_style}} directory in a resource pack.
: {{arg desc|je=resource_location}}
: {{arg desc|je=resource_location}}


Line 73: Line 73:
* To list all currently tracked waypoints being transmitted:
* To list all currently tracked waypoints being transmitted:
*: <code>waypoint list</code>
*: <code>waypoint list</code>
* To change the waypoint color for the player named "Steve" to gold on the [[Minecraft:locator bar]]:
* To change the waypoint color for the player named "Steve" to gold on the locator bar:
*: <code>waypoint modify Steve color gold</code>
*: <code>waypoint modify Steve color gold</code>
* To change the waypoint color for a [[Minecraft:creeper]] to lime using a hex code:{{note|name=single_entity|1=The {{cd|<waypoint>}} selector must resolve to exactly one entity. Using a selector like <code>@e[type=...]</code> without <code>limit=1</code> will fail if more than one entity of that type exists.}}
* To change the waypoint color for a creeper to lime using a hex code:{{note|name=single_entity|1=The {{cd|<waypoint>}} selector must resolve to exactly one entity. Using a selector like <code>@e[type=...]</code> without <code>limit=1</code> will fail if more than one entity of that type exists.}}
*: <code>waypoint modify @e[type=creeper,limit=1] color hex 00FF00</code>
*: <code>waypoint modify @e[type=creeper,limit=1] color hex 00FF00</code>
* To reset the waypoint color for a [[Minecraft:zombie]] to its default color:{{note|name=single_entity}}
* To reset the waypoint color for a [[Minecraft:zombie]] to its default color:{{note|name=single_entity}}
Line 95: Line 95:
{{Navbox commands}}
{{Navbox commands}}


[[Minecraft:de:Befehl/waypoint]]
de:Befehl/waypoint
[[Minecraft:ja:コマンド/waypoint]]
ja:コマンド/waypoint
[[Minecraft:lzh:令/waypoint]]
lzh:令/waypoint
[[Minecraft:pt:Comandos/waypoint]]
pt:Comandos/waypoint
[[Minecraft:zh:命令/waypoint]]
zh:命令/waypoint

Revision as of 15:45, 9 April 2026

Template:Exclusive Template:Infobox command

Manages waypoints displayed on the locator bar. Allows querying existing waypoints of entities and modifying their appearance properties like color and fade effect.

Usage

Lists tracked waypoints or modifies properties of the waypoint being transmitted by specific entities. A tracked waypoint is associated with an entity that meets either of the following conditions:

  • The entity has the Template:Attr attribute set to a value greater than 0.
  • The entity's waypoint color has been explicitly set using Template:Cmd (either with a name or hex code) during the current game session. This is temporary and it is no longer tracked after reloading the world.

Only entities with tracked waypoints can be listed by Template:Cmd.

Any entities that can transmit a waypoint is called waypoint transmitter. They only include living entities, which are armor stands, Minecraft:mobs, and players.

Syntax

waypoint list
Lists all tracked waypoint from entities (as defined above). The output includes the player's name or the entity's type with color specified by their waypoint color. If none specified, it results to white, regardless of the randomly chosen color by the game or their team color.
waypoint modify <waypoint> color <color>
Changes the waypoint's color to one of the 16 color codes. This overrides the default color.
waypoint modify <waypoint> color hex <hex_color>
Changes the waypoint's color using a 6-digit Template:W code (RRGGBB format, e.g., FF0000 for red). This overrides the default color.
waypoint modify <waypoint> color reset
Resets the waypoint's color to the default color (chosen randomly by the game, or the entity's team color).
waypoint modify <waypoint> style set <style>
Sets the waypoint style from Template:Cd directory in a resource pack. By default, it is set to Template:Cd.
The game does not check if a definition exists under the directory, setting it to a non-existent definition results in a missing texture for the waypoint icon.
waypoint modify <waypoint> style reset
Resets the waypoint's style.

Arguments

Template:Argument

Specifies the target entity whose transmitted waypoint should be modified.
Template:Arg desc Must be a waypoint transmitter.

Template:Argument

Specifies a color name to apply to the waypoint's indicator on the locator bar. This overrides the default color (which may be influenced by the entity's team color).
Must be a valid color name (e.g., red, blue, light_purple).

Template:Argument

Specifies a Template:W code (RRGGBB format) to apply to the waypoint's indicator on the locator bar. This overrides the default color.
Must be a 6-digit hexadecimal number (000000-FFFFFF). For example, FF0000 for red, 6495ED for cornflower blue.

Template:Argument

Specifies the waypoint style from Template:Cd directory in a resource pack.
Template:Arg desc

Result

Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table

Output

Template:Output table Template:Output table Template:Output table Template:Output table

Examples

  • To list all currently tracked waypoints being transmitted:
    waypoint list
  • To change the waypoint color for the player named "Steve" to gold on the locator bar:
    waypoint modify Steve color gold
  • To change the waypoint color for a creeper to lime using a hex code:Template:Note
    waypoint modify @e[type=creeper,limit=1] color hex 00FF00
  • To reset the waypoint color for a Minecraft:zombie to its default color:Template:Note
    waypoint modify @e[type=zombie,limit=1] color reset

Template:Notelist

History

Template:HistoryTable

Navigation

Template:Navbox commands

de:Befehl/waypoint ja:コマンド/waypoint lzh:令/waypoint pt:Comandos/waypoint zh:命令/waypoint