**This is an old revision of the document!**

地质分析仪

提供: 地质分析仪组件 API

这个方块允许扫描周围环境中方块的硬度。它的垂直范围是上下各 32 格,所以总计是 64 格。它按“栏”扫描,也就是说从相对坐标(0, 0)开始它会上下各扫描 32 格,包括它自己。

The returned values are (with some noise) the hardness values of the scanned blocks. This is useful for detecting ores (which are usually harder than stone) and for generating 'maps' that can be displayed on the 返回值(包含一些噪声)是扫描的方块的硬度。这对于寻找矿石很有用(矿石的硬度一般比石头高),也可以用于绘制能在 全息投影仪 上显示的“地图”。

从 1.3 版本开始。

地质分析仪使用如下材料合成:

提示

尽管地质分析仪使用相对坐标,但通过一点简单的数学手段也能获得扫描的方块的绝对坐标。

扫描区域的“噪声”是根据离开仪器的距离而决定的。理论上讲,通过多次扫描取平均值可以消除这个噪声(未经确认,需要进一步测试)。

目录