RenderBlockRemoteInterface
基本信息
| 属性 | 值 |
|---|---|
| 类名 | remoteio.client.render.RenderBlockRemoteInterface |
| 渲染对象 | BlockRemoteInterface |
| 渲染 ID | 由 RemoteIO 的 preInit 分配 |
功能
远程接口方块的自定义渲染器。
实现要点
- ⚠️ 这是本 mod 唯一使用
RenderingRegistry.getNextAvailableRenderId()单独申请渲染 ID 的方块(RemoteIO 的preInit), 其余 4 个方块均走标准方块渲染。 - 需自行处理 6 个面与方块朝向,是
client/render/下 5 个渲染类中唯一的方块级渲染器, 其余 4 个都是 Tile 级渲染器。
相关条目
- BlockRemoteInterface - 渲染对象
- RemoteIO - 渲染 ID 分配
- RenderTileRemoteInterface - 同为远程接口的 Tile 渲染