Lebethron Tree
基本信息
| 属性 | 值 |
|---|---|
| 控制器 | AdvancedBotany:blockLebethron,metadata 4 |
| 核心 TileEntity | TileLebethronCore(tileLebethronCore) |
| 尺寸 | 6 格高的竖直直线结构 |
| 渲染偏移 | (0, 1, 0) |
来源:ab/common/block/tile/TileLebethronCore.java:35-46。
结构定义
makeMultiblockSet() 是 Advanced Botany 唯一的 Multiblock 定义,逐行添加 6 个组件:
| 相对坐标 (x, y, z) | 方块 | metadata |
|---|---|---|
| (0, 0, 0) | blockLebethron |
0(核心基座) |
| (0, 1, 0) | blockLebethron |
4(核心) |
| (0, 2, 0) | blockLebethron |
0 |
| (0, 3, 0) | blockLebethron |
0 |
| (0, 4, 0) | blockLebethron |
0 |
| (0, 5, 0) | blockLebethron |
0 |
mb.setRenderOffset(0, 1, 0) 让 Lexicon Botania 图鉴的渲染整体上移一格。
功能
神木长成后由核心定期(tick = 40,即每 2 秒)调用 spawnLeaves() 生成树叶(TileLebethronCore.java:50-56)。updateStructure() 负责校验结构有效性并写入 validTree / getBlock() / getMeta()。
分类页统计说明
本 mod 只有这 1 个多方块结构。其余 13 个已注册方块都是单方块机器。
相关条目
- Lebethron Wood - 构成该多方块的方块
- Ancient Alphirine - 宿主神木的花