RenderIDs
基本信息
| 属性 | 值 |
|---|---|
| 路径 | de.keridos.floodlights.reference.RenderIDs |
| 类型 | class(静态 int 容器) |
| 源码 | src/main/java/de/keridos/floodlights/reference/RenderIDs.java |
字段
| 字段 | 说明 |
|---|---|
ROTATABLE_BLOCK |
可旋转方块的 getRenderType() 返回值 |
PHANTOM_LIGHT |
幻影光的渲染 ID |
缺陷
⚠️ 两个字段均为 public static int 但类中没有任何赋值语句(全类仅 2 个声明)。
它们的值必须由外部(客户端 proxy / 渲染注册流程)写入;
若外部未赋值,默认值为 0,而 0 是原版 RenderType 保留值。
相关条目
- RotatableBlockRenderer — 消费
ROTATABLE_BLOCK - BlockElectricFloodlight —
getRenderType()返回该值