TrainCarts/Signs/Transfer [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
(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...")
(Created page with "|- | bgcolor="#cccccc" | deposit |- | collect cfd<br> | rowspan="2" | アイテムをチェスト、かまど、ディスペンサーの順序から取り出します。<br> | rowspan="2" | 30px 30px|Furnace.png 30px|Dispenser.png 30px 30px<br>")
Line 79: Line 79:
[[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">
|-
|-
| bgcolor="#cccccc" | deposit
| bgcolor="#cccccc" | deposit
|-
|-
| collect cfd<br>  
| collect cfd<br>  
| rowspan="2" | Items are put into the train, first from chests. then furnaces and then dispensers<br>  
| rowspan="2" | アイテムをチェスト、かまど、ディスペンサーの順序から取り出します。<br>  
| rowspan="2" |  
| rowspan="2" |  
[[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>  
</div>  


<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

Other languages:

概要

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

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


記法

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

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


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

Signtemplate.png
[train]
chest in 3


二行目

チェストやかまど、ディスペンサーを対象にでき、それぞれに対してどのようなアクションを行うのかを指定します。

テキスト
結果
chest in
近くのチェストへアイテムをいれます。
Minecart with Chest.pngArrow icon.pngChest.png
deposit chest
deposit c
chest out
近くのチェストからアイテムを取り出します。
Chest.pngArrow icon.pngMinecart with Chest.png
collect chest
collect c
dispenser in
近くのディスペンサーへアイテムを入れ込みます。
Minecart with Chest.pngArrow icon.pngDispenser.png
deposit disp
deposit d
dispenser out
近くのディスペンサーからアイテムを取り出します。
Dispenser.pngArrow icon.pngMinecart with Chest.png
collect disp
collect d
furnace in
近くのかまどへ燃料と素材を入れ込みます。
Minecart with Chest.pngArrow icon.pngFurnace.png
deposit furn
deposit f
furnace out
近くのかまどからアイテムを取り出します。 Furnace.pngArrow icon.pngMinecart with Chest.png
collect furn
collect f
deposit cfd
アイテムをチェスト、かまど、ディスペンサーの順序で入れ込みます。

Minecart with Chest.png Arrow icon.png Chest.png Furnace.png Dispenser.png

deposit
collect cfd
アイテムをチェスト、かまど、ディスペンサーの順序から取り出します。

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.