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

“Terra/世界配置”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(创建页面,内容为“{{模板:TRBox}} 世界配置文件不依赖于配置包,定义常规世界指定值。世界配置文件自动生成在 <code>Terra/worlds/</code>,并以它们…”)
 
第5行: 第5行:
 
从图片中选取群系的选项。
 
从图片中选取群系的选项。
  
All of these are optional. If they are not included, the generator will not use an image for terrain. (equivalent to <code>image.enable</code> = <code>false</code>).
+
所有选项是可选的。 如果没有配置以下选项,则生成器不会从图片中提取群系。(相当于<code>image.enable</code> = <code>false</code>)。
  
* <code>enable</code> - Whether to pull Biome selections from an image.
+
* <code>enable</code> - 是否从图片中提取群系。
* <code>align</code> - The alignment of the image. Valid values are <code>CENTER</code> and <code>NONE</code>.
+
* <code>align</code> - 图像的对齐方式。有效值为<code>CENTER|中心对齐</code><code>NONE|无对齐</code>
** <code>CENTER</code> - Center the image, so world coordinates (0, 0) are at the center of the image.
+
** <code>CENTER</code> - 居中图片,世界坐标(0,0) 将会是图片中心。
** <code>NONE</code> - Do not re-align the image, so world coordinates (0, 0) are at image coordinates (0, 0).
+
** <code>NONE</code> - 不对齐图片,世界坐标(0,0) 将会是图片坐标(0,0)。
* <code>file</code> - The image file location on the drive. Must be a locally stored image, not an online one!
+
* <code>file</code> - 图片文件在硬盘上的位置。必须是本地存储的图片,而不是网上的图片!
* <code>channels</code> - What color channels will be used for what Biome selection axis. The values <code>red</code>, <code>green</code>, and <code>blue</code> are all used once, and only once.
+
* <code>channels</code> - 群系选取轴将使用哪个颜色通道。<code>red|红</code><code>green|绿</code><code>blue|蓝</code>都只能且必须使用一次。
** <code>biome-x</code> - 群系网格X轴使用什么颜色通道 (image exports as <code>red</code>)
+
** <code>biome-x</code> - 群系网格X轴使用什么颜色通道(图片以<code>红色</code>导出)
** <code>biome-z</code> -  群系网格Z轴使用什么颜色通道 (image exports as <code>green</code>)
+
** <code>biome-z</code> -  群系网格Z轴使用什么颜色通道(图片以<code>绿色</code>导出)
** <code>zone</code> -  群系区使用什么颜色通道 (image exports as <code>blue</code>)
+
** <code>zone</code> -  群系区使用什么颜色通道(图片以<code>蓝色</code>导出)
  
 
== 示例 ==
 
== 示例 ==
An example world config. This world has been assigned an image to pull biome selections from, located at <code>/home/user/image/image.png</code>.
+
示例世界配置。该世界从图片中提取群系,图片位于<code>/home/user/image/image.png</code>
 
  image:
 
  image:
 
   enable: true
 
   enable: true

2020年11月7日 (六) 17:10的版本

世界配置文件不依赖于配置包,定义常规世界指定值。世界配置文件自动生成在 Terra/worlds/,并以它们配置的世界命名。

图片

从图片中选取群系的选项。

所有选项是可选的。 如果没有配置以下选项,则生成器不会从图片中提取群系。(相当于image.enable = false)。

  • enable - 是否从图片中提取群系。
  • align - 图像的对齐方式。有效值为CENTER|中心对齐NONE|无对齐
    • CENTER - 居中图片,世界坐标(0,0) 将会是图片中心。
    • NONE - 不对齐图片,世界坐标(0,0) 将会是图片坐标(0,0)。
  • file - 图片文件在硬盘上的位置。必须是本地存储的图片,而不是网上的图片!
  • channels - 群系选取轴将使用哪个颜色通道。red|红green|绿blue|蓝都只能且必须使用一次。
    • biome-x - 群系网格X轴使用什么颜色通道(图片以红色导出)
    • biome-z - 群系网格Z轴使用什么颜色通道(图片以绿色导出)
    • zone - 群系区使用什么颜色通道(图片以蓝色导出)

示例

示例世界配置。该世界从图片中提取群系,图片位于/home/user/image/image.png

image:
  enable: true
  align: center
  file: "/home/user/image/image.png"
  channels:
    biome-x: red
    biome-z: green
    zone: blue