//Transfer
Saihou-Heiki (talk | contribs) (Created page with "チェストやかまど、ディスペンサーを対象にでき、それぞれに対してどのようなアクションを行うのかを指定します。") |
Saihou-Heiki (talk | contribs) (Created page with "{| cellspacing="1" cellpadding="1" border="1" style="width: 480px; height: 501px" |- ! scope="col" | テキスト<br> ! scope="col" colspan="2" | 結果<br> |- | width="80" bgcolor="#cccccc" | chest in<br> | width="200" bgcolor="#cccccc" rowspan="3" | 近くのチェストへアイテムをいれます。<br> | bgcolor="#cccccc" rowspan="3" | 50px50px50px<br> |- | bgcolor="#cccccc" | deposi...") |
||
| Line 21: | Line 21: | ||
チェストやかまど、ディスペンサーを対象にでき、それぞれに対してどのようなアクションを行うのかを指定します。 | チェストやかまど、ディスペンサーを対象にでき、それぞれに対してどのようなアクションを行うのかを指定します。 | ||
{| cellspacing="1" cellpadding="1" border="1" style="width: 480px; height: 501px" | {| cellspacing="1" cellpadding="1" border="1" style="width: 480px; height: 501px" | ||
|- | |- | ||
! scope="col" | | ! scope="col" | テキスト<br> | ||
! scope="col" colspan="2" | | ! scope="col" colspan="2" | 結果<br> | ||
|- | |- | ||
| width="80" bgcolor="#cccccc" | chest in<br> | | width="80" bgcolor="#cccccc" | chest in<br> | ||
| width="200" bgcolor="#cccccc" rowspan="3" | | | width="200" bgcolor="#cccccc" rowspan="3" | 近くのチェストへアイテムをいれます。<br> | ||
| bgcolor="#cccccc" rowspan="3" | [[Image:Minecart with Chest.png|50px]][[Image:Arrow icon.png|50px]][[Image:Chest.png|50px]]<br> | | bgcolor="#cccccc" rowspan="3" | [[Image:Minecart with Chest.png|50px]][[Image:Arrow icon.png|50px]][[Image:Chest.png|50px]]<br> | ||
|- | |- | ||
| Line 36: | Line 35: | ||
|- | |- | ||
| chest out<br> | | chest out<br> | ||
| rowspan="3" | | | rowspan="3" | 近くのチェストからアイテムを取り出します。<br> | ||
| rowspan="3" | [[Image:Chest.png|50px]][[Image:Arrow icon.png|50px]][[Image:Minecart with Chest.png|50px]]<br> | | rowspan="3" | [[Image:Chest.png|50px]][[Image:Arrow icon.png|50px]][[Image:Minecart with Chest.png|50px]]<br> | ||
|- | |- | ||
| Line 44: | Line 43: | ||
|- | |- | ||
| bgcolor="#cccccc" | dispenser in<br> | | bgcolor="#cccccc" | dispenser in<br> | ||
| bgcolor="#cccccc" rowspan="3" | | | bgcolor="#cccccc" rowspan="3" | 近くのディスペンサーへアイテムを入れ込みます。<br> | ||
| bgcolor="#cccccc" rowspan="3" | [[Image:Minecart with Chest.png|50px]][[Image:Arrow icon.png|50px]][[Image:Dispenser.png|50px|Dispenser.png]]<br> | | bgcolor="#cccccc" rowspan="3" | [[Image:Minecart with Chest.png|50px]][[Image:Arrow icon.png|50px]][[Image:Dispenser.png|50px|Dispenser.png]]<br> | ||
|- | |- | ||
| Line 52: | Line 51: | ||
|- | |- | ||
| dispenser out<br> | | dispenser out<br> | ||
| rowspan="3" | | | rowspan="3" | 近くのディスペンサーからアイテムを取り出します。<br> | ||
| rowspan="3" | [[Image:Dispenser.png|50px|Dispenser.png]][[Image:Arrow icon.png|50px]][[Image:Minecart with Chest.png|50px]]<br> | | rowspan="3" | [[Image:Dispenser.png|50px|Dispenser.png]][[Image:Arrow icon.png|50px]][[Image:Minecart with Chest.png|50px]]<br> | ||
|- | |- | ||
| Line 60: | Line 59: | ||
|- | |- | ||
| bgcolor="#cccccc" | furnace in<br> | | bgcolor="#cccccc" | furnace in<br> | ||
| bgcolor="#cccccc" rowspan="3" | | | bgcolor="#cccccc" rowspan="3" | 近くのかまどへ燃料と素材を入れ込みます。<br> | ||
| bgcolor="#cccccc" rowspan="3" | [[Image:Minecart with Chest.png|50px]][[Image:Arrow icon.png|50px]][[Image:Furnace.png|50px|Furnace.png]]<br> | | bgcolor="#cccccc" rowspan="3" | [[Image:Minecart with Chest.png|50px]][[Image:Arrow icon.png|50px]][[Image:Furnace.png|50px|Furnace.png]]<br> | ||
|- | |- | ||
| Line 68: | Line 67: | ||
|- | |- | ||
| furnace out<br> | | furnace out<br> | ||
| rowspan="3" | | | rowspan="3" | 近くのかまどからアイテムを取り出します。 | ||
| rowspan="3" | [[Image:Furnace.png|50px|Furnace.png]][[Image:Arrow icon.png|50px]][[Image:Minecart with Chest.png|50px]]<br> | | rowspan="3" | [[Image:Furnace.png|50px|Furnace.png]][[Image:Arrow icon.png|50px]][[Image:Minecart with Chest.png|50px]]<br> | ||
|- | |- | ||
| Line 76: | Line 75: | ||
|- | |- | ||
| bgcolor="#cccccc" | deposit cfd<br> | | bgcolor="#cccccc" | deposit cfd<br> | ||
| bgcolor="#cccccc" rowspan="2" | | | bgcolor="#cccccc" rowspan="2" | アイテムをチェスト、かまど、ディスペンサーの順序で入れ込みます。<br> | ||
| bgcolor="#cccccc" rowspan="2" | | | bgcolor="#cccccc" rowspan="2" | | ||
[[Image:Minecart with Chest.png|30px]] [[Image:Arrow icon.png|30px]] [[Image:Chest.png|30px]] [[Image:Furnace.png|30px|Furnace.png]] [[Image:Dispenser.png|30px|Dispenser.png]]<br | [[Image:Minecart with Chest.png|30px]] [[Image:Arrow icon.png|30px]] [[Image:Chest.png|30px]] [[Image:Furnace.png|30px|Furnace.png]] [[Image:Dispenser.png|30px|Dispenser.png]]<br> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Revision as of 02:56, 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




