Minecraft Wiki

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

了解更多

Minecraft Wiki
Advertisement
Ic translate
此条目的(部分)内容需要翻译。

你可以帮助我们来翻译此条目,但请勿使用机器翻译

坐标是指中心在(x+0.5,z+0.5)的列。举例来说,坐标-225x、255z所指的是224x到225x和255z到256z这一范围。


每个世界都有一个在xyz坐标均为0的面积数百方块的“出生点“(一个区域)。这个出生点被储存在level.dat文件中的SpawnXSpawnYSpawnZ属性中(一般情况下SpawnY会被忽略)。如果出生点被弃用(不合理的出生点,在方块之中等等),会有一个新的“临时”出生点 (“不合理出生点”的意义有待商榷)。

一个没有设置重生点(比如通过)的玩家将会随机出生在以出生点向x/z负半轴方向-1的位置为中心的、20x/20z大小的正方形的最高点;也就是说,20x/20z大小的生成区域的边界在SpawnX-10SpawnX+9以及SpawnZ-10SpawnZ+9。不过,可以使用/gamerule spawnRadius来更改半径(默认的半径是10方块)。更改spawnRadius也会影响实体生成的保护半径。如果spawnRadius设置为0,实体生成的保护将被移除。

一个以(SpawnX,SpawnZ)为中心的33x/33z大小的切片是“被保护的”,并(经常,见下文)仅能由服务器管理员修改;33x/33z大小的保护区域的边界在SpawnX-16SpawnX+16以及SpawnZ-16SpawnZ+16

非管理员的玩家不能在这个受保护的区域放置或破坏方块,也不能使用门和红石元件,但压力板是可以的。爬行者仍然可以破坏保护区域内的地形,而放置在受保护区域外的TNT会像往常一样摧毁周围的方块。与此同时,下界传送门可以连接到保护区域,水、熔岩和火可以从外面扩散到保护区域,活塞也可以将物品推入保护区域。如果在保护区域中有不透明方块的一面紧靠边缘,那么玩家可以将方块放置在这里(保护区域的外边缘)。然而,如果与保护区域的边缘间隔一些距离,就可以建造小的、不可摧毁的建筑。在此区域的玩家可以把挂起来的画拿掉。

在床上睡觉会重置你的重生点到那张床的位置,除非你提前下床。如果你最后设置了你的重生点的那张床在你重生的时候丢失或者被阻挡了,你的重生点就会返回到出生点[1]

来历

Player spawning diagram

The spawn point was forced to 100x,100z and the player data was cleared. The purple square outlines the column at 100x,100z, which holds an obsidian tower.

To determine the spawn area, a flat, open area large enough for the (presumed) 20x20 spawn area was created. The player (an op) repeatedly respawned and immediately dug a hole if one was not already present. The red square, above, is drawn from the midpoints of the outermost holes in each direction.

To determine the protection area, the player (a non-op) attempted to place blocks until successful while moving away from the spawn, and then traced around the edges of the protected area until all four corners were found. The lapis corners marked above were the extent of the minimum placeable area by the player. The blue square, above, is drawn from the midpoints of the outermost protected blocks in each direction.

The dimensions of each square are given by (max - min + 1) to include the extra half-block on either end of the measurement (In the example below, width should be [7 - 3 + 1 = 5]):

  XXXXX   <- width=5
123456789
  ^min=3
      ^max=7

保持加载的区块

主条目:出生点区块

在世界的“出生点”周围有一个25x25大小的区块区域即使玩家不在此内时也是是保持加载的。这可以通过移动玩家使之远离出生点,删除MCEdit中的原始出生点区块,然后重新加载世界来验证。

这也就是说,红石以及漏斗的周期更新只出现在出生点周围17x17区块的区域,而实体只会在13x13区块的区域内加载。

即使当玩家]不在该区域时时钟也将继续运行。对于需要一个不断运行的时钟的世界的地图制作者来说,这是一个有用的工具。

加载的区块由世界上的自然出生点决定,地图制作者可以使用MCEdit中的“移动出生点”功能或/setworldspawn命令修改和编辑。

参考

Advertisement