染色蜂种
基本信息
| 属性 | 值 |
|---|---|
| 配置文件 | assets/gendustry/config/bees_color.cfg |
| 注册入口 | CustomContent.registerSpecies()(custom/CustomContent.scala) |
| 注册条件 | 整段被 if HaveForestryModule Bees << 包裹,并在运行时用 ForestryHelper.haveRoot("Bees") 判定 |
| 物种 UID | gendustry.bee.<颜色> |
| 物种数 | 16 |
| 分类(Branch) | 1 个新属 gendustry.color(学名 Chromatis),父分类 apidae |
| 变异配方 | 18 条,全部 10% 概率 |
| 关联物品 | 16 种 Colored Comb(meta 10–25)+ 16 种 Colored Honey Drop |
功能
GenDustry 默认注册的 16 个自定义蜂种,全部属于新建的属 gendustry.color,构成一套完整的 Minecraft 染料 / 矿物颜色体系。它们是 Gendustry 唯一的非机器内容主线。
BeeSpecies 的每个 cfg 支持的字段(bees_color.cfg:12-42 为带注释的模板):
| 字段 | 含义 |
|---|---|
Dominant |
显性 / 隐性 |
Glowing |
图标是否发光 |
PrimaryColor / SecondaryColor |
蜂体两段颜色(十六进制,或 {r g b} 0–1) |
Secret |
为真则不出现在 NEI 与创造标签,且不计入物种总数 |
Humidity |
Arid / Normal / Damp |
Temperature |
None / Icy / Cold / Normal / Warm / Hot / Hellish |
Nocturnal |
仅夜间活动 |
Binominal / Authority |
学名双名与命名人(纯装饰) |
Branch |
所属属 UID,16 种全部为 "gendustry.color" |
Products |
常规掉落 DropsList(...) |
Specialty |
特殊掉落,16 种全部为空 |
Humidity_Tolerance / Temperature_Tolerance |
可选,覆写耐受范围 |
cfg Traits |
Base 从已有物种复制全部性状,其余键单独覆写单个性状 |
颜色对照表
PrimaryColor 是蜂种自身颜色;蜂巢 / 蜂蜜物品用的是同一个色值,但在 HoneyCombs / HoneyDrops 段里被写在 SecondaryColor 位(该段 PrimaryColor 统一是蜂蜡黄 0xE8D56A)。
| 颜色 | 学名 | PrimaryColor |
蜂巢 meta | Traits.Speed |
命名人 |
|---|---|---|---|---|---|
| black | Atrum | 0x1E1B1B |
10 | forestry.speedFast |
BDEW |
| red | Rubrum | 0xB3312C |
11 | forestry.speedFast |
BDEW |
| green | Prasinus | 0x3B511A |
12 | forestry.speedFaster |
BDEW |
| brown | Cerinus | 0x51301A |
13 | forestry.speedFast |
BDEW |
| blue | Cumatilis | 0x253192 |
14 | forestry.speedFast |
BDEW |
| purple | Ferrugineus | 0x7B2FBE |
15 | forestry.speedFaster |
BDEW |
| cyan | Cyanus | 0x287697 |
16 | forestry.speedFastest |
BDEW |
| silver | Argentum | 0xABABAB |
17 | forestry.speedFaster |
BDEW |
| gray | Pullus | 0x434343 |
18 | forestry.speedFaster |
BDEW |
| pink | Albens | 0xD88198 |
19 | forestry.speedFastest |
BDEW |
| lime | Ferris | 0x41CD34 |
20 | forestry.speedFastest |
Prasinus |
| yellow | Croceus | 0xDECF2A |
21 | forestry.speedFast |
BDEW |
| lightblue | Aer | 0x6689D3 |
22 | forestry.speedFastest |
BDEW |
| magenta | Magentas | 0xC354CD |
23 | forestry.speedFastest |
BDEW |
| orange | Crocotulus | 0xEB8844 |
24 | forestry.speedFaster |
BDEW |
| white | Albus | 0xF0F0F0 |
25 | forestry.speedFast |
BDEW |
16 种的共同设置:Dominant = Yes、Glowing = No、Secret = No、Humidity = Normal、Temperature = Normal、Nocturnal = No、Specialty = DropsList()、Traits.Base = "forestry.speciesDiligent"、Products = 30% S:gendustry:"HoneyComb.<颜色>"。
lime 的 Authority 是唯一例外(写成 Prasinus,与 green 的学名同名,疑为上游笔误)。
速度与耐受分布
Traits.Speed 分三档,各 5 种:
| 档位 | 蜂种 |
|---|---|
forestry.speedFastest |
cyan、pink、lime、lightblue、magenta |
forestry.speedFaster |
green、purple、silver、gray、orange |
forestry.speedFast |
black、red、brown、blue、yellow、white(6 种) |
4 种蜂额外覆写了耐受范围(其余 12 种不写):
| 蜂种 | 覆写项 |
|---|---|
| cyan | Humidity_Tolerance = "forestry.toleranceBoth3" |
| pink | Humidity_Tolerance = "forestry.toleranceBoth3" |
| lime | Temperature_Tolerance = "forestry.toleranceBoth3" |
| magenta | Temperature_Tolerance = "forestry.toleranceBoth3" |
即 cyan 与 pink 更耐湿度变化,lime 与 magenta 更耐温度变化。
变异配方
bees_color.cfg:547-566 共 18 条 mutation 指令,全部 10% 概率,分两代。
第一代(5 条由 Forestry 原生种直接变异,1 条由本系内部产生):
forestry.speciesDiligent + forestry.speciesForest => gendustry.bee.blue
forestry.speciesDiligent + forestry.speciesCommon => gendustry.bee.red
forestry.speciesDiligent + forestry.speciesModest => gendustry.bee.yellow
forestry.speciesDiligent + forestry.speciesTropical => gendustry.bee.brown
forestry.speciesDiligent + forestry.speciesWintry => gendustry.bee.white
gendustry.bee.white + gendustry.bee.black => gendustry.bee.black
第二代(11 条,全部为染色种互交):
blue + red => purple
red + yellow => orange
yellow + blue => green
white + black => gray
white + gray => silver
green + blue => cyan
red + white => pink
blue + white => lightblue
green + white => lime
pink + blue => magenta
brown 与 orange 不参与任何第二代变异,只能靠第一代直接获得。
18 条均未设 requirements(MReqHumidity / MReqTemperature / MReqBlock / MReqBiome),因此任何环境都可变异。
相关条目
- 赞助蜂种 - 第 17 个蜂种,单独一支
- Colored Comb - 常规产物
- Colored Honey Drop - 离心产物兼染料
- 内容包配置 - 本文件的加载机制