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




