public interface Effect<T>
Modifier and Type | Method and Description |
---|---|
void |
apply()
Execute the effect at the given location
|
void |
apply(Player player)
Execute the effect at the given location for specified player
|
void |
applyToEveryoneExcept(Player player)
Execute the effect at the given location for all players except specified player
|
void |
setType(T type)
Set the type of the effect
|
T |
type()
The type of the effect
|
void apply()
void apply(Player player)
player
- The player to send the effect tovoid applyToEveryoneExcept(Player player)
player
- The player to not send the effect toCopyright © 2016. All rights reserved.