<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3AWaypoint_style</id>
	<title>Minecraft:Waypoint style - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3AWaypoint_style"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Waypoint_style&amp;action=history"/>
	<updated>2026-09-07T08:01:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:Waypoint_style&amp;diff=157034&amp;oldid=prev</id>
		<title>SyncBot: Sync: new page from Minecraft</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Waypoint_style&amp;diff=157034&amp;oldid=prev"/>
		<updated>2026-06-28T11:22:09Z</updated>

		<summary type="html">&lt;p&gt;Sync: new page from Minecraft&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{exclusive|java}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Waypoint styles&amp;#039;&amp;#039;&amp;#039; are [[Minecraft:JSON]] files located in [[Minecraft:resource pack]]s that define styling used for changing waypoints&amp;#039; icon and specific distances they appear on the [[Minecraft:locator bar]]. They are used in {{cmd|waypoint modify ... style}} command for specific entities.&lt;br /&gt;
&lt;br /&gt;
== JSON format ==&lt;br /&gt;
Waypoint styles are stored as JSON files on {{cd|assets/&amp;#039;&amp;#039;&amp;lt;namespace&amp;gt;&amp;#039;&amp;#039;/waypoint_style}} directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound}}: The root object.&lt;br /&gt;
** {{nbt|int|near_distance}}: The distance in blocks at which the waypoint icon begins its visual transition between sprites. The first sprite in the {{nbt|list|sprites}} list is always used for any distance less than this value, and for the [[#Sprite selection|0th sprite index]]. Default value is 128.&lt;br /&gt;
** {{nbt|int|far_distance}}: The distance in blocks at which the waypoint icon completes its visual transition. It must be greater than {{nbt|int|near_distance}}. At this distance and beyond, the last sprite in the {{nbt|list|sprites}} list is used. Default value is 332.&lt;br /&gt;
** {{nbt|list|sprites}}: A list of [[Minecraft:sprite]]s which cycle between the {{nbt|int|near_distance}} and {{nbt|int|far_distance}}.&lt;br /&gt;
*** {{nbt|string}}: A sprite identifier, formatted as {{cd|&amp;#039;&amp;#039;&amp;lt;namespace&amp;gt;&amp;#039;&amp;#039;:&amp;#039;&amp;#039;&amp;lt;sprite_id&amp;gt;&amp;#039;&amp;#039;}}, which refers to a unique texture located in {{cd|assets/&amp;#039;&amp;#039;&amp;lt;namespace&amp;gt;&amp;#039;&amp;#039;/textures/gui/sprites/hud/locator_bar_dot/&amp;#039;&amp;#039;&amp;lt;sprite_id&amp;gt;&amp;#039;&amp;#039;.png}}. Specifying a nonexistent causes the [[Minecraft:missing texture]] to be used, rather than the default waypoint texture.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sprite selection ==&lt;br /&gt;
&lt;br /&gt;
To determine which sprite is used based on the distances, the game uses {{w|linear interpolation}} on the player&amp;#039;s distance between the near and far distance values, getting the index of which sprite is supposed to be shown in the {{nbt|list|sprites}} list. This calculation in the game is roughly equivalent to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Sprite index} = \lfloor \left( \frac{\text{Player distance} - \text{Near distance}}{\text{Far distance} - \text{Near distance}} \right) \times \text{Size of sprites list} \rfloor&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Noticeably, the second sprite does not appear until the first index is calculated, which until then, the game uses the first sprite for the 0th index calculated, and for any distance less than the near distance. This is due to the {{w|zero-based numbering}} for indexing the sprites list.&lt;br /&gt;
&lt;br /&gt;
The distance (in blocks) which a sprite appears between transition can be calculated from:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{Sprite distance between transition} = \frac{\text{Far distance} - \text{Near distance}}{\text{Size of sprites list}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
{{HistoryTable&lt;br /&gt;
|{{HistoryLine|java}}&lt;br /&gt;
|{{HistoryLine||1.21.6|dev=25w17a&lt;br /&gt;
 |Added waypoint style, alongside {{cmd|waypoint modify ... style}} arguments.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
{{Navbox Java Edition technical|resourcepack}}&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:de:Wegpunktdarstellung]]&lt;br /&gt;
[[Minecraft:ja:ウェイポイントのスタイル]]&lt;br /&gt;
[[Minecraft:pt:Estilo do marcador]]&lt;br /&gt;
[[Minecraft:zh:路径点样式]]&lt;/div&gt;</summary>
		<author><name>SyncBot</name></author>
	</entry>
</feed>