public final class GlobalTask extends ParticleTask
ParticleTask implementation to send particles
to every player that is currently online.ParticleTask| Constructor and Description |
|---|
GlobalTask(List<Object> packets,
int tickDelay)
Creates a new
GlobalTask. |
| Modifier and Type | Method and Description |
|---|---|
Collection<org.bukkit.entity.Player> |
getTargetPlayers()
|
getPackets, getTickDelaypublic GlobalTask(List<Object> packets, int tickDelay)
GlobalTask.packets - List of packetstickDelay - The delay of ticks between each executionpublic Collection<org.bukkit.entity.Player> getTargetPlayers()
getTargetPlayers in class ParticleTaskCollection of all online Players.Copyright © 2021. All rights reserved.