//Effect
Saihou-Heiki (talk | contribs) (Created page with "''[train]''が使われていると、列車に含まれているトロッコすべてにエフェクトが再生され、''[cart]''の場合は看板の真上のトロッコひとつにだけ適用されます。また、サインに電源が供給されている時にトロッコがレールになければ、エフェクトは看板の真上、レール上で再生されます。") |
Saihou-Heiki (talk | contribs) (Created page with "=== 二行目 ===") |
||
| Line 12: | Line 12: | ||
''[train]''が使われていると、列車に含まれているトロッコすべてにエフェクトが再生され、''[cart]''の場合は看板の真上のトロッコひとつにだけ適用されます。また、サインに電源が供給されている時にトロッコがレールになければ、エフェクトは看板の真上、レール上で再生されます。 | ''[train]''が使われていると、列車に含まれているトロッコすべてにエフェクトが再生され、''[cart]''の場合は看板の真上のトロッコひとつにだけ適用されます。また、サインに電源が供給されている時にトロッコがレールになければ、エフェクトは看板の真上、レール上で再生されます。 | ||
=== 二行目 === | |||
=== | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Revision as of 04:35, 19 June 2026
概要
Effectサインが起動したとき、列車のアタッチメントの効果を再生します。
記法
一行目
[train]が使われていると、列車に含まれているトロッコすべてにエフェクトが再生され、[cart]の場合は看板の真上のトロッコひとつにだけ適用されます。また、サインに電源が供給されている時にトロッコがレールになければ、エフェクトは看板の真上、レール上で再生されます。
二行目
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:
- Sound Attachment
- Particle Attachment
- Sequencer Attachment
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.
These effects can be played:
- A sound effect (See: Available Sounds)
- A particle effect (See: Available Effects)
- link, to play the fizz and smoke effects at once (link effect)
