//Transfer
Jump to navigation
Jump to search
介紹
TrainCart允許你將物品從礦車轉移到方塊中,反之亦然。例如,從箱子裏拿取物品或將物品放進箱子裏。此處稱為「物品轉移」,一個轉移器即可完成。
轉移器可以針對箱子、熔爐和發射器,也可以針對多個。轉移器有幾條語法規則。
語法
第二行明確指定執行操作以及在多少半徑範圍內搜尋熔爐、箱子和/或發射器。第三行和第四行指定要轉移的物品。
該示例將在半徑為 3 格方塊的範圍內搜尋並將所有物品放進箱子(config.yml 文件中設置的默認距離為 2).
第三行
它可以針對箱子、熔爐和發射器並雙向轉移。第二行設置執行操作:
第三行和第四行
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




