• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“Terra/方块调色板”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(创建页面,内容为“Block Palettes define a vertical slice of the world. They are lists of blocks, from which Terra picks based on the depth at a location. They are located in the <code…”)
 
第1行: 第1行:
Block Palettes define a vertical slice of the world. They are lists of blocks, from which Terra picks based on the depth at a location. They are located in the <code>palettes/</code> directory within a config pack.<br />
+
{{模板:TRBox}}
Palettes define the blocks used to generate the world, and they are configured on a per-Biome basis. Biomes contain a list of Palettes, based on Y levels, allowing the user to control which blocks generate at ''relative'' depths, and ''absolute'' depths.
+
方块调色板定义了世界的垂直切片。它由方块列表构成,Terra根据位置深度从该列表中选取方块。它们位于配置包的“palettes/”目录下。<br />
 +
调色板以每个群系为基础,定义用于生成世界的方块。群系包含一个基于Y轴的调色板列表,可以让用户控制生成那些方块的''相对''深度和''绝对''深度。
  
 
== 相对深度 ==
 
== 相对深度 ==
  
Relative depth describes &quot;distance below the surface.&quot; For example, a Palette can specify that 3 blocks below the surface of the world, Stone should generate.
+
相对深度描述的是“地表以下的距离”。例如,一个调色板可以指定在世界地表以下3格方块生成石头。
 +
 
 +
##用户可以控制在''相对深度和''绝对深度处生成哪些方块。
  
 
== 绝对深度 ==
 
== 绝对深度 ==
  
Absolute depth is a Y-level. For example, a Biome can specify that at Y levels 0-96, a palette called GRASSY is to be used.
+
绝对深度就相当于Y轴。例如群系可以指定在Y轴0-96处使用名为GRASSY的调色板。
  
 
== 随机性 ==
 
== 随机性 ==
  
Palettes offer two types of randomness to use for block selection.
+
调色板提供两种用于方块选取的随机性。
  
* Random - A pseudorandom number generator. This will produce random scattering of blocks. The seed is configurable.
+
* Random - 伪随机数生成器。这将会生成随机散布的方块。可配置种子。
* Simplex - A simplex generator, redistributed to a continuous distribution. This will produce blob-like patches of blocks. The frequency and seed are configurable.
+
* Simplex - 简易生成器,重新分配为连续分布。这将生成类似于blob的方块。可配置频率和种子。

2020年11月3日 (二) 19:02的版本

方块调色板定义了世界的垂直切片。它由方块列表构成,Terra根据位置深度从该列表中选取方块。它们位于配置包的“palettes/”目录下。
调色板以每个群系为基础,定义用于生成世界的方块。群系包含一个基于Y轴的调色板列表,可以让用户控制生成那些方块的相对深度和绝对深度。

相对深度

相对深度描述的是“地表以下的距离”。例如,一个调色板可以指定在世界地表以下3格方块生成石头。

    1. 用户可以控制在相对深度和绝对深度处生成哪些方块。

绝对深度

绝对深度就相当于Y轴。例如群系可以指定在Y轴0-96处使用名为GRASSY的调色板。

随机性

调色板提供两种用于方块选取的随机性。

  • Random - 伪随机数生成器。这将会生成随机散布的方块。可配置种子。
  • Simplex - 简易生成器,重新分配为连续分布。这将生成类似于blob的方块。可配置频率和种子。