Difference between revisions of "TrainCarts/Signs/Transfer/zh-cn"
(Created page with "thumb|排列了多个转移器。 TC 允许你将物品从矿车转移到方块中,反之亦然。例如,从箱子里拿取物...") |
(Created page with "== 语法 ==") |
||
Line 9: | Line 9: | ||
− | + | == 语法 == | |
− | = | ||
− | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> |
Revision as of 17:57, 17 September 2024
介绍
TC 允许你将物品从矿车转移到方块中,反之亦然。例如,从箱子里拿取物品或将物品放进箱子里。这里称之为“物品转移”,一个转移器即可完成。
转移器可以针对箱子、熔炉和发射器,也可以针对多个。转移器有几条语法规则。
语法
The second line sets exactly what to perform and at what radius to look for furnaces, chests and/or dispensers. The third and fourth lines set what items to transfer.
This example would look in a radius of 3 and deposit all items into the chest (the default distance set in the config.yml file is 2).
Second line
It can target furnaces, chests and dispensers and transfer both ways. The second line sets exactly what to perform:
Third and fourth lines
You can set the items to transfer on these lines, delimited by ;-signs. You can set the item type name and id, an optional data value and an optional amount to transfer. Both lines are read as one row of items. Leaving these lines blank will cause it to transfer all items. These lines are not used for the fuel system, which takes only coal to fuel powered minecarts.
TrainCarts/Signs/Items item format