Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
无编辑摘要
(未显示29个用户的43个中间版本)
第1行: 第1行:
  +
[[File:coordinates.png|200px|缩略图|Minecraft地图上的x, y和z坐标。]]
{{Translation|Needed}}
 
  +
[[File:Minecraft axes.png|缩略图|以俯视的视角展示了X和Z轴的图像。红色高亮表示与标准不同的轴。]]
[[File:coordinates.png|200px|thumb|X, Y and Z coordinate on a Minecraft map.]]
 
  +
'''坐标(coordinates)'''在数字上反映了玩家在[[世界]]中的位置。
'''Coordinates''' numerically represent your location in a Minecraft [[world]]. They are based on a grid where three lines or axes intersect at the origin point. Players initially spawn within a couple hundred blocks of the origin point.
 
*the x-axis indicates the player's distance east (positive) or west (negative) of the origin point—i.e., the longitude,
 
*the z-axis indicates the player's distance south (positive) or north (negative) of the origin point—i.e., the latitude,
 
*the y-axis indicates how high or low (from 0 to 255, with 64 being sea level) the player is—i.e., the [[elevation]],
 
thereby forming a [[wikipedia:右手法则|右手坐标系]] (thumb≡x, index≡y, middle≡z), making it easy to remember which axis is which.
 
   
  +
== 坐标系 ==
Additionally, the f number in the debug screen tells you which direction the player is currently facing. 0 equals due south. Thus:
 
  +
坐标基于一个由互相垂直且交于一点(即原点)的三条坐标轴形成的网格,即一个空间直角坐标系。
* 0 = South
 
* 1 = West
 
* 2 = North
 
* 3 = East
 
   
  +
* x轴的正方向为东,其坐标反映了玩家距离原点在东(+)西(-)方向上的距离。
==Displaying Coordinates==
 
  +
* z轴的正方向为南,其坐标反映了玩家距离原点在南(+)北(-)方向上的距离。
[[File:Debug-Information.PNG|200px|thumb|Screenshot showing the debug information, with coordinates x, y, z and f.]]
 
  +
* y轴的正方向为上,其坐标反映了玩家位置的高低程度(从0至255,其中海平面为62),另见[[海拔高度]]。
Pressing {{key|F3}} (or {{key|Fn}}+{{key|F3}} on Macs and some laptops) brings up a [[debug screen]] with various data—including your current coordinates, at the top left of the screen.
 
  +
*坐标系的单位长度为一个方块长,基于[[教程/测量距离|测量方法]],每一方块为1立方米。
  +
因此,三条坐标轴形成了[[wzh:右手法则|右手坐标系]](拇指为x轴,食指为y轴,中指为z轴),通过这样可以更为简单地记住各坐标轴。
   
  +
== 方块坐标 ==
==Interpreting Coordinate Numbers==
 
  +
一个方块的坐标实际上是这个方块的西北下角那一点的坐标,即方块内的坐标向下取整得到的整数坐标。
The origin point marks the zero point for the x and z coordinates. Hence, it may be thought of as the 0,0 coordinate:
 
*x-axis = 0
 
*z-axis = 0
 
As you travel south, the z-axis number increases; travel north and it decreases. Similarly, the x-axis number increases as you travel east and decreases as you travel west.
 
   
  +
在游戏中,一个小数坐标通常需要通过向下取整转换成整数坐标,这个整数坐标称为原坐标的'''方块坐标'''。
One coordinate number equals one block. And, in terms of [[Tutorials/Measuring Distance|real-world measurement]], one block equals 1 cubic meter.
 
   
  +
== 显示 ==
As your elevation rises, the y-axis number increases, and as your elevation lowers, that number decreases.
 
  +
[[File:DebugScreen.png|350px|缩略图|带有调试信息:XYZ坐标以及Facing值的屏幕截图。]]
  +
[[File:Bedrock Edition Coordinates.png|350px|thumb|基岩版中显示玩家所在位置的方块坐标。]]
  +
{{in|je}}通过按{{key|F3}}(在某些键盘上需要按{{key|Fn+F3}})可以打开带有诸多信息的[[调试界面]],其中在屏幕左上角就有您的当前坐标。
   
  +
{{in|be}}可以通过更改世界选项来显示玩家所在位置的方块坐标。如果把“显示坐标”选项打开,则坐标将显示在左上角的框中。可以在创建世界菜单中打开选项。
The y coordinate works a bit differently than the x and z coordinates in terms of spawning. Typically, you do ''not'' spawn at y-coordinate 0. Instead, y=63 is the [[overworld]] water sea level, y 31 is the [[Nether]] lava sea, and y 11 is the overworld lava flood sea. To clarify: When the display shows your Y=64.62, then your feet are at Y=63 (and your legs are approximately 63.5), and you are out of the water; when the display shows your Y=63.62, then your head is in the Y=63+ block, your feet are in the Y=62 block, your feet may be wet and your head is dry. The top of the water is Y=63 (actually, slightly higher than Y=62.9). For Lava, the top of the overworld lava is 11, and if your Y is 11.62 then your feet may be burning.
 
   
  +
== 解析 ==
With these numbers in mind, we can see that the player's debug screen above locates him or her at (ignoring the numbers after the decimal point for simplicity):
 
  +
位于原点则x轴坐标和z轴坐标为0。因此此时坐标可以记为(0,0):
*x: 69 = 69 east
 
  +
* x轴坐标=0
*y: 153 = 153 above the bottom of the game environment
 
  +
* z轴坐标=0
*z: 45 = 45 south
 
  +
当您向南方移动时z坐标会增加,向北方移动时z坐标会减少。类似地,向东方移动时x坐标会增加,向西方移动时x坐标会减少。
*f: 3 = facing east
 
   
  +
