User Tools

Site Tools


zh_cn:tutorial:dimensionconcepts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
zh_cn:tutorial:dimensionconcepts [2021/09/17 05:10] – created solidblockzh_cn:tutorial:dimensionconcepts [2022/08/18 03:19] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== 维度概念 ====== ====== 维度概念 ======
-FIXME + 
-创建维度是个高级的概念,需要很长时间才能够理解。简单的维度很容易创建,但是如果你深入下去,你可能会难以处理一大堆的类。本教程提供了创建维度需要的概念的概览。Categories are titled with relevant class names.+创建维度是个高级的概念,需要一些努力才能够完全理解。简单的维度很容易创建,但是如果你深入下去,你可能会难以处理一大堆的类。本教程提供了创建维度需要的概念的概览。
  
 === 维度 === === 维度 ===
-Dimension 类是新维度的核心,处理围绕你的维度的总体逻辑。玩家能否在此维度使用床?有没有世界边界?玩家能否看见天空?It also is responsible for creating your ChunkGenerator to generate land.+维度(Dimension类是新维度的核心,处理围绕你的维度的总体逻辑。玩家能否在此维度使用床?有没有世界边界?玩家能否看见天空?你还需要创建你的区块生成器以生成地面。
  
 === 维度类型 === === 维度类型 ===
-DimensionType 是维度的注册容器。维度类型也有 ID,添加维度时需要将其注册。It's also responsible for saving and loading your dimension from a file.+维度类型(DimensionType是维度的注册容器。维度类型也有 ID,添加维度时需要将其注册。你还需要从一个文件中加载和保存你的维度。
  
 === 区块生成器 === === 区块生成器 ===
-ChunkGenerator 负责使用噪声函数以在世界中放置方块。不负责(或者不应该负责)实际装饰并选择分开方块——大多数情况下,你只需要放置石头并选择另一个基础方块。如果此后没有装饰或其他额外步骤,主世界理论上将会成为完全由石头、没有其他东西做成的景观。+区块生成器(ChunkGenerator负责使用噪声函数以在世界中放置方块。不负责(或者不应该负责)实际装饰并选择分开方块——大多数情况下,你只需要放置石头并选择另一个基础方块。如果此后没有装饰或其他额外步骤,主世界理论上将会成为完全由石头、没有其他东西做成的景观。
  
 === 生成器类型 === === 生成器类型 ===
-GeneratorType 是你的 ChunkGenerator 的注册容器。Can't be registered and requires hacks to use-- a fix is //majorly// needed for this.+生成器类型(GeneratorType是你的区块生成器的注册容器。无法注册,需要修改才能使用——大多数为此需要修复。
  
 === 生物群系 === === 生物群系 ===
-Biome is a section of your dimension that chooses how that area looks. It is responsible for mob spawns, plants, lakes and rivers, caves, grass color, and much more. In a proper setup, it is also responsible for replacing already generated stone with proper blocks, such as top grass/dirt and ores.+生物群系(Biome,''zh_tw'':生態域,''zh_tw'':生物羣系)是你的维度的一部分,将会决定这部分看上去怎么样。生物群系负责生物生成、植物、湖泊河流、洞穴、草的颜色,等等。在适当的设立过程中,生物群系还负责将已经生成的石头替换为适当的方块,例如顶部的草、泥土和矿石。
  
-=== BiomeSource === +=== 生物群系源 === 
-When creating a dimension, you can either choose to use a single biome everywhere or use a BiomeSource. BiomeSource is used to pick randomly from several different biomes.+创建维度时,你需要选择使用单一的一个生物群系,或者使用一个生物群系源(BiomeSource)。生物群系源用于从多个生物群系中随机选择。
  
-=== SurfaceBuilder === +=== 地表构建器 === 
-SurfaceBuilder is responsible for replacing the stone we mentioned earlier with other blocks. Each biome has a SurfaceBuilder attached to it. As an example, Plains & Forest both use the DEFAULT SurfaceBuilder, because they both want grass and dirt as their top block. They are different because the biome can still choose to set trees or different height scaling-- in other words, a SurfaceBuilder is semi-reusable depending on the situation.+地表构建器(SurfaceBuilder)负责将我们上面提及的石头替换为其他方块。每一个生物群系都有对应的地表构建器。例如,平原和森林都是用默认地表构建器(DEFAULT),因为这两个生物群系都是将顶部的方块替换为草方块和泥土。平原和森林不同,是因为生物群系还能选择设置树木或不同的高度比例——也就是说,地表构建器是半可重新使用的,依赖于情况。
  
zh_cn/tutorial/dimensionconcepts.1631855436.txt.gz · Last modified: 2021/09/17 05:10 by solidblock