MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / ar

Method ar

src/main/java/com/volmit/adapt/util/J.java:256–259  ·  view source on GitHub ↗

Start an async repeat task @param r the runnable @param interval the interval in ticks @return the task id

(Runnable r, int interval)

Source from the content-addressed store, hash-verified

254 * @return the task id
255 */
256 @SuppressWarnings("deprecation")
257 public static int ar(Runnable r, int interval) {
258 return Bukkit.getScheduler().scheduleAsyncRepeatingTask(Adapt.instance, r, 0, interval);
259 }
260
261 /**
262 * Start an async repeating task for a limited time

Callers 2

TickerMethod · 0.95
ARMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected