基础元素(Primal Aspects)
基本信息
| 项目 | 值 |
|---|---|
| 来源 | thaumcraft.api.aspects.Aspect |
| 类型 | 游戏内置常量 |
| 数量 | 6 个 |
概述
Thaumcraft 中的 基础元素(Primal Aspects) 是构成所有其他复合元素的基础。它们分别是 气(AER)、土(TERRA)、火(IGNIS)、水(AQUA)、秩序(ORDO) 和 混沌(PERDITIO)。每个基础元素都有其独特的颜色和 Chat Color 代码。
基础元素列表
| 元素 | 标签 | 颜色值 | Chat Color | 混合模式 | 材质路径 |
|---|---|---|---|---|---|
| 气 | aer | 0xffff7e | e | 1 | thaumcraft:textures/aspects/aer.png |
| 土 | terra | 0x56c000 | 2 | 1 | thaumcraft:textures/aspects/terra.png |
| 火 | ignis | 0xff5a01 | c | 1 | thaumcraft:textures/aspects/ignis.png |
| 水 | aqua | 0x3cd4fc | 3 | 1 | thaumcraft:textures/aspects/aqua.png |
| 秩序 | ordo | 0xd5d4ec | 7 | 1 | thaumcraft:textures/aspects/ordo.png |
| 混沌 | perditio | 0x404040 | 8 | 771 | thaumcraft:textures/aspects/perditio.png |
字段说明
- 颜色值:用于渲染元素节点时的 ARGB 颜色
- Chat Color:Minecraft 聊天/显示用的颜色代码
- 混合模式:GL11 混合模式,用于渲染节点。默认为 1,ENTROPY 使用 771
代码定义
//PRIMAL
public static final Aspect AIR = new Aspect("aer",0xffff7e,"e",1);
public static final Aspect EARTH = new Aspect("terra",0x56c000,"2",1);
public static final Aspect FIRE = new Aspect("ignis",0xff5a01,"c",1);
public static final Aspect WATER = new Aspect("aqua",0x3cd4fc,"3",1);
public static final Aspect ORDER = new Aspect("ordo",0xd5d4ec,"7",1);
public static final Aspect ENTROPY = new Aspect("perditio",0x404040,"8",771);
相关方法
Aspect.isPrimal()- 判断是否为基础元素(检查 components 为空或长度不为 2)Aspect.getPrimalAspects()- 获取所有基础元素列表Aspect.getAspect(String tag)- 通过标签获取元素
备注
警告:你不应该创建自己的基础元素,因为这会破坏所有相关配方。基础元素是游戏平衡的核心组成部分。