Difference between revisions of "TrainCarts/Signs/Transfer/zh-cn"
(Created page with "== 语法 ==") |
|||
Line 11: | Line 11: | ||
== 语法 == | == 语法 == | ||
− | + | 第二行明确指定执行操作以及在多少半径范围内搜寻熔炉、箱子和/或发射器。第三行和第四行指定要转移的物品。 | |
− | |||
− | |||
{{sign|[train]|collect chest|wood;64 stone|64 cobble}} | {{sign|[train]|collect chest|wood;64 stone|64 cobble}} |
Revision as of 18:00, 17 September 2024
介绍
TC 允许你将物品从矿车转移到方块中,反之亦然。例如,从箱子里拿取物品或将物品放进箱子里。这里称之为“物品转移”,一个转移器即可完成。
转移器可以针对箱子、熔炉和发射器,也可以针对多个。转移器有几条语法规则。
语法
第二行明确指定执行操作以及在多少半径范围内搜寻熔炉、箱子和/或发射器。第三行和第四行指定要转移的物品。
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