Difference between revisions of "TrainCarts/Signs/Transfer/zh-cn"
Jump to navigation
Jump to search
(Created page with "== 语法 ==") |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
== 语法 == | == 语法 == | ||
− | + | 第二行明确指定执行操作以及在多少半径范围内搜寻熔炉、箱子和/或发射器。第三行和第四行指定要转移的物品。 | |
− | |||
− | |||
{{sign|[train]|collect chest|wood;64 stone|64 cobble}} | {{sign|[train]|collect chest|wood;64 stone|64 cobble}} | ||
− | |||
<br> | <br> | ||
− | + | 该示例将在半径为 3 格方块的范围内搜寻并将所有物品放进箱子(config.yml 文件中设置的默认距离为 2). | |
− | |||
{{sign|[train]|chest in 3}} | {{sign|[train]|chest in 3}} | ||
− | + | === 第二行 === | |
− | === | ||
− | |||
− | + | 它可以针对箱子、熔炉和发射器并双向转移。第二行设置执行操作:<br> | |
− | |||
− | |||
− | |||
{| 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 48: | Line 39: | ||
|- | |- | ||
| 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 56: | Line 47: | ||
|- | |- | ||
| 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 64: | Line 55: | ||
|- | |- | ||
| 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 72: | Line 63: | ||
|- | |- | ||
| 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 80: | Line 71: | ||
|- | |- | ||
| 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 88: | Line 79: | ||
|- | |- | ||
| 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> |
− | |||
− | |||
|- | |- | ||
| bgcolor="#cccccc" | deposit | | bgcolor="#cccccc" | deposit | ||
|- | |- | ||
| collect cfd<br> | | collect cfd<br> | ||
− | | rowspan="2" | | + | | 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> |
− | |||
− | |||
|- | |- | ||
| 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> |
− | |||
− | |||
|- | |- | ||
| 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> |
− | |||
− | |||
|} | |} | ||
− | |||
− | + | === 第三行和第四行 === | |
− | === | ||
− | |||
− | + | 你可以在这两行上指定要转移的物品,用“;”隔开。你可以指定物品类型名称和 ID、可选数据值和可选转移数量。两行视作为一行。两行都留空则转移所有物品。这两行不应用于''燃料''系统,该系统仅使用煤炭作为动力矿车的燃料。 | |
− | |||
− | |||
− | + | [[Special:MyLanguage/TrainCarts/Signs/Items|物品格式]] | |
− | [[Special:MyLanguage/TrainCarts/Signs/Items| | ||
− |
Latest revision as of 18:17, 17 September 2024
介绍
TC 允许你将物品从矿车转移到方块中,反之亦然。例如,从箱子里拿取物品或将物品放进箱子里。这里称之为“物品转移”,一个转移器即可完成。
转移器可以针对箱子、熔炉和发射器,也可以针对多个。转移器有几条语法规则。
语法
第二行明确指定执行操作以及在多少半径范围内搜寻熔炉、箱子和/或发射器。第三行和第四行指定要转移的物品。
[train]
collect chest
wood;64 stone
64 cobble
该示例将在半径为 3 格方块的范围内搜寻并将所有物品放进箱子(config.yml 文件中设置的默认距离为 2).
[train]
chest in 3
第二行
它可以针对箱子、熔炉和发射器并双向转移。第二行设置执行操作:
第三行和第四行
你可以在这两行上指定要转移的物品,用“;”隔开。你可以指定物品类型名称和 ID、可选数据值和可选转移数量。两行视作为一行。两行都留空则转移所有物品。这两行不应用于燃料系统,该系统仅使用煤炭作为动力矿车的燃料。