TrainCarts/Signs/Trigger [zh]

From BergerHealer Wiki
Revision as of 02:19, 28 December 2025 by Eletronprocoress (talk | contribs) (Created page with "设置触发器的名称。该名称将应用于后面显示的信息。对于上面的语法示例,触发器会显示以下内容(SignLink 会自动更新): {| class="wikitable" |- ! 占位符 ! 显示内容 |- | %trigger1% | 从第四行设定的时间开始倒计时。 |- | %trigger1T% | 与上面相同。 |- | %trigger1D% | 列车的目的地。 |- | %trigger1N% | 列车的名称。 |- | %trigger1V% | 列车的速度。 |}")
Jump to navigation Jump to search
Other languages:

介紹

觸發器用於顯示列車的信息。它也可以顯示列車進站的倒計時,內部通過計時器來進行測量。記得用紅石激活觸發器,若想始終激活觸發器,請使用[+train]


語法

Signtemplate.png
[train]
trigger
trigger1
00:26


第二行: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.