Difference between revisions of "TrainCarts/Signs/Effect"
Jump to navigation
Jump to search
m (1 revision imported) |
|||
Line 20: | Line 20: | ||
The effects to play. These can be: | The effects to play. These can be: | ||
− | * A sound effect (See: [https:// | + | * A sound effect (See: [https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html Available Sounds]) |
− | * A particle effect (See: [https:// | + | * A particle effect (See: [https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html Available Effects]) |
* ''link'', to play the fizz and smoke effects at once (link effect) | * ''link'', to play the fizz and smoke effects at once (link effect) | ||
− | |||
− |
Revision as of 20:30, 30 September 2022
Description
This sign can play a particle or sound effect when a train enters or power is supplied.
Syntax
[!train]/[!cart]
effect
<effect>
<effect>
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 pitch and volume. Values of 1.0 are the defaults.
Third and fourth lines
The effects to play. These can be:
- A sound effect (See: Available Sounds)
- A particle effect (See: Available Effects)
- link, to play the fizz and smoke effects at once (link effect)