MCPcopy Create free account
hub / github.com/Teneted/Tenet / next

Method next

src/main/java/org/bukkit/util/BlockIterator.java:307–316  ·  view source on GitHub ↗

Returns the next Block in the trace @return the next Block in the trace

()

Source from the content-addressed store, hash-verified

305 * @return the next Block in the trace
306 */
307 @Override
308 @NotNull
309 public Block next() throws NoSuchElementException {
310 scan();
311 if (currentBlock <= -1) {
312 throw new NoSuchElementException();
313 } else {
314 return blockQueue[currentBlock--];
315 }
316 }
317
318 @Override
319 public void remove() {

Callers 10

getLineOfSightMethod · 0.95
loadPluginsMethod · 0.45
unregisterAllMethod · 0.45
unregisterMethod · 0.45
removeIngredientMethod · 0.45
unregisterMethod · 0.45
initMethod · 0.45
processClassWithFlagsMethod · 0.45
findNextURLMethod · 0.45
discoverModsMethod · 0.45

Calls 1

scanMethod · 0.95

Tested by

no test coverage detected