//Transfer
Saihou-Heiki (talk | contribs) (Created page with "== 記法 ==") |
Saihou-Heiki (talk | contribs) (Created page with "二行目にはどのような挙動をするか指定できるほか、どのくらいの範囲を探すのかも指定できます。また三行目と四行目には、なんのアイテムを対象にするのかを決められます。") |
||
| Line 8: | Line 8: | ||
== 記法 == | == 記法 == | ||
二行目にはどのような挙動をするか指定できるほか、どのくらいの範囲を探すのかも指定できます。また三行目と四行目には、なんのアイテムを対象にするのかを決められます。 | |||
{{sign|[train]|collect chest|wood;64 stone|64 cobble}} | {{sign|[train]|collect chest|wood;64 stone|64 cobble}} | ||
Revision as of 02:45, 23 June 2026
概要
TrainCartsでは、サインを利用することでチェスト付きトロッコと他のブロックとの間でのアイテムのやり取りを行うことができます。たとえばチェストからアイテムを引き出したり収納したりという挙動ができますが、このアイテムの輸送はひとつの看板だけで実装可能です。
アイテムのやり取りはチェストのほか、かまどやディスペンサーも複数同時に指定できます。アイテムをどのようにやり取りするかによって、いろいろな書き方があります。
記法
二行目にはどのような挙動をするか指定できるほか、どのくらいの範囲を探すのかも指定できます。また三行目と四行目には、なんのアイテムを対象にするのかを決められます。
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