而当您上升时y坐标会增加,而当您下降时y坐标会下降。
==Coordinate Usage==
 
Coordinates may be put to a variety of uses.
 
   
  +
y轴坐标的计算方法与x轴、z轴坐标略有不同。您不会在y轴坐标为0处出生。在[[主世界]]中海平面y=63,[[下界]]中熔岩的“海平面”为y=31,主世界中熔岩的“海平面”为y=11。需要注意的是,海平面为63、11、31,指的是顶层水或岩浆的方块坐标为62、10、30。
Once players establish bases, they should note their coordinates before going exploring. If they get lost or respawn they can find their way back to their bases by walking to those coordinates.
 
   
  +
玩家的坐标指的是其碰撞箱底部中心的坐标。当您的y坐标显示为63时,是指您脚的y坐标为63,此时你在海平面上方,眼睛的y坐标为63.62。
Coordinates are often used when sharing [[Seed (Level Generation)|level seeds]] to give directions on where to go to find things.
 
   
  +
明确了这些知识,我们便可以通过查阅调试屏幕确定自己的位置。
  +
  +
== 用途 ==
  +
坐标可以有很多种用途。
  +
  +
当玩家在建立基地时,应该在外出探索之时记录下基地的坐标。这样如果迷路或重生后可以以向该坐标移动的方式找到回去的路。
  +
  +
在分享地图种子时,经常会用坐标来为寻找地点做出方向指示。
  +
  +
{{in|java}}可以使用命令{{cmd|/gamerule reducedDebugInfo true}}使调试界面不显示坐标:[[File:Debug screen without coordinates.png|none|frame]]
  +
  +
{{in|be}}则使用{{cmd|/gamerule showcoordinates true}}命令。
  +
  +
== 历史 ==
  +
{{History|java alpha}}
  +
{{History||v1.2.3|调试界面现在显示坐标。}}
  +
{{History|foot}}
  +
  +
{{Java Edition}}
  +
{{Bedrock Edition}}
  +
  +
[[de:Koordinaten]]
 
[[en:Coordinates]]
 
[[en:Coordinates]]
  +
[[es:Coordenadas]]
  +
[[ko:좌표]]
  +
[[nl:Coördinaten]]
 
[[ru:Координаты]]
 
[[ru:Координаты]]
 
[[Category:环境]]
 

2020年9月8日 (二) 10:00的版本

Coordinates

Minecraft地图上的x, y和z坐标。

Minecraft axes

以俯视的视角展示了X和Z轴的图像。红色高亮表示与标准不同的轴。

坐标(coordinates)在数字上反映了玩家在世界中的位置。

坐标系

坐标基于一个由互相垂直且交于一点(即原点)的三条坐标轴形成的网格,即一个空间直角坐标系。

  • x轴的正方向为东,其坐标反映了玩家距离原点在东(+)西(-)方向上的距离。
  • z轴的正方向为南,其坐标反映了玩家距离原点在南(+)北(-)方向上的距离。
  • y轴的正方向为上,其坐标反映了玩家位置的高低程度(从0至255,其中海平面为62),另见海拔高度
  • 坐标系的单位长度为一个方块长,基于测量方法,每一方块为1立方米。

因此,三条坐标轴形成了右手坐标系(拇指为x轴,食指为y轴,中指为z轴),通过这样可以更为简单地记住各坐标轴。

方块坐标

一个方块的坐标实际上是这个方块的西北下角那一点的坐标,即方块内的坐标向下取整得到的整数坐标。

在游戏中,一个小数坐标通常需要通过向下取整转换成整数坐标,这个整数坐标称为原坐标的方块坐标

显示

DebugScreen

带有调试信息:XYZ坐标以及Facing值的屏幕截图。

Bedrock Edition Coordinates

基岩版中显示玩家所在位置的方块坐标。

Java版中,通过按F3(在某些键盘上需要按Fn + F3)可以打开带有诸多信息的调试界面,其中在屏幕左上角就有您的当前坐标。

基岩版中,可以通过更改世界选项来显示玩家所在位置的方块坐标。如果把“显示坐标”选项打开,则坐标将显示在左上角的框中。可以在创建世界菜单中打开选项。

解析

位于原点则x轴坐标和z轴坐标为0。因此此时坐标可以记为(0,0):

  • x轴坐标=0
  • z轴坐标=0

当您向南方移动时z坐标会增加,向北方移动时z坐标会减少。类似地,向东方移动时x坐标会增加,向西方移动时x坐标会减少。

而当您上升时y坐标会增加,而当您下降时y坐标会下降。

y轴坐标的计算方法与x轴、z轴坐标略有不同。您不会在y轴坐标为0处出生。在主世界中海平面y=63,下界中熔岩的“海平面”为y=31,主世界中熔岩的“海平面”为y=11。需要注意的是,海平面为63、11、31,指的是顶层水或岩浆的方块坐标为62、10、30。

玩家的坐标指的是其碰撞箱底部中心的坐标。当您的y坐标显示为63时,是指您脚的y坐标为63,此时你在海平面上方,眼睛的y坐标为63.62。

明确了这些知识,我们便可以通过查阅调试屏幕确定自己的位置。

用途

坐标可以有很多种用途。

当玩家在建立基地时,应该在外出探索之时记录下基地的坐标。这样如果迷路或重生后可以以向该坐标移动的方式找到回去的路。

在分享地图种子时,经常会用坐标来为寻找地点做出方向指示。

Java版中,可以使用命令/gamerule reducedDebugInfo true使调试界面不显示坐标:

Debug screen without coordinates

基岩版中,则使用/gamerule showcoordinates true命令。

历史

Java版Alpha
v1.2.3调试界面现在显示坐标。