Claro, você deixou o Cleartask.tempo igual a 0, ai ele fica verificando.
Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {
@Override
public void run() {
switch (--ClearTask.Tempo) {
case 30: {
Bukkit.broadcastMessage("§e§lLIXEIRO:§e Limpando os itens do chao em §e30 §esegundos!");
Player[] onlinePlayers;
for (int length = (onlinePlayers = Bukkit.getOnlinePlayers()).length, i = 0; i < length; ++i) {
Player p = onlinePlayers[i];
p.playSound(p.getLocation(), Sound.NOTE_PLING, 1.0f, 1.0f);
}
}
int i = 0;
for (World x : Bukkit.getWorlds()) {
for (Entity v : x.getEntities()) {
if (v instanceof Item) {
v.remove();
i++;
}
}
Bukkit.broadcastMessage("§e§lLIXEIRO: §eItens "+i+" do chao removidos com sucesso!");
ClearTask.Tempo = 600; // Coloque o tempo aqui
i=0;
}
}
}
}, 10L, 10L);