Difference between revisions of "TrainCarts/Signs/Effect/zh-cn"

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "=== 第二行 ===")
(Created page with "''effect'',后可接 '''playback speed''' (''pitch'') and '''intensity''' (''volume''). Values of 1.0 are the defaults. Specifying '''effect stop''' will abort playback of t...")
Line 16: Line 16:
 
=== 第二行 ===
 
=== 第二行 ===
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
''effect'',后可接 '''playback speed''' (''pitch'') and '''intensity''' (''volume''). Values of 1.0 are the defaults. Specifying '''effect stop''' will abort playback of the effect if possible.
''effect'', followed up by an optional '''playback speed''' (''pitch'') and '''intensity''' (''volume''). Values of 1.0 are the defaults. Specifying '''effect stop''' will abort playback of the effect if possible.
 
</div>
 
  
 
<div lang="en" dir="ltr" class="mw-content-ltr">
 
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 17:37, 13 September 2024

Other languages:
English • ‎中文(中国大陆)‎

« 返回

描述

当列车进入或红石激活时,效果牌可以激活列车附件中配置的效果。

语法

Signtemplate.png
[+train]/[+cart]
effect
<name>
<name>

第一行

使用 [train] 时,效果会显示在列车的所有车厢上。使用 [cart] 时,效果只会显示在位于效果牌上方的矿车上。当效果牌激活时且周围没矿车时,效果会在牌子上方(在铁轨上)显示。

第二行

effect,后可接 playback speed (pitch) and intensity (volume). Values of 1.0 are the defaults. Specifying effect stop will abort playback of the effect if possible.

Third and fourth lines

One or two names of effect attachments to activate. In the Attachment Editor, go to the general menu (hamburger) and name the effect attachment. You can then put that name here to activate it.

Examples of supported attachments:

Legacy

An old version of this sign still exists which can only play (some) Bukkit effects. For this, use beffect on the second line. peffect plays the effect at the player, and meffect every tick as a train drives over the sign.

Signtemplate.png
[+train]/[+cart]
beffect
note

These effects can be played: