TrainCarts/控制牌/转移器

From BergerHealer Wiki
Revision as of 18:03, 17 September 2024 by Halogly (talk | contribs) (Created page with "它可以针对箱子、熔炉和发射器并双向转移。第二行设置执行操作:<br>")
Jump to navigation Jump to search
Other languages:
English • ‎中文(中国大陆)‎

« 返回


介绍

排列了多个转移器。

TC 允许你将物品从矿车转移到方块中,反之亦然。例如,从箱子里拿取物品或将物品放进箱子里。这里称之为“物品转移”,一个转移器即可完成。
转移器可以针对箱子、熔炉和发射器,也可以针对多个。转移器有几条语法规则。


语法

第二行明确指定执行操作以及在多少半径范围内搜寻熔炉、箱子和/或发射器。第三行和第四行指定要转移的物品。

Signtemplate.png
[train]
collect chest
wood;64 stone
64 cobble


该示例将在半径为 3 格方块的范围内搜寻并将所有物品放进箱子(config.yml 文件中设置的默认距离为 2).

Signtemplate.png
[train]
chest in 3


第二行

它可以针对箱子、熔炉和发射器并双向转移。第二行设置执行操作:

Text
Result
chest in
Items from the train are put into nearby chests
Minecart with Chest.pngArrow icon.pngChest.png
deposit chest
deposit c
chest out
Items from nearby chests are put into the train
Chest.pngArrow icon.pngMinecart with Chest.png
collect chest
collect c
dispenser in
Items from the train are put into nearby dispensers
Minecart with Chest.pngArrow icon.pngDispenser.png
deposit disp
deposit d
dispenser out
Items from nearby dispensers are put into the train
Dispenser.pngArrow icon.pngMinecart with Chest.png
collect disp
collect d
furnace in
Fuel and cookable items from the train are put into nearby furnaces
Minecart with Chest.pngArrow icon.pngFurnace.png
deposit furn
deposit f
furnace out
Items from nearby furnaces are put into the train Furnace.pngArrow icon.pngMinecart with Chest.png
collect furn
collect f
deposit cfd
Items from the train are first put into chests, then furnaces and then dispensers

Minecart with Chest.png Arrow icon.png Chest.png Furnace.png Dispenser.png

deposit
collect cfd
Items are put into the train, first from chests. then furnaces and then dispensers

Chest.png Furnace.png Dispenser.png Arrow icon.png Minecart with Chest.png

collect
deposit fc
Items from the train are first put into furnaces, then into chests

Minecart with Chest.png Arrow icon.png Furnace.png Chest.png

fuel
Coal from nearby chests is put into the powered minecarts.

Chest.png Coal.png Arrow icon.png Minecart with Furnace.png


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.