TrainCarts/Signs/Effect [ja]

From BergerHealer Wiki
Revision as of 04:35, 19 June 2026 by Saihou-Heiki (talk | contribs) (Created page with "''[train]''が使われていると、列車に含まれているトロッコすべてにエフェクトが再生され、''[cart]''の場合は看板の真上のトロッコひとつにだけ適用されます。また、サインに電源が供給されている時にトロッコがレールになければ、エフェクトは看板の真上、レール上で再生されます。")
Jump to navigation Jump to search
Other languages:

概要

Effectサインが起動したとき、列車のアタッチメントの効果を再生します。

記法

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


一行目

[train]が使われていると、列車に含まれているトロッコすべてにエフェクトが再生され、[cart]の場合は看板の真上のトロッコひとつにだけ適用されます。また、サインに電源が供給されている時にトロッコがレールになければ、エフェクトは看板の真上、レール上で再生されます。

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: