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

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "« 返回")
(Created page with "当列车进入或红石激活时,效果牌可以激活列车附件中配置的效果。")
Line 4: Line 4:
 
== 描述 ==
 
== 描述 ==
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
当列车进入或红石激活时,效果牌可以激活列车[[Special:MyLanguage/TrainCarts/Attachments|附件]]中配置的效果。
This sign can be used to activate an effect configured in the train's [[Special:MyLanguage/TrainCarts/Attachments|attachments]] when a train enters or redstone power is supplied.
 
</div>
 
  
 
<div lang="en" dir="ltr" class="mw-content-ltr">
 
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 17:32, 13 September 2024

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

« 返回

描述

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

Syntax

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

First line

When [train] is used, the effect is played in all the minecarts of the train. When [cart] is used, the effect is only played at the minecart that is currently above the sign. When no minecarts are near when the sign is powered, the effect is played above the sign. (at the rails)

Second line

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.

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: