TrainCarts/Signs/Transfer [ja]

From BergerHealer Wiki
Revision as of 02:50, 23 June 2026 by Saihou-Heiki (talk | contribs) (Created page with "=== 二行目 ===")
Jump to navigation Jump to search
Other languages:

概要

輸送関連のサインがいろいろ並んでいる様子

TrainCartsでは、サインを利用することでチェスト付きトロッコと他のブロックとの間でのアイテムのやり取りを行うことができます。たとえばチェストからアイテムを引き出したり収納したりという挙動ができますが、このアイテムの輸送はひとつの看板だけで実装可能です。
アイテムのやり取りはチェストのほか、かまどやディスペンサーも複数同時に指定できます。アイテムをどのようにやり取りするかによって、いろいろな書き方があります。


記法

二行目にはどのような挙動をするか指定できるほか、どのくらいの範囲を探すのかも指定できます。また三行目と四行目には、なんのアイテムを対象にするのかを決められます。

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


この例であれば、範囲3ブロックのチェストにすべてのアイテムを預け入れます。なお、範囲指定をしない場合のデフォルト範囲はconfig.ymlにかかれており、デフォルトでは2になっています。

Signtemplate.png
[train]
chest in 3


二行目

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.