TrainCarts/Signs/Transfer [zh-hk]

From BergerHealer Wiki
Revision as of 02:22, 28 December 2025 by Eletronprocoress (talk | contribs) (Created page with "<br> 该示例将在半径为 3 格方块的范围内搜寻并将所有物品放进箱子(config.yml 文件中设置的默认距离为 2).")
Jump to navigation Jump to search
Other languages:

介紹

排列了多個轉移器。

TrainCart允許你將物品從礦車轉移到方塊中,反之亦然。例如,從箱子裏拿取物品或將物品放進箱子裏。此處稱為「物品轉移」,一個轉移器即可完成。
轉移器可以針對箱子、熔爐和發射器,也可以針對多個。轉移器有幾條語法規則。


語法

第二行明確指定執行操作以及在多少半徑範圍內搜尋熔爐、箱子和/或發射器。第三行和第四行指定要轉移的物品。

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



該示例將在半徑為 3 格方塊的範圍內搜尋並將所有物品放進箱子(config.yml 文件中設置的默認距離為 2).

Signtemplate.png
[train]
chest in 3


Second line

It can target furnaces, chests and dispensers and transfer both ways. The second line sets exactly what to perform:

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.