TrainCarts/控制牌/转移器
Jump to navigation
Jump to search
介绍
TC 允许你将物品从矿车转移到方块中,反之亦然。例如,从箱子里拿取物品或将物品放进箱子里。这里称之为“物品转移”,一个转移器即可完成。
转移器可以针对箱子、熔炉和发射器,也可以针对多个。转移器有几条语法规则。
语法
第二行明确指定执行操作以及在多少半径范围内搜寻熔炉、箱子和/或发射器。第三行和第四行指定要转移的物品。
[train]
collect chest
wood;64 stone
64 cobble
该示例将在半径为 3 格方块的范围内搜寻并将所有物品放进箱子(config.yml 文件中设置的默认距离为 2).
[train]
chest in 3
第二行
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