Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
block:adapter:zh [2022/08/15 01:27]
fight_xing [适配器]
block:adapter:zh [2023/11/28 09:49] (current)
hfsr [适配器]
Line 4: Line 4:
 {{:​blocks:​adapter.png?​nolink&​128|}} {{:​blocks:​adapter.png?​nolink&​128|}}
  
-用于控制非 OC 组件的方块,例如原版方块或来自其它模组的方块。<​del>​想要让这个方块更有用,你同样应该安装 [OpenComponents](https://​github.com/​MightyPirates/​OpenComponents)</​del>​。+用于控制非OC组件的方块,例如原版方块或来自其它模组的方块。<​del>​想要让这个方块更有用,你应该安装[OpenComponents](https://​github.com/​MightyPirates/​OpenComponents)</​del>​。
  
-该方块允许与任何种类的方块互动,即使 ​OC 有适用于它的驱动。例如,<​del>​OpenComponents</​del>​ OC 有原版音符盒或命令方块的驱动,也有其它很多模组,比如BuildCraft IndustrialCraft2 ​和 ThermalExpansion 的驱动。<​del>​OpenComponents</​del> ​ +该方块允许与任何种类的方块互动,只要OC有适用于它的驱动程序。例如,<​del>​OpenComponents</​del>​OC模组有原版命令方块以及音符盒的驱动,也有适用于很多其他模组,比如BuildCraft(建筑)、IndustrialCraft2(工业时代2)以及ThermalExpansion(热力膨胀)的驱动。<​del>​OpenComponents</​del>​OC模组还可以用适配器与CC模组的外设交互。
-OC 同样允许适配器与它们+
  
-如果你是一个 modder,写一个驱动很容易,你只需要实现相应的互动 ​API 然后在初始化阶段把它和 OC 一起注册。<​del>​看看 OpenComponents 的实现,如果你感觉 [这篇文档](https://​github.com/​MightyPirates/​OpenComputers/​tree/​master/​src/​main/​java/​li/​cil/​oc/​api) 中的实现有所不足。</​del>​看 OC 中 [已经存在的实现](https://​github.com/​MightyPirates/​OpenComputers/​tree/​master-MC1.8/​src/​main/​scala/​li/​cil/​oc/​integration),如果你感觉有关互动的文档有所不足+如果你是模组开发者那么编写驱动很容易,你只需要实现相应的接口API然后在初始化阶段把它和OC一起注册。<​del>​如果你感觉[这篇文档](https://​github.com/​MightyPirates/​OpenComputers/​tree/​master/​src/​main/​java/​li/​cil/​oc/​api)中的接口有所不足,那么请查看OpenComponents的实现。</​del>​如果你感觉有关接口的文档有所不足,那么请查看OC中[已经存在的实现](https://​github.com/​MightyPirates/​OpenComputers/​tree/​master-MC1.8/​src/​main/​scala/​li/​cil/​oc/​integration)。
  
-适配器使用如材料合成:+适配器由以配方合成:
  
   * 4 x 铁锭   * 4 x 铁锭
   * 3 x [[block:​cable:​zh|线缆]]   * 3 x [[block:​cable:​zh|线缆]]
-  * 1 x [[item:​materials:​zh|级微芯片]] +  * 1 x [[item:​materials:​zh#微芯片|1级微芯片]] 
-  * 1 x [[item:​materials:​zh|印刷电路板(PCB)]]+  * 1 x [[item:​materials:​zh#​印刷电路板|印刷电路板]]
  
 {{:​recipes:​blocks:​adapter.png?​nolink&​200|}} {{:​recipes:​blocks:​adapter.png?​nolink&​200|}}