public final class SingularTask extends ParticleTask
ParticleTask implementation that only
targets a single Player.ParticleTask| Constructor and Description |
|---|
SingularTask(List<Object> packets,
int tickDelay,
org.bukkit.entity.Player target)
Creates a new
SingularTask. |
SingularTask(List<Object> packets,
int tickDelay,
UUID target)
Creates a new
SingularTask. |
| Modifier and Type | Method and Description |
|---|---|
List<org.bukkit.entity.Player> |
getTargetPlayers()
Gets a singleton list with the target
Player
or an empty list if the player isn't online. |
getPackets, getTickDelaypublic SingularTask(List<Object> packets, int tickDelay, UUID target)
SingularTask.public SingularTask(List<Object> packets, int tickDelay, org.bukkit.entity.Player target)
SingularTask.packets - List of packetstickDelay - The delay of ticks between each executiontarget - The target Playerpublic List<org.bukkit.entity.Player> getTargetPlayers()
Player
or an empty list if the player isn't online.getTargetPlayers in class ParticleTaskPlayerCopyright © 2021. All rights reserved.