//Trigger
Jump to navigation
Jump to search
介紹
觸發器用於顯示列車的信息。它也可以顯示列車進站的倒計時,內部通過計時器來進行測量。記得用紅石激活觸發器,若想始終激活觸發器,請使用[+train]。
語法
第二行:trigger
第三行
設置觸發器的名稱。該名稱將應用於後面顯示的信息。對於上面的語法示例,觸發器會顯示以下內容(SignLink 會自動更新):
| 占位符 | 顯示內容 |
|---|---|
| %trigger1% | 從第四行設定的時間開始倒計時。 |
| %trigger1T% | 與上面相同。 |
| %trigger1D% | 列車的目的地。 |
| %trigger1N% | 列車的名稱。 |
| %trigger1V% | 列車的速度。 |
Fourth line
It sets the count-down time that is used when a train activates the trigger. You can use the common ':'-notation to make hour:minute:seconds, or minute:seconds, or just seconds. If you leave it empty, it will go into 'record mode'.
Record mode
This means that the plugin is going to calculate the duration itself. As soon as one minecart activates the trigger, it keeps track of this minecart while measuring the time. As soon as the minecart stops or is destroyed, the time is stopped and put on the sign.
