Differences

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

Link to this comparison view

Next revision
Previous revision
block:adapter:zh [2022/08/11 09:16]
fight_xing created
block:adapter:zh [2023/11/28 09:49] (current)
hfsr [适配器]
Line 1: Line 1:
-Adapter+适配器
 ======= =======
- 
-**本篇文章的部分/​全部内容还没有进行翻译。** 
  
 {{:​blocks:​adapter.png?​nolink&​128|}} {{:​blocks:​adapter.png?​nolink&​128|}}
  
-Used to control non-component blocks, such as vanilla blocks or blocks from other mods. <del>You will most likely also install ​[OpenComponents](https://​github.com/​MightyPirates/​OpenComponents) ​to make this block more useful.</​del>​+用于控制非OC组件的方块,例如原版方块或来自其它模组的方块。<del>想要让这个方块更有用,你还应该安装[OpenComponents](https://​github.com/​MightyPirates/​OpenComponents)</​del>​。 
 + 
 +该方块允许与任何种类的方块互动,只要OC有适用于它的驱动程序。例如,<​del>​OpenComponents</​del>​OC模组有原版命令方块以及音符盒的驱动,也有适用于很多其他模组,比如BuildCraft(建筑)、IndustrialCraft2(工业时代2)以及ThermalExpansion(热力膨胀)的驱动。<​del>​OpenComponents</​del>​OC模组还可以用适配器与CC模组的外设交互。 
 + 
 +如果你是模组开发者,那么编写驱动很容易,你只需要实现相应的接口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)。
  
-This block allows interfacing with all kinds of blocks, as long as a driver is made available to OpenComputers. For example, <​del>​OpenComponents</​del>​ OpenComputers comes with such drivers for the vanilla Command Block and Note Block, as well as drivers for a bunch of tech mods such as BuildCraft IndustrialCraft2 and ThermalExpansion. <​del>​OpenComponents</​del>​ OpenComputers will also allow the Adapter to interface with most ComputerCraft peripherals.+适配器由以下配方合成:
  
-If you're a modder it's pretty easy to write a driver, you just have to implement the corresponding interface from the API and register it with OpenComputers in the init phase. <​del>​Have a look at the implementation of OpenComponents,​ if you find [the documentation](https://​github.com/​MightyPirates/​OpenComputers/​tree/​master/​src/​main/​java/​li/​cil/​oc/​api) in the interfaces is insufficient.</​del>​ Have a look at existing implementations within ​[OpenComputers](https://​github.com/​MightyPirates/​OpenComputers/​tree/​master-MC1.8/​src/​main/​scala/​li/​cil/​oc/​integration) if you find the documentations in the interfaces is insufficient.+  * 4 x 铁锭 
 +  * 3 x [[block:cable:​zh|线缆]] 
 +  * 1 x [[item:​materials:​zh#​微芯片|1级微芯片]
 +  * 1 x [[item:materials:​zh#​印刷电路板|印刷电路板]]
  
-The Adapter is crafted using the following recipe: 
-  * 4 x Iron Ingot 
-  * 3 x [[block:​cable|Cable]] 
-  * 1 x [[item:​materials|Microchip (Tier 1)]] 
-  * 1 x [[item:​materials|Printed Circuit Board]] 
 {{:​recipes:​blocks:​adapter.png?​nolink&​200|}} {{:​recipes:​blocks:​adapter.png?​nolink&​200|}}