PHP: Bukkit.getScheduler().scheduleSyncRepeatingTask(plugin, new Runnable() { @Override public void run() { // rise 1 block }}, 0L, 200L); //0 Tick initial delay, 200 Tick (10 seconds) between repeats
@Aypro As @Kars already wrote that's how you loop through. The rest should be self-explained. Please mark this thread as solved if you do not have any questions left.