//Transfer
Saihou-Heiki (talk | contribs) (Created page with "|- | collect |- | bgcolor="#cccccc" | deposit fc<br> | bgcolor="#cccccc" | アイテムをかまどに入れた後、チェストにいれます。<br> | bgcolor="#cccccc" | 40px 40px 40px|Furnace.png 40px<br>") |
Saihou-Heiki (talk | contribs) |
||
| Line 95: | Line 95: | ||
[[Image:Minecart with Chest.png|40px]] [[Image:Arrow icon.png|40px]] [[Image:Furnace.png|40px|Furnace.png]] [[Image:Chest.png|40px]]<br> | [[Image:Minecart with Chest.png|40px]] [[Image:Arrow icon.png|40px]] [[Image:Furnace.png|40px|Furnace.png]] [[Image:Chest.png|40px]]<br> | ||
|- | |- | ||
| fuel<br> | | fuel<br> | ||
| rowspan="2" | | | rowspan="2" | 近くのチェストから、かまど付きトロッコへ燃料を取り出します。<br> | ||
| rowspan="2" | | | rowspan="2" | | ||
[[Image:Chest.png|50px]] [[Image:Coal.png|15px]] [[Image:Arrow icon.png|50px]] [[Image:Minecart with Furnace.png|50px]]<br | [[Image:Chest.png|50px]] [[Image:Coal.png|15px]] [[Image:Arrow icon.png|50px]] [[Image:Minecart with Furnace.png|50px]]<br> | ||
|} | |} | ||
=== 三行目と四行目 === | |||
=== | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Revision as of 02:58, 23 June 2026
概要
TrainCartsでは、サインを利用することでチェスト付きトロッコと他のブロックとの間でのアイテムのやり取りを行うことができます。たとえばチェストからアイテムを引き出したり収納したりという挙動ができますが、このアイテムの輸送はひとつの看板だけで実装可能です。
アイテムのやり取りはチェストのほか、かまどやディスペンサーも複数同時に指定できます。アイテムをどのようにやり取りするかによって、いろいろな書き方があります。
記法
二行目にはどのような挙動をするか指定できるほか、どのくらいの範囲を探すのかも指定できます。また三行目と四行目には、なんのアイテムを対象にするのかを決められます。
この例であれば、範囲3ブロックのチェストにすべてのアイテムを預け入れます。なお、範囲指定をしない場合のデフォルト範囲はconfig.ymlにかかれており、デフォルトでは2になっています。
二行目
チェストやかまど、ディスペンサーを対象にでき、それぞれに対してどのようなアクションを行うのかを指定します。
三行目と四行目
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




