TrainCarts/Signs/Destination [zh-cn]

From BergerHealer Wiki
Revision as of 02:31, 28 December 2025 by Eletronprocoress (talk | contribs) (Created page with "'''第三行:'''目的地名称,区分大小写。")
Jump to navigation Jump to search
Other languages:

介紹

目標牌使用名稱來代表目的地,並使用路線查找邏輯。當有一輛列車試圖前往一個有名稱的目的地時,插件會自動將列車調度到該目的地。除了作為標記以外,它也可以在點擊、由紅石激活或當列車經過目標牌時為列車設置一個新的目的地。


語法

Signtemplate.png
[train]
destination
centralstation
subway_1


第二行:destination

第三行:目的地名稱,區分大小寫。

第四行:設置列車的目的地名稱,區分大小寫。

In the example above, the destination is centralstation, and any train with a destination of centralstation will find a path to the sign. Any train that passes over the sign will also have its destination set as subway_1.


You can leave the third line blank to only let the sign set a new destination on the train. You can leave the fourth line blank to only use this sign for path finding. The destination is set on the train only if:

  • The train has no destination set
  • The destination sign is itself no destination
  • The destination sign is activated using Redstone power
  • The destination sign name is the same as the destination set on the train


Remote Control

Remote Control You can remotely set destinations on trains. Say your train is called train01, then you use the following on the sign:

Signtemplate.png
[train train01]
destination
subway
bridge