• 因近日遭受攻击,百科现已限制新用户的编辑权限,一段时间后成为自动确认用户方可编辑。

Terra/方块调色板

From Minecraft插件百科
Revision as of 11:21, 26 October 2020 by Qsefthuopq (talk | contribs) (创建页面,内容为“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…”)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 palettes/ directory within a config pack.
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.

相对深度

Relative depth describes "distance below the surface." For example, a Palette can specify that 3 blocks below the surface of the world, Stone should generate.

绝对深度

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.

随机性

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.
  • Simplex - A simplex generator, redistributed to a continuous distribution. This will produce blob-like patches of blocks. The frequency and seed are configurable.