Scissors-Website/javadoc/1.19.4/org/bukkit/scheduler/class-use/BukkitTask.html
2023-04-02 20:49:18 -05:00

326 lines
42 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Interface org.bukkit.scheduler.BukkitTask (Scissors-API 1.19.4-R0.1-SNAPSHOT API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="use: package: org.bukkit.scheduler, interface: BukkitTask">
<meta name="generator" content="javadoc/ClassUseWriter">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-use-page">
<script type="text/javascript">var pathtoroot = "../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">Class</a></li>
<li class="nav-bar-cell1-rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html#use">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header">
<h1 title="Uses of Interface org.bukkit.scheduler.BukkitTask" class="title">Uses of Interface<br>org.bukkit.scheduler.BukkitTask</h1>
</div>
<div class="caption"><span>Packages that use <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><a href="#com.destroystokyo.paper.exception">com.destroystokyo.paper.exception</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="#org.bukkit.scheduler">org.bukkit.scheduler</a></div>
<div class="col-last odd-row-color">
<div class="block">Classes dedicated to letting <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin"><code>plugins</code></a> run
code at specific time intervals, including thread safety.</div>
</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="com.destroystokyo.paper.exception">
<h2>Uses of <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a> in <a href="../../../../com/destroystokyo/paper/exception/package-summary.html">com.destroystokyo.paper.exception</a></h2>
<div class="caption"><span>Methods in <a href="../../../../com/destroystokyo/paper/exception/package-summary.html">com.destroystokyo.paper.exception</a> that return <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">ServerSchedulerException.</span><code><a href="../../../../com/destroystokyo/paper/exception/ServerSchedulerException.html#getTask()" class="member-name-link">getTask</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Gets the task which threw the exception</div>
</div>
</div>
<div class="caption"><span>Constructors in <a href="../../../../com/destroystokyo/paper/exception/package-summary.html">com.destroystokyo.paper.exception</a> with parameters of type <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier</div>
<div class="table-header col-second">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>protected </code></div>
<div class="col-second even-row-color"><code><a href="../../../../com/destroystokyo/paper/exception/ServerSchedulerException.html#%3Cinit%3E(java.lang.String,java.lang.Throwable,boolean,boolean,org.bukkit.scheduler.BukkitTask)" class="member-name-link">ServerSchedulerException</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;message,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>&nbsp;cause,
boolean&nbsp;enableSuppression,
boolean&nbsp;writableStackTrace,
<a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a>&nbsp;task)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../../../../com/destroystokyo/paper/exception/ServerSchedulerException.html#%3Cinit%3E(java.lang.String,java.lang.Throwable,org.bukkit.scheduler.BukkitTask)" class="member-name-link">ServerSchedulerException</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;message,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>&nbsp;cause,
<a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a>&nbsp;task)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../../../../com/destroystokyo/paper/exception/ServerSchedulerException.html#%3Cinit%3E(java.lang.Throwable,org.bukkit.scheduler.BukkitTask)" class="member-name-link">ServerSchedulerException</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>&nbsp;cause,
<a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a>&nbsp;task)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.bukkit.scheduler">
<h2>Uses of <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a> in <a href="../package-summary.html">org.bukkit.scheduler</a></h2>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.scheduler</a> that return <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitRunnable.</span><code><a href="../BukkitRunnable.html#runTask(org.bukkit.plugin.Plugin)" class="member-name-link">runTask</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin)</code></div>
<div class="col-last even-row-color">
<div class="block">Schedules this in the Bukkit scheduler to run on next tick.</div>
</div>
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTask(org.bukkit.plugin.Plugin,java.lang.Runnable)" class="member-name-link">runTask</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runnable.html" title="class or interface in java.lang" class="external-link">Runnable</a>&nbsp;task)</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns a task that will run on the next server tick.</div>
</div>
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTask(org.bukkit.plugin.Plugin,org.bukkit.scheduler.BukkitRunnable)" class="member-name-link">runTask</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitRunnable.html" title="class in org.bukkit.scheduler">BukkitRunnable</a>&nbsp;task)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="../BukkitRunnable.html#runTask(org.bukkit.plugin.Plugin)"><code>BukkitRunnable.runTask(Plugin)</code></a></div>
</div>
</div>
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BukkitRunnable.</span><code><a href="../BukkitRunnable.html#runTaskAsynchronously(org.bukkit.plugin.Plugin)" class="member-name-link">runTaskAsynchronously</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin)</code></div>
<div class="col-last odd-row-color">
<div class="block"><b>Asynchronous tasks should never access any API in Bukkit.</div>
</div>
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskAsynchronously(org.bukkit.plugin.Plugin,java.lang.Runnable)" class="member-name-link">runTaskAsynchronously</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runnable.html" title="class or interface in java.lang" class="external-link">Runnable</a>&nbsp;task)</code></div>
<div class="col-last even-row-color">
<div class="block"><b>Asynchronous tasks should never access any API in Bukkit.</b> <b>Great care
should be taken to assure the thread-safety of asynchronous tasks.</b></div>
</div>
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskAsynchronously(org.bukkit.plugin.Plugin,org.bukkit.scheduler.BukkitRunnable)" class="member-name-link">runTaskAsynchronously</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitRunnable.html" title="class in org.bukkit.scheduler">BukkitRunnable</a>&nbsp;task)</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="../BukkitRunnable.html#runTaskAsynchronously(org.bukkit.plugin.Plugin)"><code>BukkitRunnable.runTaskAsynchronously(Plugin)</code></a></div>
</div>
</div>
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitRunnable.</span><code><a href="../BukkitRunnable.html#runTaskLater(org.bukkit.plugin.Plugin,long)" class="member-name-link">runTaskLater</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
long&nbsp;delay)</code></div>
<div class="col-last even-row-color">
<div class="block">Schedules this to run after the specified number of server ticks.</div>
</div>
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskLater(org.bukkit.plugin.Plugin,java.lang.Runnable,long)" class="member-name-link">runTaskLater</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runnable.html" title="class or interface in java.lang" class="external-link">Runnable</a>&nbsp;task,
long&nbsp;delay)</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns a task that will run after the specified number of server
ticks.</div>
</div>
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskLater(org.bukkit.plugin.Plugin,org.bukkit.scheduler.BukkitRunnable,long)" class="member-name-link">runTaskLater</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitRunnable.html" title="class in org.bukkit.scheduler">BukkitRunnable</a>&nbsp;task,
long&nbsp;delay)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="../BukkitRunnable.html#runTaskLater(org.bukkit.plugin.Plugin,long)"><code>BukkitRunnable.runTaskLater(Plugin, long)</code></a></div>
</div>
</div>
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BukkitRunnable.</span><code><a href="../BukkitRunnable.html#runTaskLaterAsynchronously(org.bukkit.plugin.Plugin,long)" class="member-name-link">runTaskLaterAsynchronously</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
long&nbsp;delay)</code></div>
<div class="col-last odd-row-color">
<div class="block"><b>Asynchronous tasks should never access any API in Bukkit.</div>
</div>
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskLaterAsynchronously(org.bukkit.plugin.Plugin,java.lang.Runnable,long)" class="member-name-link">runTaskLaterAsynchronously</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runnable.html" title="class or interface in java.lang" class="external-link">Runnable</a>&nbsp;task,
long&nbsp;delay)</code></div>
<div class="col-last even-row-color">
<div class="block"><b>Asynchronous tasks should never access any API in Bukkit.</b> <b>Great care
should be taken to assure the thread-safety of asynchronous tasks.</b></div>
</div>
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskLaterAsynchronously(org.bukkit.plugin.Plugin,org.bukkit.scheduler.BukkitRunnable,long)" class="member-name-link">runTaskLaterAsynchronously</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitRunnable.html" title="class in org.bukkit.scheduler">BukkitRunnable</a>&nbsp;task,
long&nbsp;delay)</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="../BukkitRunnable.html#runTaskLaterAsynchronously(org.bukkit.plugin.Plugin,long)"><code>BukkitRunnable.runTaskLaterAsynchronously(Plugin, long)</code></a></div>
</div>
</div>
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitRunnable.</span><code><a href="../BukkitRunnable.html#runTaskTimer(org.bukkit.plugin.Plugin,long,long)" class="member-name-link">runTaskTimer</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
long&nbsp;delay,
long&nbsp;period)</code></div>
<div class="col-last even-row-color">
<div class="block">Schedules this to repeatedly run until cancelled, starting after the
specified number of server ticks.</div>
</div>
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskTimer(org.bukkit.plugin.Plugin,java.lang.Runnable,long,long)" class="member-name-link">runTaskTimer</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runnable.html" title="class or interface in java.lang" class="external-link">Runnable</a>&nbsp;task,
long&nbsp;delay,
long&nbsp;period)</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns a task that will repeatedly run until cancelled, starting after
the specified number of server ticks.</div>
</div>
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskTimer(org.bukkit.plugin.Plugin,org.bukkit.scheduler.BukkitRunnable,long,long)" class="member-name-link">runTaskTimer</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitRunnable.html" title="class in org.bukkit.scheduler">BukkitRunnable</a>&nbsp;task,
long&nbsp;delay,
long&nbsp;period)</code></div>
<div class="col-last even-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="../BukkitRunnable.html#runTaskTimer(org.bukkit.plugin.Plugin,long,long)"><code>BukkitRunnable.runTaskTimer(Plugin, long, long)</code></a></div>
</div>
</div>
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BukkitRunnable.</span><code><a href="../BukkitRunnable.html#runTaskTimerAsynchronously(org.bukkit.plugin.Plugin,long,long)" class="member-name-link">runTaskTimerAsynchronously</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
long&nbsp;delay,
long&nbsp;period)</code></div>
<div class="col-last odd-row-color">
<div class="block"><b>Asynchronous tasks should never access any API in Bukkit.</div>
</div>
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskTimerAsynchronously(org.bukkit.plugin.Plugin,java.lang.Runnable,long,long)" class="member-name-link">runTaskTimerAsynchronously</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runnable.html" title="class or interface in java.lang" class="external-link">Runnable</a>&nbsp;task,
long&nbsp;delay,
long&nbsp;period)</code></div>
<div class="col-last even-row-color">
<div class="block"><b>Asynchronous tasks should never access any API in Bukkit.</b> <b>Great care
should be taken to assure the thread-safety of asynchronous tasks.</b></div>
</div>
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskTimerAsynchronously(org.bukkit.plugin.Plugin,org.bukkit.scheduler.BukkitRunnable,long,long)" class="member-name-link">runTaskTimerAsynchronously</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BukkitRunnable.html" title="class in org.bukkit.scheduler">BukkitRunnable</a>&nbsp;task,
long&nbsp;delay,
long&nbsp;period)</code></div>
<div class="col-last odd-row-color">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="../BukkitRunnable.html#runTaskTimerAsynchronously(org.bukkit.plugin.Plugin,long,long)"><code>BukkitRunnable.runTaskTimerAsynchronously(Plugin, long, long)</code></a></div>
</div>
</div>
</div>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit.scheduler</a> that return types with arguments of type <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a>&gt;</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#getPendingTasks()" class="member-name-link">getPendingTasks</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Returns a list of all pending tasks.</div>
</div>
</div>
<div class="caption"><span>Method parameters in <a href="../package-summary.html">org.bukkit.scheduler</a> with type arguments of type <a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTask(org.bukkit.plugin.Plugin,java.util.function.Consumer)" class="member-name-link">runTask</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a>&lt;<a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a>&gt;&nbsp;task)</code></div>
<div class="col-last even-row-color">
<div class="block">Returns a task that will run on the next server tick.</div>
</div>
<div class="col-first odd-row-color"><code>void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskAsynchronously(org.bukkit.plugin.Plugin,java.util.function.Consumer)" class="member-name-link">runTaskAsynchronously</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a>&lt;<a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a>&gt;&nbsp;task)</code></div>
<div class="col-last odd-row-color">
<div class="block"><b>Asynchronous tasks should never access any API in Bukkit.</b> <b>Great care
should be taken to assure the thread-safety of asynchronous tasks.</b></div>
</div>
<div class="col-first even-row-color"><code>void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskLater(org.bukkit.plugin.Plugin,java.util.function.Consumer,long)" class="member-name-link">runTaskLater</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a>&lt;<a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a>&gt;&nbsp;task,
long&nbsp;delay)</code></div>
<div class="col-last even-row-color">
<div class="block">Returns a task that will run after the specified number of server
ticks.</div>
</div>
<div class="col-first odd-row-color"><code>void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskLaterAsynchronously(org.bukkit.plugin.Plugin,java.util.function.Consumer,long)" class="member-name-link">runTaskLaterAsynchronously</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a>&lt;<a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a>&gt;&nbsp;task,
long&nbsp;delay)</code></div>
<div class="col-last odd-row-color">
<div class="block"><b>Asynchronous tasks should never access any API in Bukkit.</b> <b>Great care
should be taken to assure the thread-safety of asynchronous tasks.</b></div>
</div>
<div class="col-first even-row-color"><code>void</code></div>
<div class="col-second even-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskTimer(org.bukkit.plugin.Plugin,java.util.function.Consumer,long,long)" class="member-name-link">runTaskTimer</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a>&lt;<a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a>&gt;&nbsp;task,
long&nbsp;delay,
long&nbsp;period)</code></div>
<div class="col-last even-row-color">
<div class="block">Returns a task that will repeatedly run until cancelled, starting after
the specified number of server ticks.</div>
</div>
<div class="col-first odd-row-color"><code>void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">BukkitScheduler.</span><code><a href="../BukkitScheduler.html#runTaskTimerAsynchronously(org.bukkit.plugin.Plugin,java.util.function.Consumer,long,long)" class="member-name-link">runTaskTimerAsynchronously</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a>&lt;<a href="../BukkitTask.html" title="interface in org.bukkit.scheduler">BukkitTask</a>&gt;&nbsp;task,
long&nbsp;delay,
long&nbsp;period)</code></div>
<div class="col-last odd-row-color">
<div class="block"><b>Asynchronous tasks should never access any API in Bukkit.</b> <b>Great care
should be taken to assure the thread-safety of asynchronous tasks.</b></div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>