本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知
本站是中文Minecraft Wiki的镜像站,与Mojang Studios、Weird Gloop没有从属关系。(免责声明

全站通知:

模板:Distdir

来自我的世界地下城WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索
[查看 | 编辑 | 历史 | 清除缓存]文档页面

Displays range and bearing (distance in blocks and compass direction) from a starting coordinate location x1,y1 to a destination location x2,y2.

16 different compass directions are shown:

  • Cardinal directions north, east, west, south (abbreviated as N, E, W, S)
  • Intercardinal directions northwest, northeast, southwest, southeast (abbreviated as NW, NE, SW, SE)
  • Remaining compass rose directions north northwest, west northwest, north northeast, east northeast, south southwest, west southwest, south southeast, east southeast (abbreviated as NNW, WNW, NNE, ENE, SSW, WSW, SSE, ESE)

Usage

{{distdir|x2|y2|x1|y1}}

or

{{distdir|x2|y2}}

Examples

Example Result Notes
{{distdir|1201|-866|-12|98}} 东北方向1549格外 Distance and direction from -12,98 to 1201,-866
{{distdir|-201|513}} 西南偏南方向551格外 Distance and direction from 0,0 to -201,513