RenderTileMachine
基本信息
| 属性 | 值 |
|---|---|
| 类名 | remoteio.client.render.RenderTileMachine |
| 渲染对象 | TileMachineReservoir 与 TileMachineHeater |
功能
机器方块(meta 0 / 1)的 Tile 级渲染器。
实现要点
- 一个渲染器服务两个 TileEntity(储液罐与加热器),靠
instanceof分派, 因为二者共用 BlockMachine 这一个方块。 - 按 TileEntity 的
filled字段选模型(未装满时显示machine_inactive), 与方块侧getIcon的判定逻辑一致(BlockMachine)。 - 资源侧对应
assets/remoteio/models/transceiver.obj一类的外部模型文件 (本 mod 用.obj+.mtl而非方块 JSON 模型)。
相关条目
- TileMachineReservoir - 渲染对象 1
- TileMachineHeater - 渲染对象 2
- BlockMachine - 所属方块