//Transfer
Jump to navigation
Jump to search
(Created page with "<br> 该示例将在半径为 3 格方块的范围内搜寻并将所有物品放进箱子(config.yml 文件中设置的默认距离为 2).") |
(Created page with "=== 第三行 ===") |
||
| Line 18: | Line 18: | ||
=== 第三行 === | |||
=== | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Revision as of 02:22, 28 December 2025
介紹
TrainCart允許你將物品從礦車轉移到方塊中,反之亦然。例如,從箱子裡拿取物品或將物品放進箱子裡。此處稱為「物品轉移」,一個轉移器即可完成。
轉移器可以針對箱子、熔爐和發射器,也可以針對多個。轉移器有幾條語法規則。
語法
第二行明確指定執行操作以及在多少半徑範圍內搜尋熔爐、箱子和/或發射器。第三行和第四行指定要轉移的物品。
該示例將在半徑為 3 格方塊的範圍內搜尋並將所有物品放進箱子(config.yml 文件中設置的默認距離為 2).
第三行
It can target furnaces, chests and dispensers and transfer both ways. The second line sets exactly what to perform:
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




