Difference between revisions of "TrainCarts/Signs/Transfer"
m (1 revision imported) |
Bergerkiller (talk | contribs) (Prepared the page for translation) |
||
Line 1: | Line 1: | ||
− | [[TrainCarts/Signs|« Go back]] | + | <languages/> |
+ | <translate> | ||
+ | [[Special:MyLanguage/TrainCarts/Signs|« Go back]] | ||
+ | |||
== Introduction == | == Introduction == | ||
+ | |||
[[File:TrainCarts Item Transfer header.png|thumb|Multiple transfer signs lined up]] | [[File:TrainCarts Item Transfer header.png|thumb|Multiple transfer signs lined up]] | ||
TrainCarts allows you to transfer items from carts to blocks and the other way around. For example, if you want to pick up items from a chest or want to put items back into a chest. This is called 'item transferring', it is done through a single sign.<br>It can target chests, furnaces and dispensers, also multiple at once. There are several syntax rules active for this sign. | TrainCarts allows you to transfer items from carts to blocks and the other way around. For example, if you want to pick up items from a chest or want to put items back into a chest. This is called 'item transferring', it is done through a single sign.<br>It can target chests, furnaces and dispensers, also multiple at once. There are several syntax rules active for this sign. | ||
+ | |||
== Syntax == | == Syntax == | ||
Line 9: | Line 14: | ||
The second line sets exactly what to perform and at what radius to look for furnaces, chests and/or dispensers. The third and fourth lines set what items to transfer. | The second line sets exactly what to perform and at what radius to look for furnaces, chests and/or dispensers. The third and fourth lines set what items to transfer. | ||
+ | </translate> | ||
{{sign|[train]|collect chest|wood;64 stone|64 cobble}} | {{sign|[train]|collect chest|wood;64 stone|64 cobble}} | ||
+ | <translate> | ||
<br> | <br> | ||
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). | 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). | ||
+ | </translate> | ||
{{sign|[train]|chest in 3}} | {{sign|[train]|chest in 3}} | ||
+ | <translate> | ||
+ | |||
=== Second line === | === Second line === | ||
Line 27: | Line 37: | ||
| width="80" bgcolor="#cccccc" | chest in<br> | | width="80" bgcolor="#cccccc" | chest in<br> | ||
| width="200" bgcolor="#cccccc" rowspan="3" | Items from the train are put into nearby chests<br> | | width="200" bgcolor="#cccccc" rowspan="3" | Items from the train are put into nearby chests<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" | [[Special:MyLanguage/Image:Minecart with Chest.png|50px]][[Special:MyLanguage/Image:Arrow icon.png|50px]][[Special:MyLanguage/Image:Chest.png|50px]]<br> |
|- | |- | ||
| bgcolor="#cccccc" | deposit chest<br> | | bgcolor="#cccccc" | deposit chest<br> | ||
Line 35: | Line 45: | ||
| chest out<br> | | chest out<br> | ||
| rowspan="3" | Items from nearby chests are put into the train<br> | | rowspan="3" | Items from nearby chests are put into the train<br> | ||
− | | rowspan="3" | [[Image:Chest.png|50px]][[Image:Arrow icon.png|50px]][[Image:Minecart with Chest.png|50px]]<br> | + | | rowspan="3" | [[Special:MyLanguage/Image:Chest.png|50px]][[Special:MyLanguage/Image:Arrow icon.png|50px]][[Special:MyLanguage/Image:Minecart with Chest.png|50px]]<br> |
|- | |- | ||
| collect chest<br> | | collect chest<br> | ||
Line 43: | Line 53: | ||
| bgcolor="#cccccc" | dispenser in<br> | | bgcolor="#cccccc" | dispenser in<br> | ||
| bgcolor="#cccccc" rowspan="3" | Items from the train are put into nearby dispensers<br> | | bgcolor="#cccccc" rowspan="3" | Items from the train are put into nearby dispensers<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" | [[Special:MyLanguage/Image:Minecart with Chest.png|50px]][[Special:MyLanguage/Image:Arrow icon.png|50px]][[Special:MyLanguage/Image:Dispenser.png|50px|Dispenser.png]]<br> |
|- | |- | ||
| bgcolor="#cccccc" | deposit disp<br> | | bgcolor="#cccccc" | deposit disp<br> | ||
Line 51: | Line 61: | ||
| dispenser out<br> | | dispenser out<br> | ||
| rowspan="3" | Items from nearby dispensers are put into the train<br> | | rowspan="3" | Items from nearby dispensers are put into the train<br> | ||
− | | rowspan="3" | [[Image:Dispenser.png|50px|Dispenser.png]][[Image:Arrow icon.png|50px]][[Image:Minecart with Chest.png|50px]]<br> | + | | rowspan="3" | [[Special:MyLanguage/Image:Dispenser.png|50px|Dispenser.png]][[Special:MyLanguage/Image:Arrow icon.png|50px]][[Special:MyLanguage/Image:Minecart with Chest.png|50px]]<br> |
|- | |- | ||
| collect disp<br> | | collect disp<br> | ||
Line 59: | Line 69: | ||
| bgcolor="#cccccc" | furnace in<br> | | bgcolor="#cccccc" | furnace in<br> | ||
| bgcolor="#cccccc" rowspan="3" | Fuel and cookable items from the train are put into nearby furnaces<br> | | bgcolor="#cccccc" rowspan="3" | Fuel and cookable items from the train are put into nearby furnaces<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" | [[Special:MyLanguage/Image:Minecart with Chest.png|50px]][[Special:MyLanguage/Image:Arrow icon.png|50px]][[Special:MyLanguage/Image:Furnace.png|50px|Furnace.png]]<br> |
|- | |- | ||
| bgcolor="#cccccc" | deposit furn<br> | | bgcolor="#cccccc" | deposit furn<br> | ||
Line 67: | Line 77: | ||
| furnace out<br> | | furnace out<br> | ||
| rowspan="3" | Items from nearby furnaces are put into the train | | rowspan="3" | Items from nearby furnaces are put into the train | ||
− | | rowspan="3" | [[Image:Furnace.png|50px|Furnace.png]][[Image:Arrow icon.png|50px]][[Image:Minecart with Chest.png|50px]]<br> | + | | rowspan="3" | [[Special:MyLanguage/Image:Furnace.png|50px|Furnace.png]][[Special:MyLanguage/Image:Arrow icon.png|50px]][[Special:MyLanguage/Image:Minecart with Chest.png|50px]]<br> |
|- | |- | ||
| collect furn<br> | | collect furn<br> | ||
Line 76: | Line 86: | ||
| bgcolor="#cccccc" rowspan="2" | Items from the train are first put into chests, then furnaces and then dispensers<br> | | bgcolor="#cccccc" rowspan="2" | Items from the train are first put into chests, then furnaces and then dispensers<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> | + | [[Special:MyLanguage/Image:Minecart with Chest.png|30px]] [[Special:MyLanguage/Image:Arrow icon.png|30px]] [[Special:MyLanguage/Image:Chest.png|30px]] [[Special:MyLanguage/Image:Furnace.png|30px|Furnace.png]] [[Special:MyLanguage/Image:Dispenser.png|30px|Dispenser.png]]<br> |
|- | |- | ||
Line 84: | Line 94: | ||
| rowspan="2" | Items are put into the train, first from chests. then furnaces and then dispensers<br> | | rowspan="2" | Items are put into the train, first from chests. then furnaces and then dispensers<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> | + | [[Special:MyLanguage/Image:Chest.png|30px]] [[Special:MyLanguage/Image:Furnace.png|30px|Furnace.png]] [[Special:MyLanguage/Image:Dispenser.png|30px|Dispenser.png]] [[Special:MyLanguage/Image:Arrow icon.png|30px]] [[Special:MyLanguage/Image:Minecart with Chest.png|30px]]<br> |
|- | |- | ||
Line 92: | Line 102: | ||
| bgcolor="#cccccc" | Items from the train are first put into furnaces, then into chests<br> | | bgcolor="#cccccc" | Items from the train are first put into furnaces, then into chests<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> | + | [[Special:MyLanguage/Image:Minecart with Chest.png|40px]] [[Special:MyLanguage/Image:Arrow icon.png|40px]] [[Special:MyLanguage/Image:Furnace.png|40px|Furnace.png]] [[Special:MyLanguage/Image:Chest.png|40px]]<br> |
|- | |- | ||
Line 98: | Line 108: | ||
| rowspan="2" | Coal from nearby chests is put into the powered minecarts.<br> | | rowspan="2" | Coal from nearby chests is put into the powered minecarts.<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> | + | [[Special:MyLanguage/Image:Chest.png|50px]] [[Special:MyLanguage/Image:Coal.png|15px]] [[Special:MyLanguage/Image:Arrow icon.png|50px]] [[Special:MyLanguage/Image:Minecart with Furnace.png|50px]]<br> |
|} | |} | ||
+ | |||
=== Third and fourth lines === | === Third and fourth lines === | ||
Line 106: | Line 117: | ||
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. | 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 | + | [[Special:MyLanguage/TrainCarts/Signs/Items|TrainCarts/Signs/Items]] item format |
+ | </translate> |
Revision as of 12:21, 3 September 2024
Introduction
TrainCarts allows you to transfer items from carts to blocks and the other way around. For example, if you want to pick up items from a chest or want to put items back into a chest. This is called 'item transferring', it is done through a single sign.
It can target chests, furnaces and dispensers, also multiple at once. There are several syntax rules active for this sign.
Syntax
The second line sets exactly what to perform and at what radius to look for furnaces, chests and/or dispensers. The third and fourth lines set what items to transfer.
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:
Text |
Result | |
---|---|---|
chest in |
Items from the train are put into nearby chests |
50px50px50px |
deposit chest | ||
deposit c | ||
chest out |
Items from nearby chests are put into the train |
50px50px50px |
collect chest | ||
collect c | ||
dispenser in |
Items from the train are put into nearby dispensers |
50px50px50px|Dispenser.png |
deposit disp | ||
deposit d | ||
dispenser out |
Items from nearby dispensers are put into the train |
50px|Dispenser.png50px50px |
collect disp | ||
collect d | ||
furnace in |
Fuel and cookable items from the train are put into nearby furnaces |
50px50px50px|Furnace.png |
deposit furn | ||
deposit f | ||
furnace out |
Items from nearby furnaces are put into the train | 50px|Furnace.png50px50px |
collect furn | ||
collect f | ||
deposit cfd |
Items from the train are first put into chests, then furnaces and then dispensers |
|
deposit | ||
collect cfd |
Items are put into the train, first from chests. then furnaces and then dispensers |
|
collect | ||
deposit fc |
Items from the train are first put into furnaces, then into chests |
|
fuel |
Coal from nearby chests is put into the powered minecarts. |
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