//Effect
Jump to navigation
Jump to search
概要
Effectサインが起動したとき、列車のアタッチメントの効果を再生します。
記法
一行目
[train]が使われていると、列車に含まれているトロッコすべてにエフェクトが再生され、[cart]の場合は看板の真上のトロッコひとつにだけ適用されます。また、サインに電源が供給されている時にトロッコがレールになければ、エフェクトは看板の真上、レール上で再生されます。
二行目
effectと書きます。また必要に応じて同時に再生速度(ピッチ)と強度(ボリューム)も指定できますが、デフォルトでは1.0になっています。また、effect stopを指定すると、再生を中断します。
三行目と四行目
再生したいひとつかふたつのエフェクトアタッチメント名を指定します。アタッチメントエディタではジェネラルメニュー(ハンバーガー)でエフェクトアタッチメントの名前をつけることができ、そこで設定した名前を看板に書き込むと起動できます。
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)
