mirror of
https://github.com/AtlasMediaGroup/Scissors-Website.git
synced 2024-12-29 13:27:37 +00:00
8000 lines
744 KiB
HTML
8000 lines
744 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (17) -->
|
|
<title>World (Scissors-API 1.18.2-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="declaration: package: org.bukkit, interface: World">
|
|
<meta name="generator" content="javadoc/ClassWriterImpl">
|
|
<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.5.1.min.js"></script>
|
|
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
|
|
</head>
|
|
<body class="class-declaration-page">
|
|
<script type="text/javascript">var evenRowColor = "even-row-color";
|
|
var oddRowColor = "odd-row-color";
|
|
var tableTab = "table-tab";
|
|
var activeTableTab = "active-table-tab";
|
|
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 class="nav-bar-cell1-rev">Class</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#class">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="sub-nav">
|
|
<div>
|
|
<ul class="sub-nav-list">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested-class-summary">Nested</a> | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method-summary">Method</a></li>
|
|
</ul>
|
|
<ul class="sub-nav-list">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method-detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<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">
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.bukkit</a></div>
|
|
<h1 title="Interface World" class="title">Interface World</h1>
|
|
</div>
|
|
<section class="class-description" id="class-description">
|
|
<dl class="notes">
|
|
<dt>All Superinterfaces:</dt>
|
|
<dd><code><a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html" title="class or interface in net.kyori.adventure.audience" class="external-link">Audience</a></code>, <code><a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html" title="class or interface in net.kyori.adventure.audience" class="external-link">ForwardingAudience</a></code>, <code>net.kyori.adventure.key.Keyed</code>, <code><a href="Keyed.html" title="interface in org.bukkit">Keyed</a></code>, <code><a href="metadata/Metadatable.html" title="interface in org.bukkit.metadata">Metadatable</a></code>, <code><a href="persistence/PersistentDataHolder.html" title="interface in org.bukkit.persistence">PersistentDataHolder</a></code>, <code><a href="plugin/messaging/PluginMessageRecipient.html" title="interface in org.bukkit.plugin.messaging">PluginMessageRecipient</a></code>, <code><a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/pointer/Pointered.html" title="class or interface in net.kyori.adventure.pointer" class="external-link">Pointered</a></code>, <code><a href="RegionAccessor.html" title="interface in org.bukkit">RegionAccessor</a></code>, <code><a href="generator/WorldInfo.html" title="interface in org.bukkit.generator">WorldInfo</a></code></dd>
|
|
</dl>
|
|
<hr>
|
|
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">World</span><span class="extends-implements">
|
|
extends <a href="RegionAccessor.html" title="interface in org.bukkit">RegionAccessor</a>, <a href="generator/WorldInfo.html" title="interface in org.bukkit.generator">WorldInfo</a>, <a href="plugin/messaging/PluginMessageRecipient.html" title="interface in org.bukkit.plugin.messaging">PluginMessageRecipient</a>, <a href="metadata/Metadatable.html" title="interface in org.bukkit.metadata">Metadatable</a>, <a href="persistence/PersistentDataHolder.html" title="interface in org.bukkit.persistence">PersistentDataHolder</a>, <a href="Keyed.html" title="interface in org.bukkit">Keyed</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html" title="class or interface in net.kyori.adventure.audience" class="external-link">ForwardingAudience</a></span></div>
|
|
<div class="block">Represents a world, which may contain entities, chunks and blocks</div>
|
|
</section>
|
|
<section class="summary">
|
|
<ul class="summary-list">
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
<li>
|
|
<section class="nested-class-summary" id="nested-class-summary">
|
|
<h2>Nested Class Summary</h2>
|
|
<div class="caption"><span>Nested Classes</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">Interface</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>static interface </code></div>
|
|
<div class="col-second even-row-color"><code><a href="World.ChunkLoadCallback.html" class="type-name-link" title="interface in org.bukkit">World.ChunkLoadCallback</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use either the Future or the Consumer based methods</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static enum </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="World.Environment.html" class="type-name-link" title="enum class in org.bukkit">World.Environment</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Represents various map environment types that a world may be</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>static class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="World.Spigot.html" class="type-name-link" title="class in org.bukkit">World.Spigot</a></code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
<div class="inherited-list">
|
|
<h2 id="nested-classes-inherited-from-class-net.kyori.adventure.audience.ForwardingAudience">Nested classes/interfaces inherited from interface net.kyori.adventure.audience.<a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html" title="class or interface in net.kyori.adventure.audience" class="external-link">ForwardingAudience</a></h2>
|
|
<code><a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.Single.html" title="class or interface in net.kyori.adventure.audience" class="external-link">ForwardingAudience.Single</a></code></div>
|
|
</section>
|
|
</li>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<li>
|
|
<section class="method-summary" id="method-summary">
|
|
<h2>Method Summary</h2>
|
|
<div id="method-summary-table">
|
|
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button><button id="method-summary-table-tab5" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab5', 3)" class="table-tab">Default Methods</button><button id="method-summary-table-tab6" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab6', 3)" class="table-tab">Deprecated Methods</button></div>
|
|
<div id="method-summary-table.tabpanel" role="tabpanel">
|
|
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
|
|
<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 method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#addPluginChunkTicket(int,int,org.bukkit.plugin.Plugin)" class="member-name-link">addPluginChunkTicket</a><wbr>(int x,
|
|
int z,
|
|
<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> plugin)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Adds a plugin ticket for the specified chunk, loading the chunk if it is
|
|
not already loaded.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html" title="class or interface in net.kyori.adventure.audience" class="external-link">Audience</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#audiences()" class="member-name-link">audiences</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets the audiences.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#canGenerateStructures()" class="member-name-link">canGenerateStructures</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets whether or not structures are being generated.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#createExplosion(double,double,double,float)" class="member-name-link">createExplosion</a><wbr>(double x,
|
|
double y,
|
|
double z,
|
|
float power)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Creates explosion at given coordinates with given power</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#createExplosion(double,double,double,float,boolean)" class="member-name-link">createExplosion</a><wbr>(double x,
|
|
double y,
|
|
double z,
|
|
float power,
|
|
boolean setFire)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#createExplosion(double,double,double,float,boolean,boolean)" class="member-name-link">createExplosion</a><wbr>(double x,
|
|
double y,
|
|
double z,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire or breaking blocks.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#createExplosion(double,double,double,float,boolean,boolean,org.bukkit.entity.Entity)" class="member-name-link">createExplosion</a><wbr>(double x,
|
|
double y,
|
|
double z,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire or breaking blocks.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#createExplosion(org.bukkit.entity.Entity,float)" class="member-name-link">createExplosion</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="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
float power)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Creates explosion at given entities location with given power and optionally
|
|
setting blocks on fire, with the specified entity as the source.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#createExplosion(org.bukkit.entity.Entity,float,boolean)" class="member-name-link">createExplosion</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="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
float power,
|
|
boolean setFire)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Creates explosion at given entities location with given power and optionally
|
|
setting blocks on fire, with the specified entity as the source.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#createExplosion(org.bukkit.entity.Entity,float,boolean,boolean)" class="member-name-link">createExplosion</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="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Creates explosion at given entities location with given power and optionally
|
|
setting blocks on fire, with the specified entity as the source.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#createExplosion(org.bukkit.Location,float)" class="member-name-link">createExplosion</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Creates explosion at given coordinates with given power</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#createExplosion(org.bukkit.Location,float,boolean)" class="member-name-link">createExplosion</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#createExplosion(org.bukkit.Location,float,boolean,boolean)" class="member-name-link">createExplosion</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire or breaking blocks.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#createExplosion(org.bukkit.Location,float,boolean,boolean,org.bukkit.entity.Entity)" class="member-name-link">createExplosion</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire or breaking blocks.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#createExplosion(org.bukkit.entity.Entity,org.bukkit.Location,float)" class="member-name-link">createExplosion</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Creates explosion at given location with given power, with the specified entity as the source.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#createExplosion(org.bukkit.entity.Entity,org.bukkit.Location,float,boolean)" class="member-name-link">createExplosion</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Creates explosion at given location with given power and optionally
|
|
setting blocks on fire, with the specified entity as the source.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#createExplosion(org.bukkit.entity.Entity,org.bukkit.Location,float,boolean,boolean)" class="member-name-link">createExplosion</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Creates explosion at given location with given power and optionally
|
|
setting blocks on fire, with the specified entity as the source.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#doesBedWork()" class="member-name-link">doesBedWork</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#isBedWorks()"><code>isBedWorks()</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#doesRespawnAnchorWork()" class="member-name-link">doesRespawnAnchorWork</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#isRespawnAnchorWorks()"><code>isRespawnAnchorWorks()</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="entity/Item.html" title="interface in org.bukkit.entity">Item</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#dropItem(org.bukkit.Location,org.bukkit.inventory.ItemStack)" class="member-name-link">dropItem</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Drops an item at the specified <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="entity/Item.html" title="interface in org.bukkit.entity">Item</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#dropItem(org.bukkit.Location,org.bukkit.inventory.ItemStack,org.bukkit.util.Consumer)" class="member-name-link">dropItem</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/Consumer.html" title="interface in org.bukkit.util">Consumer</a><<a href="entity/Item.html" title="interface in org.bukkit.entity">Item</a>> function)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Drops an item at the specified <a href="Location.html" title="class in org.bukkit"><code>Location</code></a>
|
|
Note that functions will run before the entity is spawned</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="entity/Item.html" title="interface in org.bukkit.entity">Item</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#dropItemNaturally(org.bukkit.Location,org.bukkit.inventory.ItemStack)" class="member-name-link">dropItemNaturally</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Drops an item at the specified <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> with a random offset</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="entity/Item.html" title="interface in org.bukkit.entity">Item</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#dropItemNaturally(org.bukkit.Location,org.bukkit.inventory.ItemStack,org.bukkit.util.Consumer)" class="member-name-link">dropItemNaturally</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/Consumer.html" title="interface in org.bukkit.util">Consumer</a><<a href="entity/Item.html" title="interface in org.bukkit.entity">Item</a>> function)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Drops an item at the specified <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> with a random offset
|
|
Note that functions will run before the entity is spawned</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#findLightningRod(org.bukkit.Location)" class="member-name-link">findLightningRod</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="Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Finds the location of the nearest unobstructed Lightning Rod in a 128-block
|
|
radius around the given location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#findLightningTarget(org.bukkit.Location)" class="member-name-link">findLightningTarget</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="Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Finds a target <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> for lightning to strike.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#generateTree(org.bukkit.Location,org.bukkit.TreeType)" class="member-name-link">generateTree</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="TreeType.html" title="enum class in org.bukkit">TreeType</a> type)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Creates a tree at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#generateTree(org.bukkit.Location,org.bukkit.TreeType,org.bukkit.BlockChangeDelegate)" class="member-name-link">generateTree</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<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="TreeType.html" title="enum class in org.bukkit">TreeType</a> type,
|
|
<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="BlockChangeDelegate.html" title="interface in org.bukkit">BlockChangeDelegate</a> delegate)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">this method does not handle tile entities (bee nests)</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getAllowAnimals()" class="member-name-link">getAllowAnimals</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets whether animals can spawn in this world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getAllowMonsters()" class="member-name-link">getAllowMonsters</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets whether monsters can spawn in this world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getAmbientSpawnLimit()" class="member-name-link">getAmbientSpawnLimit</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getAnimalSpawnLimit()" class="member-name-link">getAnimalSpawnLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><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="block/Biome.html" title="enum class in org.bukkit.block">Biome</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getBiome(int,int)" class="member-name-link">getBiome</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">biomes are now 3-dimensional</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="generator/BiomeProvider.html" title="class in org.bukkit.generator">BiomeProvider</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBiomeProvider()" class="member-name-link">getBiomeProvider</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the biome provider for this world</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBlockAt(int,int,int)" class="member-name-link">getBlockAt</a><wbr>(int x,
|
|
int y,
|
|
int z)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a> at the given coordinates</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBlockAt(org.bukkit.Location)" class="member-name-link">getBlockAt</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="Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a> at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code>default <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="block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code><a href="#getBlockAtKey(long)" class="member-name-link">getBlockAtKey</a><wbr>(long key)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">only encodes y block ranges from -512 to 511 and represents an already changed implementation detail</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="Chunk.html" title="interface in org.bukkit">Chunk</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getChunkAt(int,int)" class="member-name-link">getChunkAt</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the given coordinates</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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="Chunk.html" title="interface in org.bukkit">Chunk</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAt(long)" class="member-name-link">getChunkAt</a><wbr>(long chunkKey)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets the chunk at the specified chunk key, which is the X and Z packed into a long.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="Chunk.html" title="interface in org.bukkit">Chunk</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getChunkAt(org.bukkit.block.Block)" class="member-name-link">getChunkAt</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="block/Block.html" title="interface in org.bukkit.block">Block</a> block)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> that contains the given <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="Chunk.html" title="interface in org.bukkit">Chunk</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getChunkAt(org.bukkit.Location)" class="member-name-link">getChunkAt</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="Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsync(int,int)" class="member-name-link">getChunkAtAsync</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsync(int,int,boolean)" class="member-name-link">getChunkAtAsync</a><wbr>(int x,
|
|
int z,
|
|
boolean gen)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getChunkAtAsync(int,int,boolean,boolean)" class="member-name-link">getChunkAtAsync</a><wbr>(int x,
|
|
int z,
|
|
boolean gen,
|
|
boolean urgent)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsync(int,int,boolean,java.util.function.Consumer)" class="member-name-link">getChunkAtAsync</a><wbr>(int x,
|
|
int z,
|
|
boolean gen,
|
|
<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><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code>default void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code><a href="#getChunkAtAsync(int,int,org.bukkit.World.ChunkLoadCallback)" class="member-name-link">getChunkAtAsync</a><wbr>(int x,
|
|
int z,
|
|
<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="World.ChunkLoadCallback.html" title="interface in org.bukkit">World.ChunkLoadCallback</a> cb)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use either the Future or the Consumer based methods</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsync(int,int,java.util.function.Consumer)" class="member-name-link">getChunkAtAsync</a><wbr>(int x,
|
|
int z,
|
|
<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><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsync(org.bukkit.block.Block)" class="member-name-link">getChunkAtAsync</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="block/Block.html" title="interface in org.bukkit.block">Block</a> block)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsync(org.bukkit.block.Block,boolean)" class="member-name-link">getChunkAtAsync</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="block/Block.html" title="interface in org.bukkit.block">Block</a> block,
|
|
boolean gen)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsync(org.bukkit.block.Block,boolean,java.util.function.Consumer)" class="member-name-link">getChunkAtAsync</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="block/Block.html" title="interface in org.bukkit.block">Block</a> block,
|
|
boolean gen,
|
|
<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><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded that contains the given <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a>
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code>default void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code><a href="#getChunkAtAsync(org.bukkit.block.Block,org.bukkit.World.ChunkLoadCallback)" class="member-name-link">getChunkAtAsync</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="block/Block.html" title="interface in org.bukkit.block">Block</a> block,
|
|
<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="World.ChunkLoadCallback.html" title="interface in org.bukkit">World.ChunkLoadCallback</a> cb)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use either the Future or the Consumer based methods</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsync(org.bukkit.block.Block,java.util.function.Consumer)" class="member-name-link">getChunkAtAsync</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="block/Block.html" title="interface in org.bukkit.block">Block</a> block,
|
|
<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><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded that contains the given <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a>
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsync(org.bukkit.Location)" class="member-name-link">getChunkAtAsync</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="Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsync(org.bukkit.Location,boolean)" class="member-name-link">getChunkAtAsync</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
boolean gen)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsync(org.bukkit.Location,boolean,java.util.function.Consumer)" class="member-name-link">getChunkAtAsync</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
boolean gen,
|
|
<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><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a>
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code>default void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code><a href="#getChunkAtAsync(org.bukkit.Location,org.bukkit.World.ChunkLoadCallback)" class="member-name-link">getChunkAtAsync</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<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="World.ChunkLoadCallback.html" title="interface in org.bukkit">World.ChunkLoadCallback</a> cb)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use either the Future or the Consumer based methods</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsync(org.bukkit.Location,java.util.function.Consumer)" class="member-name-link">getChunkAtAsync</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<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><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a>
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsyncUrgently(int,int)" class="member-name-link">getChunkAtAsyncUrgently</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsyncUrgently(org.bukkit.block.Block)" class="member-name-link">getChunkAtAsyncUrgently</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="block/Block.html" title="interface in org.bukkit.block">Block</a> block)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsyncUrgently(org.bukkit.block.Block,boolean)" class="member-name-link">getChunkAtAsyncUrgently</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="block/Block.html" title="interface in org.bukkit.block">Block</a> block,
|
|
boolean gen)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsyncUrgently(org.bukkit.Location)" class="member-name-link">getChunkAtAsyncUrgently</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="Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkAtAsyncUrgently(org.bukkit.Location,boolean)" class="member-name-link">getChunkAtAsyncUrgently</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
boolean gen)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getChunkCount()" class="member-name-link">getChunkCount</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getClearWeatherDuration()" class="member-name-link">getClearWeatherDuration</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get the clear weather duration.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getCoordinateScale()" class="member-name-link">getCoordinateScale</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the coordinate scaling of this world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="Difficulty.html" title="enum class in org.bukkit">Difficulty</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getDifficulty()" class="member-name-link">getDifficulty</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the Difficulty of the world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="ChunkSnapshot.html" title="interface in org.bukkit">ChunkSnapshot</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getEmptyChunkSnapshot(int,int,boolean,boolean)" class="member-name-link">getEmptyChunkSnapshot</a><wbr>(int x,
|
|
int z,
|
|
boolean includeBiome,
|
|
boolean includeBiomeTemp)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get empty chunk snapshot (equivalent to all air blocks), optionally
|
|
including valid biome data.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="boss/DragonBattle.html" title="interface in org.bukkit.boss">DragonBattle</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getEnderDragonBattle()" class="member-name-link">getEnderDragonBattle</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get the <a href="boss/DragonBattle.html" title="interface in org.bukkit.boss"><code>DragonBattle</code></a> associated with this world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getEntities()" class="member-name-link">getEntities</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get a list of all entities in this World</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getEntitiesByClass(java.lang.Class)" class="member-name-link">getEntitiesByClass</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T> cls)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get a collection of all entities in this World matching the given
|
|
class/interface</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getEntitiesByClass(java.lang.Class...)" class="member-name-link">getEntitiesByClass</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T>... classes)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getEntitiesByClasses(java.lang.Class...)" class="member-name-link">getEntitiesByClasses</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><?>... classes)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get a collection of all entities in this World matching any of the
|
|
given classes/interfaces</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getEntity(java.util.UUID)" class="member-name-link">getEntity</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html" title="class or interface in java.util" class="external-link">UUID</a> uuid)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets an entity in this world by its UUID</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getEntityCount()" class="member-name-link">getEntityCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getForceLoadedChunks()" class="member-name-link">getForceLoadedChunks</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Returns all force loaded chunks in this world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getFullTime()" class="member-name-link">getFullTime</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the full in-game time on this world</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> T</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getGameRuleDefault(org.bukkit.GameRule)" class="member-name-link">getGameRuleDefault</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="GameRule.html" title="class in org.bukkit">GameRule</a><T> rule)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get the default value for a given <a href="GameRule.html" title="class in org.bukkit"><code>GameRule</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>[]</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getGameRules()" class="member-name-link">getGameRules</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get an array containing the names of all the <a href="GameRule.html" title="class in org.bukkit"><code>GameRule</code></a>s.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> T</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getGameRuleValue(org.bukkit.GameRule)" class="member-name-link">getGameRuleValue</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="GameRule.html" title="class in org.bukkit">GameRule</a><T> rule)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get the current value for a given <a href="GameRule.html" title="class in org.bukkit"><code>GameRule</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <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></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getGameRuleValue(java.lang.String)" class="member-name-link">getGameRuleValue</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <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> rule)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#getGameRuleValue(org.bukkit.GameRule)"><code>getGameRuleValue(GameRule)</code></a> instead</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getGameTime()" class="member-name-link">getGameTime</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the full in-game time on this world since the world generation</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="generator/ChunkGenerator.html" title="class in org.bukkit.generator">ChunkGenerator</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getGenerator()" class="member-name-link">getGenerator</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the chunk generator for this world</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHighestBlockAt(int,int)" class="member-name-link">getHighestBlockAt</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the highest non-empty (impassable) block at the given coordinates.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHighestBlockAt(int,int,org.bukkit.HeightMap)" class="member-name-link">getHighestBlockAt</a><wbr>(int x,
|
|
int z,
|
|
<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="HeightMap.html" title="enum class in org.bukkit">HeightMap</a> heightMap)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the highest block corresponding to the <a href="HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a> at the
|
|
given coordinates.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code>default <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="block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code><a href="#getHighestBlockAt(int,int,com.destroystokyo.paper.HeightmapType)" class="member-name-link">getHighestBlockAt</a><wbr>(int x,
|
|
int z,
|
|
<a href="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper">HeightmapType</a> heightmap)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Upstream has added support for this, use <a href="#getHighestBlockAt(int,int,org.bukkit.HeightMap)"><code>getHighestBlockAt(int, int, HeightMap)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHighestBlockAt(org.bukkit.Location)" class="member-name-link">getHighestBlockAt</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="Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the highest non-empty (impassable) block at the given coordinates.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHighestBlockAt(org.bukkit.Location,org.bukkit.HeightMap)" class="member-name-link">getHighestBlockAt</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="HeightMap.html" title="enum class in org.bukkit">HeightMap</a> heightMap)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the highest block corresponding to the <a href="HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a> at the
|
|
given coordinates.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code>default <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="block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code><a href="#getHighestBlockAt(org.bukkit.Location,com.destroystokyo.paper.HeightmapType)" class="member-name-link">getHighestBlockAt</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper">HeightmapType</a> heightmap)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Upstream has added support for this, use <a href="#getHighestBlockAt(org.bukkit.Location,org.bukkit.HeightMap)"><code>getHighestBlockAt(Location, HeightMap)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHighestBlockYAt(int,int)" class="member-name-link">getHighestBlockYAt</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the highest non-empty (impassable) coordinate at the given
|
|
coordinates.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHighestBlockYAt(int,int,org.bukkit.HeightMap)" class="member-name-link">getHighestBlockYAt</a><wbr>(int x,
|
|
int z,
|
|
<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="HeightMap.html" title="enum class in org.bukkit">HeightMap</a> heightMap)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the highest coordinate corresponding to the <a href="HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a> at the
|
|
given coordinates.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getHighestBlockYAt(int,int,com.destroystokyo.paper.HeightmapType)" class="member-name-link">getHighestBlockYAt</a><wbr>(int x,
|
|
int z,
|
|
<a href="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper">HeightmapType</a> heightmap)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Upstream has added support for this, use <a href="#getHighestBlockYAt(int,int,org.bukkit.HeightMap)"><code>getHighestBlockYAt(int, int, HeightMap)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHighestBlockYAt(org.bukkit.Location)" class="member-name-link">getHighestBlockYAt</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="Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the highest non-empty (impassable) coordinate at the given
|
|
<a href="Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHighestBlockYAt(org.bukkit.Location,org.bukkit.HeightMap)" class="member-name-link">getHighestBlockYAt</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="HeightMap.html" title="enum class in org.bukkit">HeightMap</a> heightMap)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the highest coordinate corresponding to the <a href="HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a> at the
|
|
given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code>default int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6"><code><a href="#getHighestBlockYAt(org.bukkit.Location,com.destroystokyo.paper.HeightmapType)" class="member-name-link">getHighestBlockYAt</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper">HeightmapType</a> heightmap)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Upstream has added support for this, use <a href="#getHighestBlockYAt(org.bukkit.Location,org.bukkit.HeightMap)"><code>getHighestBlockYAt(Location, HeightMap)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getHumidity(int,int)" class="member-name-link">getHumidity</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">biomes are now 3-dimensional</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHumidity(int,int,int)" class="member-name-link">getHumidity</a><wbr>(int x,
|
|
int y,
|
|
int z)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the humidity for the given block coordinates.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="Material.html" title="enum class in org.bukkit">Material</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getInfiniburn()" class="member-name-link">getInfiniburn</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the collection of materials that burn infinitely in this world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getKeepSpawnInMemory()" class="member-name-link">getKeepSpawnInMemory</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets whether the world's spawn area should be kept loaded into memory
|
|
or not.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLivingEntities()" class="member-name-link">getLivingEntities</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get a list of all living entities in this World</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="Chunk.html" title="interface in org.bukkit">Chunk</a>[]</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLoadedChunks()" class="member-name-link">getLoadedChunks</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets an array of all loaded <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a>s</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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="Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getLocationAtKey(long)" class="member-name-link">getLocationAtKey</a><wbr>(long key)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets the <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> at the given block key</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLogicalHeight()" class="member-name-link">getLogicalHeight</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the maximum height to which chorus fruits and nether portals can
|
|
bring players within this dimension.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getMonsterSpawnLimit()" class="member-name-link">getMonsterSpawnLimit</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNearbyEntities(org.bukkit.Location,double,double,double)" class="member-name-link">getNearbyEntities</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
double x,
|
|
double y,
|
|
double z)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Returns a list of entities within a bounding box centered around a
|
|
Location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNearbyEntities(org.bukkit.Location,double,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyEntities</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Returns a list of entities within a bounding box centered around a
|
|
Location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNearbyEntities(org.bukkit.util.BoundingBox)" class="member-name-link">getNearbyEntities</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="util/BoundingBox.html" title="class in org.bukkit.util">BoundingBox</a> boundingBox)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Returns a list of entities within the given bounding box.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNearbyEntities(org.bukkit.util.BoundingBox,java.util.function.Predicate)" class="member-name-link">getNearbyEntities</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="util/BoundingBox.html" title="class in org.bukkit.util">BoundingBox</a> boundingBox,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Returns a list of entities within the given bounding box.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyEntitiesByType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> clazz,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><T> predicate)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double)" class="member-name-link">getNearbyEntitiesByType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,double)" class="member-name-link">getNearbyEntitiesByType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius, with x and x radius matching (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,double,double)" class="member-name-link">getNearbyEntitiesByType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyEntitiesByType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><T> predicate)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius, with x and x radius matching (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,java.util.function.Predicate)" class="member-name-link">getNearbyEntitiesByType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><T> predicate)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyLivingEntities(org.bukkit.Location,double)" class="member-name-link">getNearbyLivingEntities</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyLivingEntities(org.bukkit.Location,double,double)" class="member-name-link">getNearbyLivingEntities</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyLivingEntities(org.bukkit.Location,double,double,double)" class="member-name-link">getNearbyLivingEntities</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyLivingEntities(org.bukkit.Location,double,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyLivingEntities</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>> predicate)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyLivingEntities(org.bukkit.Location,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyLivingEntities</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>> predicate)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyLivingEntities(org.bukkit.Location,double,java.util.function.Predicate)" class="member-name-link">getNearbyLivingEntities</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>> predicate)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyPlayers(org.bukkit.Location,double)" class="member-name-link">getNearbyPlayers</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyPlayers(org.bukkit.Location,double,double)" class="member-name-link">getNearbyPlayers</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyPlayers(org.bukkit.Location,double,double,double)" class="member-name-link">getNearbyPlayers</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyPlayers(org.bukkit.Location,double,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyPlayers</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>> predicate)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyPlayers(org.bukkit.Location,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyPlayers</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>> predicate)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getNearbyPlayers(org.bukkit.Location,double,java.util.function.Predicate)" class="member-name-link">getNearbyPlayers</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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>> predicate)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getNoTickViewDistance()" class="member-name-link">getNoTickViewDistance</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use <a href="#getViewDistance()"><code>getViewDistance()</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPlayerCount()" class="member-name-link">getPlayerCount</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPlayers()" class="member-name-link">getPlayers</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get a list of all players in this World</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPluginChunkTickets()" class="member-name-link">getPluginChunkTickets</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Returns a map of which plugins have tickets for what chunks.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPluginChunkTickets(int,int)" class="member-name-link">getPluginChunkTickets</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Retrieves a collection specifying which plugins have tickets for the
|
|
specified chunk.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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><<a href="generator/BlockPopulator.html" title="class in org.bukkit.generator">BlockPopulator</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPopulators()" class="member-name-link">getPopulators</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets a list of all applied <a href="generator/BlockPopulator.html" title="class in org.bukkit.generator"><code>BlockPopulator</code></a>s for this World</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPVP()" class="member-name-link">getPVP</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the current PVP setting for this world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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><<a href="Raid.html" title="interface in org.bukkit">Raid</a>></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getRaids()" class="member-name-link">getRaids</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets all raids that are going on over this world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSeaLevel()" class="member-name-link">getSeaLevel</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the sea level for this world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSendViewDistance()" class="member-name-link">getSendViewDistance</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the sending view distance for this world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSimulationDistance()" class="member-name-link">getSimulationDistance</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Returns the simulation distance used for this world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)" class="member-name-link">getSpawnLimit</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="entity/SpawnCategory.html" title="enum class in org.bukkit.entity">SpawnCategory</a> spawnCategory)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the limit for number of <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> entities that can spawn in a chunk in
|
|
this world</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getSpawnLocation()" class="member-name-link">getSpawnLocation</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the default spawn <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> of this world</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>double</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getTemperature(int,int)" class="member-name-link">getTemperature</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">biomes are now 3-dimensional</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTemperature(int,int,int)" class="member-name-link">getTemperature</a><wbr>(int x,
|
|
int y,
|
|
int z)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the temperature for the given block coordinates.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getThunderDuration()" class="member-name-link">getThunderDuration</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get the thundering duration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTickableTileEntityCount()" class="member-name-link">getTickableTileEntityCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getTicksPerAmbientSpawns()" class="member-name-link">getTicksPerAmbientSpawns</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)"><code>getTicksPerSpawns(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getTicksPerAnimalSpawns()" class="member-name-link">getTicksPerAnimalSpawns</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)"><code>getTicksPerSpawns(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getTicksPerMonsterSpawns()" class="member-name-link">getTicksPerMonsterSpawns</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)"><code>getTicksPerSpawns(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)" class="member-name-link">getTicksPerSpawns</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="entity/SpawnCategory.html" title="enum class in org.bukkit.entity">SpawnCategory</a> spawnCategory)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the world's ticks per <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mob spawns value</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getTicksPerWaterAmbientSpawns()" class="member-name-link">getTicksPerWaterAmbientSpawns</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)"><code>getTicksPerSpawns(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>long</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getTicksPerWaterSpawns()" class="member-name-link">getTicksPerWaterSpawns</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)"><code>getTicksPerSpawns(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getTicksPerWaterUndergroundCreatureSpawns()" class="member-name-link">getTicksPerWaterUndergroundCreatureSpawns</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)"><code>getTicksPerSpawns(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTileEntityCount()" class="member-name-link">getTileEntityCount</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>long</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTime()" class="member-name-link">getTime</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the relative in-game time of this world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getViewDistance()" class="member-name-link">getViewDistance</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Returns the view distance used for this world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getWaterAmbientSpawnLimit()" class="member-name-link">getWaterAmbientSpawnLimit</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getWaterAnimalSpawnLimit()" class="member-name-link">getWaterAnimalSpawnLimit</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>int</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getWaterUndergroundCreatureSpawnLimit()" class="member-name-link">getWaterUndergroundCreatureSpawnLimit</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getWeatherDuration()" class="member-name-link">getWeatherDuration</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Get the remaining time in ticks of the current conditions.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="WorldBorder.html" title="interface in org.bukkit">WorldBorder</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getWorldBorder()" class="member-name-link">getWorldBorder</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the world border for this world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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/io/File.html" title="class or interface in java.io" class="external-link">File</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getWorldFolder()" class="member-name-link">getWorldFolder</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets the folder of this world on disk.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="WorldType.html" title="enum class in org.bukkit">WorldType</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#getWorldType()" class="member-name-link">getWorldType</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">world type is only used to select the default word generation
|
|
settings and is not stored in Vanilla worlds, making it impossible for
|
|
this method to always return the correct value.</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#hasBedrockCeiling()" class="member-name-link">hasBedrockCeiling</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#hasCeiling()"><code>hasCeiling()</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#hasCeiling()" class="member-name-link">hasCeiling</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets if this world has a ceiling.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#hasRaids()" class="member-name-link">hasRaids</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets if players with the bad omen effect in this world will trigger a
|
|
raid.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#hasSkylight()" class="member-name-link">hasSkylight</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#hasSkyLight()"><code>hasSkyLight()</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#hasSkyLight()" class="member-name-link">hasSkyLight</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets if this world has skylight access.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#hasStorm()" class="member-name-link">hasStorm</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Returns whether the world has an ongoing storm.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isAutoSave()" class="member-name-link">isAutoSave</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets whether or not the world will automatically save</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isBedWorks()" class="member-name-link">isBedWorks</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets if beds work in this world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isChunkForceLoaded(int,int)" class="member-name-link">isChunkForceLoaded</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets whether the chunk at the specified chunk coordinates is force
|
|
loaded.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isChunkGenerated(int,int)" class="member-name-link">isChunkGenerated</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Checks if the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates is generated</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#isChunkGenerated(long)" class="member-name-link">isChunkGenerated</a><wbr>(long chunkKey)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Checks if a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> has been generated at the specified chunk key,
|
|
which is the X and Z packed into a long.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#isChunkInUse(int,int)" class="member-name-link">isChunkInUse</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">This method was added to facilitate chunk garbage collection.</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isChunkLoaded(int,int)" class="member-name-link">isChunkLoaded</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Checks if the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates is loaded</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isChunkLoaded(org.bukkit.Chunk)" class="member-name-link">isChunkLoaded</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="Chunk.html" title="interface in org.bukkit">Chunk</a> chunk)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Checks if the specified <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> is loaded</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isClearWeather()" class="member-name-link">isClearWeather</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Returns whether the world has clear weather.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isDayTime()" class="member-name-link">isDayTime</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Check if it is currently daytime in this world</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isFixedTime()" class="member-name-link">isFixedTime</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Checks if this world has a fixed time</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isGameRule(java.lang.String)" class="member-name-link">isGameRule</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="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> rule)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Checks if string is a valid game rule</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isHardcore()" class="member-name-link">isHardcore</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets whether the world is hardcore or not.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isNatural()" class="member-name-link">isNatural</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets if this world is natural.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isPiglinSafe()" class="member-name-link">isPiglinSafe</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets if this world allow to piglins to survive without shaking and
|
|
transforming to zombified piglins.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isRespawnAnchorWorks()" class="member-name-link">isRespawnAnchorWorks</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets if this world allows players to charge and use respawn anchors.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isThundering()" class="member-name-link">isThundering</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Returns whether there is thunder.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#isUltrawarm()" class="member-name-link">isUltrawarm</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#isUltraWarm()"><code>isUltraWarm()</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isUltraWarm()" class="member-name-link">isUltraWarm</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Gets if various water/lava mechanics will be triggered in this world, eg:
|
|
<br>
|
|
|
|
Water is evaporated
|
|
Sponges dry
|
|
Lava spreads faster and further
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#loadChunk(int,int)" class="member-name-link">loadChunk</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Loads the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#loadChunk(int,int,boolean)" class="member-name-link">loadChunk</a><wbr>(int x,
|
|
int z,
|
|
boolean generate)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Loads the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#loadChunk(org.bukkit.Chunk)" class="member-name-link">loadChunk</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="Chunk.html" title="interface in org.bukkit">Chunk</a> chunk)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Loads the specified <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#locateNearestBiome(org.bukkit.Location,org.bukkit.block.Biome,int)" class="member-name-link">locateNearestBiome</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="Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<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="block/Biome.html" title="enum class in org.bukkit.block">Biome</a> biome,
|
|
int radius)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Locates the nearest biome based on an origin, biome type, and radius to search.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#locateNearestBiome(org.bukkit.Location,org.bukkit.block.Biome,int,int)" class="member-name-link">locateNearestBiome</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="Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<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="block/Biome.html" title="enum class in org.bukkit.block">Biome</a> biome,
|
|
int radius,
|
|
int step)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Locates the nearest biome based on an origin, biome type, and radius to search
|
|
and step</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Raid.html" title="interface in org.bukkit">Raid</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#locateNearestRaid(org.bukkit.Location,int)" class="member-name-link">locateNearestRaid</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int radius)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Finds the nearest raid close to the given location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#locateNearestStructure(org.bukkit.Location,org.bukkit.StructureType,int,boolean)" class="member-name-link">locateNearestStructure</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="Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<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="StructureType.html" title="class in org.bukkit">StructureType</a> structureType,
|
|
int radius,
|
|
boolean findUnexplored)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Find the closest nearby structure of a given <a href="StructureType.html" title="class in org.bukkit"><code>StructureType</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#playEffect(org.bukkit.Location,org.bukkit.Effect,int)" class="member-name-link">playEffect</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
int data)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Plays an effect to all players within a default radius around a given
|
|
location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#playEffect(org.bukkit.Location,org.bukkit.Effect,int,int)" class="member-name-link">playEffect</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
int data,
|
|
int radius)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Plays an effect to all players within a given radius around a location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#playEffect(org.bukkit.Location,org.bukkit.Effect,T)" class="member-name-link">playEffect</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
T data)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Plays an effect to all players within a default radius around a given
|
|
location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#playEffect(org.bukkit.Location,org.bukkit.Effect,T,int)" class="member-name-link">playEffect</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
T data,
|
|
int radius)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Plays an effect to all players within a given radius around a location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#playSound(org.bukkit.entity.Entity,org.bukkit.Sound,float,float)" class="member-name-link">playSound</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="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> entity,
|
|
<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="Sound.html" title="enum class in org.bukkit">Sound</a> sound,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Play a Sound at the location of the provided entity in the World.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#playSound(org.bukkit.entity.Entity,org.bukkit.Sound,org.bukkit.SoundCategory,float,float)" class="member-name-link">playSound</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="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> entity,
|
|
<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="Sound.html" title="enum class in org.bukkit">Sound</a> sound,
|
|
<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="SoundCategory.html" title="enum class in org.bukkit">SoundCategory</a> category,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Play a Sound at the location of the provided entity in the World.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#playSound(org.bukkit.Location,java.lang.String,float,float)" class="member-name-link">playSound</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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/String.html" title="class or interface in java.lang" class="external-link">String</a> sound,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Play a Sound at the provided Location in the World.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#playSound(org.bukkit.Location,java.lang.String,org.bukkit.SoundCategory,float,float)" class="member-name-link">playSound</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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/String.html" title="class or interface in java.lang" class="external-link">String</a> sound,
|
|
<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="SoundCategory.html" title="enum class in org.bukkit">SoundCategory</a> category,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Play a Sound at the provided Location in the World.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#playSound(org.bukkit.Location,org.bukkit.Sound,float,float)" class="member-name-link">playSound</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="Sound.html" title="enum class in org.bukkit">Sound</a> sound,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Play a Sound at the provided Location in the World.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#playSound(org.bukkit.Location,org.bukkit.Sound,org.bukkit.SoundCategory,float,float)" class="member-name-link">playSound</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="Sound.html" title="enum class in org.bukkit">Sound</a> sound,
|
|
<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="SoundCategory.html" title="enum class in org.bukkit">SoundCategory</a> category,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Play a Sound at the provided Location in the World.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#rayTrace(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode,boolean,double,java.util.function.Predicate)" class="member-name-link">rayTrace</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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<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="FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a> fluidCollisionMode,
|
|
boolean ignorePassableBlocks,
|
|
double raySize,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Performs a ray trace that checks for both block and entity collisions.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#rayTraceBlocks(org.bukkit.Location,org.bukkit.util.Vector,double)" class="member-name-link">rayTraceBlocks</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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Performs a ray trace that checks for block collisions using the blocks'
|
|
precise collision shapes.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#rayTraceBlocks(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode)" class="member-name-link">rayTraceBlocks</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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<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="FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a> fluidCollisionMode)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Performs a ray trace that checks for block collisions using the blocks'
|
|
precise collision shapes.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#rayTraceBlocks(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode,boolean)" class="member-name-link">rayTraceBlocks</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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<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="FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a> fluidCollisionMode,
|
|
boolean ignorePassableBlocks)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Performs a ray trace that checks for block collisions using the blocks'
|
|
precise collision shapes.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double)" class="member-name-link">rayTraceEntities</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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Performs a ray trace that checks for entity collisions.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double,double)" class="member-name-link">rayTraceEntities</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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
double raySize)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Performs a ray trace that checks for entity collisions.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double,double,java.util.function.Predicate)" class="member-name-link">rayTraceEntities</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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
double raySize,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Performs a ray trace that checks for entity collisions.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double,java.util.function.Predicate)" class="member-name-link">rayTraceEntities</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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Performs a ray trace that checks for entity collisions.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#refreshChunk(int,int)" class="member-name-link">refreshChunk</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Resends the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to all clients</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#regenerateChunk(int,int)" class="member-name-link">regenerateChunk</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">regenerating a single chunk is not likely to produce the same
|
|
chunk as before as terrain decoration may be spread across chunks.</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#removePluginChunkTicket(int,int,org.bukkit.plugin.Plugin)" class="member-name-link">removePluginChunkTicket</a><wbr>(int x,
|
|
int z,
|
|
<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> plugin)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Removes the specified plugin's ticket for the specified chunk</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#removePluginChunkTickets(org.bukkit.plugin.Plugin)" class="member-name-link">removePluginChunkTickets</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> plugin)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Removes all plugin tickets for the specified plugin</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#save()" class="member-name-link">save</a>()</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Saves world to disk</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#sendGameEvent(org.bukkit.entity.Entity,org.bukkit.GameEvent,org.bukkit.util.Vector)" class="member-name-link">sendGameEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> sourceEntity,
|
|
<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="GameEvent.html" title="class in org.bukkit">GameEvent</a> gameEvent,
|
|
<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="util/Vector.html" title="class in org.bukkit.util">Vector</a> position)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Posts a specified game event at a location</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setAmbientSpawnLimit(int)" class="member-name-link">setAmbientSpawnLimit</a><wbr>(int limit)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setSpawnLimit(org.bukkit.entity.SpawnCategory,int)"><code>setSpawnLimit(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setAnimalSpawnLimit(int)" class="member-name-link">setAnimalSpawnLimit</a><wbr>(int limit)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setAutoSave(boolean)" class="member-name-link">setAutoSave</a><wbr>(boolean value)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets whether or not the world will automatically save</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setBiome(int,int,org.bukkit.block.Biome)" class="member-name-link">setBiome</a><wbr>(int x,
|
|
int z,
|
|
<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="block/Biome.html" title="enum class in org.bukkit.block">Biome</a> bio)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">biomes are now 3-dimensional</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setChunkForceLoaded(int,int,boolean)" class="member-name-link">setChunkForceLoaded</a><wbr>(int x,
|
|
int z,
|
|
boolean forced)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets whether the chunk at the specified chunk coordinates is force
|
|
loaded.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setClearWeatherDuration(int)" class="member-name-link">setClearWeatherDuration</a><wbr>(int duration)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Set the clear weather duration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setDifficulty(org.bukkit.Difficulty)" class="member-name-link">setDifficulty</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="Difficulty.html" title="enum class in org.bukkit">Difficulty</a> difficulty)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the Difficulty of the world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setFullTime(long)" class="member-name-link">setFullTime</a><wbr>(long time)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the in-game time on the server</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setGameRule(org.bukkit.GameRule,T)" class="member-name-link">setGameRule</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="GameRule.html" title="class in org.bukkit">GameRule</a><T> rule,
|
|
T newValue)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Set the given <a href="GameRule.html" title="class in org.bukkit"><code>GameRule</code></a>'s new value.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setGameRuleValue(java.lang.String,java.lang.String)" class="member-name-link">setGameRuleValue</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="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> rule,
|
|
<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/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#setGameRule(org.bukkit.GameRule,T)"><code>setGameRule(GameRule, Object)</code></a> instead.</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setHardcore(boolean)" class="member-name-link">setHardcore</a><wbr>(boolean hardcore)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets whether the world is hardcore or not.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setKeepSpawnInMemory(boolean)" class="member-name-link">setKeepSpawnInMemory</a><wbr>(boolean keepLoaded)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets whether the world's spawn area should be kept loaded into memory
|
|
or not.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setMonsterSpawnLimit(int)" class="member-name-link">setMonsterSpawnLimit</a><wbr>(int limit)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setSpawnLimit(org.bukkit.entity.SpawnCategory,int)"><code>setSpawnLimit(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setNoTickViewDistance(int)" class="member-name-link">setNoTickViewDistance</a><wbr>(int viewDistance)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use <a href="#setViewDistance(int)"><code>setViewDistance(int)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPVP(boolean)" class="member-name-link">setPVP</a><wbr>(boolean pvp)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the PVP setting for this world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setSendViewDistance(int)" class="member-name-link">setSendViewDistance</a><wbr>(int viewDistance)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the sending view distance for this world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setSimulationDistance(int)" class="member-name-link">setSimulationDistance</a><wbr>(int simulationDistance)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the simulation distance for this world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setSpawnFlags(boolean,boolean)" class="member-name-link">setSpawnFlags</a><wbr>(boolean allowMonsters,
|
|
boolean allowAnimals)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the spawn flags for this.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setSpawnLimit(org.bukkit.entity.SpawnCategory,int)" class="member-name-link">setSpawnLimit</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="entity/SpawnCategory.html" title="enum class in org.bukkit.entity">SpawnCategory</a> spawnCategory,
|
|
int limit)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the limit for number of <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> entities that can spawn in a chunk in
|
|
this world</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setSpawnLocation(int,int,int)" class="member-name-link">setSpawnLocation</a><wbr>(int x,
|
|
int y,
|
|
int z)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the spawn location of the world</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setSpawnLocation(int,int,int,float)" class="member-name-link">setSpawnLocation</a><wbr>(int x,
|
|
int y,
|
|
int z,
|
|
float angle)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the spawn location of the world</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setSpawnLocation(org.bukkit.Location)" class="member-name-link">setSpawnLocation</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="Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the spawn location of the world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setStorm(boolean)" class="member-name-link">setStorm</a><wbr>(boolean hasStorm)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Set whether there is a storm.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setThunderDuration(int)" class="member-name-link">setThunderDuration</a><wbr>(int duration)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Set the thundering duration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setThundering(boolean)" class="member-name-link">setThundering</a><wbr>(boolean thundering)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Set whether it is thundering.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setTicksPerAmbientSpawns(int)" class="member-name-link">setTicksPerAmbientSpawns</a><wbr>(int ticksPerAmbientSpawns)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)"><code>setTicksPerSpawns(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setTicksPerAnimalSpawns(int)" class="member-name-link">setTicksPerAnimalSpawns</a><wbr>(int ticksPerAnimalSpawns)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)"><code>setTicksPerSpawns(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setTicksPerMonsterSpawns(int)" class="member-name-link">setTicksPerMonsterSpawns</a><wbr>(int ticksPerMonsterSpawns)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)"><code>setTicksPerSpawns(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)" class="member-name-link">setTicksPerSpawns</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="entity/SpawnCategory.html" title="enum class in org.bukkit.entity">SpawnCategory</a> spawnCategory,
|
|
int ticksPerCategorySpawn)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the world's ticks per <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mob spawns value</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setTicksPerWaterAmbientSpawns(int)" class="member-name-link">setTicksPerWaterAmbientSpawns</a><wbr>(int ticksPerAmbientSpawns)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)"><code>setTicksPerSpawns(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setTicksPerWaterSpawns(int)" class="member-name-link">setTicksPerWaterSpawns</a><wbr>(int ticksPerWaterSpawns)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)"><code>setTicksPerSpawns(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setTicksPerWaterUndergroundCreatureSpawns(int)" class="member-name-link">setTicksPerWaterUndergroundCreatureSpawns</a><wbr>(int ticksPerWaterUndergroundCreatureSpawns)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)"><code>setTicksPerSpawns(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setTime(long)" class="member-name-link">setTime</a><wbr>(long time)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the relative in-game time on the server.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setViewDistance(int)" class="member-name-link">setViewDistance</a><wbr>(int viewDistance)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Sets the view distance for this world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setWaterAmbientSpawnLimit(int)" class="member-name-link">setWaterAmbientSpawnLimit</a><wbr>(int limit)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setSpawnLimit(org.bukkit.entity.SpawnCategory,int)"><code>setSpawnLimit(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setWaterAnimalSpawnLimit(int)" class="member-name-link">setWaterAnimalSpawnLimit</a><wbr>(int limit)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setSpawnLimit(org.bukkit.entity.SpawnCategory,int)"><code>setSpawnLimit(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#setWaterUndergroundCreatureSpawnLimit(int)" class="member-name-link">setWaterUndergroundCreatureSpawnLimit</a><wbr>(int limit)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setSpawnLimit(org.bukkit.entity.SpawnCategory,int)"><code>setSpawnLimit(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setWeatherDuration(int)" class="member-name-link">setWeatherDuration</a><wbr>(int duration)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Set the remaining time in ticks of the current conditions.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="entity/Arrow.html" title="interface in org.bukkit.entity">Arrow</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnArrow(org.bukkit.Location,org.bukkit.util.Vector,float,float)" class="member-name-link">spawnArrow</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
float speed,
|
|
float spread)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Creates an <a href="entity/Arrow.html" title="interface in org.bukkit.entity"><code>Arrow</code></a> entity at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T extends <a href="entity/AbstractArrow.html" title="interface in org.bukkit.entity">AbstractArrow</a>><br>T</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnArrow(org.bukkit.Location,org.bukkit.util.Vector,float,float,java.lang.Class)" class="member-name-link">spawnArrow</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
float speed,
|
|
float spread,
|
|
<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/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T> clazz)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Creates an arrow entity of the given class at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="entity/FallingBlock.html" title="interface in org.bukkit.entity">FallingBlock</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnFallingBlock(org.bukkit.Location,org.bukkit.block.data.BlockData)" class="member-name-link">spawnFallingBlock</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="block/data/BlockData.html" title="interface in org.bukkit.block.data">BlockData</a> data)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawn a <a href="entity/FallingBlock.html" title="interface in org.bukkit.entity"><code>FallingBlock</code></a> entity at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> of
|
|
the specified <a href="Material.html" title="enum class in org.bukkit"><code>Material</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><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="entity/FallingBlock.html" title="interface in org.bukkit.entity">FallingBlock</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#spawnFallingBlock(org.bukkit.Location,org.bukkit.material.MaterialData)" class="member-name-link">spawnFallingBlock</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="material/MaterialData.html" title="class in org.bukkit.material">MaterialData</a> data)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#spawnFallingBlock(org.bukkit.Location,org.bukkit.block.data.BlockData)"><code>spawnFallingBlock(Location, BlockData)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><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="entity/FallingBlock.html" title="interface in org.bukkit.entity">FallingBlock</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#spawnFallingBlock(org.bukkit.Location,org.bukkit.Material,byte)" class="member-name-link">spawnFallingBlock</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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="Material.html" title="enum class in org.bukkit">Material</a> material,
|
|
byte data)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Magic value</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,double,double,double,int)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double,double)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <T> void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double,double,T)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
T data)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double,double,T,boolean)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
T data,
|
|
boolean force)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double,T)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
T data)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,double,double,double,int,T)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
T data)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double,T)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
T data)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double,T,boolean)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
T data,
|
|
boolean force)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,T)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
T data)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,T)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
T data)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <T> void</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#spawnParticle(org.bukkit.Particle,java.util.List,org.bukkit.entity.Player,double,double,double,int,double,double,double,double,T)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</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><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>> receivers,
|
|
<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="entity/Player.html" title="interface in org.bukkit.entity">Player</a> source,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
T data)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><T> void</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spawnParticle(org.bukkit.Particle,java.util.List,org.bukkit.entity.Player,double,double,double,int,double,double,double,double,T,boolean)" class="member-name-link">spawnParticle</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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</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><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>> receivers,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a> source,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
T data,
|
|
boolean force)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="World.Spigot.html" title="class in org.bukkit">World.Spigot</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#spigot()" class="member-name-link">spigot</a>()</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="entity/LightningStrike.html" title="interface in org.bukkit.entity">LightningStrike</a></code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#strikeLightning(org.bukkit.Location)" class="member-name-link">strikeLightning</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="Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Strikes lightning at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><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="entity/LightningStrike.html" title="interface in org.bukkit.entity">LightningStrike</a></code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#strikeLightningEffect(org.bukkit.Location)" class="member-name-link">strikeLightningEffect</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="Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Strikes lightning at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> without doing damage</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#unloadChunk(int,int)" class="member-name-link">unloadChunk</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Safely unloads and saves the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#unloadChunk(int,int,boolean)" class="member-name-link">unloadChunk</a><wbr>(int x,
|
|
int z,
|
|
boolean save)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Safely unloads and optionally saves the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified
|
|
coordinates.</div>
|
|
</div>
|
|
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#unloadChunk(org.bukkit.Chunk)" class="member-name-link">unloadChunk</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="Chunk.html" title="interface in org.bukkit">Chunk</a> chunk)</code></div>
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Safely unloads and saves the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates</div>
|
|
</div>
|
|
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#unloadChunkRequest(int,int)" class="member-name-link">unloadChunkRequest</a><wbr>(int x,
|
|
int z)</code></div>
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
|
<div class="block">Safely queues the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates for
|
|
unloading.</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-net.kyori.adventure.audience.Audience">Methods inherited from interface net.kyori.adventure.audience.<a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html" title="class or interface in net.kyori.adventure.audience" class="external-link">Audience</a></h3>
|
|
<code><a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#openBook(net.kyori.adventure.inventory.Book.Builder)" title="class or interface in net.kyori.adventure.audience" class="external-link">openBook</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendActionBar(net.kyori.adventure.text.ComponentLike)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendActionBar</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified,net.kyori.adventure.text.Component)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified,net.kyori.adventure.text.ComponentLike)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified,net.kyori.adventure.text.ComponentLike,net.kyori.adventure.audience.MessageType)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identity,net.kyori.adventure.text.Component)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identity,net.kyori.adventure.text.ComponentLike)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identity,net.kyori.adventure.text.ComponentLike,net.kyori.adventure.audience.MessageType)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.text.Component)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.text.ComponentLike)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.text.ComponentLike,net.kyori.adventure.audience.MessageType)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.text.Component,net.kyori.adventure.audience.MessageType)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendPlayerListFooter(net.kyori.adventure.text.ComponentLike)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendPlayerListFooter</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendPlayerListHeader(net.kyori.adventure.text.ComponentLike)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendPlayerListHeader</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendPlayerListHeaderAndFooter(net.kyori.adventure.text.ComponentLike,net.kyori.adventure.text.ComponentLike)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendPlayerListHeaderAndFooter</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#showTitle(net.kyori.adventure.title.Title)" title="class or interface in net.kyori.adventure.audience" class="external-link">showTitle</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#stopSound(net.kyori.adventure.sound.Sound)" title="class or interface in net.kyori.adventure.audience" class="external-link">stopSound</a></code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-net.kyori.adventure.audience.ForwardingAudience">Methods inherited from interface net.kyori.adventure.audience.<a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html" title="class or interface in net.kyori.adventure.audience" class="external-link">ForwardingAudience</a></h3>
|
|
<code><a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#clearTitle()" title="class or interface in net.kyori.adventure.audience" class="external-link">clearTitle</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#filterAudience(java.util.function.Predicate)" title="class or interface in net.kyori.adventure.audience" class="external-link">filterAudience</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#forEachAudience(java.util.function.Consumer)" title="class or interface in net.kyori.adventure.audience" class="external-link">forEachAudience</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#hideBossBar(net.kyori.adventure.bossbar.BossBar)" title="class or interface in net.kyori.adventure.audience" class="external-link">hideBossBar</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#openBook(net.kyori.adventure.inventory.Book)" title="class or interface in net.kyori.adventure.audience" class="external-link">openBook</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#playSound(net.kyori.adventure.sound.Sound)" title="class or interface in net.kyori.adventure.audience" class="external-link">playSound</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#playSound(net.kyori.adventure.sound.Sound,double,double,double)" title="class or interface in net.kyori.adventure.audience" class="external-link">playSound</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#playSound(net.kyori.adventure.sound.Sound,net.kyori.adventure.sound.Sound.Emitter)" title="class or interface in net.kyori.adventure.audience" class="external-link">playSound</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#pointers()" title="class or interface in net.kyori.adventure.audience" class="external-link">pointers</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#resetTitle()" title="class or interface in net.kyori.adventure.audience" class="external-link">resetTitle</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#sendActionBar(net.kyori.adventure.text.Component)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendActionBar</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#sendMessage(net.kyori.adventure.identity.Identified,net.kyori.adventure.text.Component,net.kyori.adventure.audience.MessageType)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#sendMessage(net.kyori.adventure.identity.Identity,net.kyori.adventure.text.Component,net.kyori.adventure.audience.MessageType)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#sendPlayerListFooter(net.kyori.adventure.text.Component)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendPlayerListFooter</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#sendPlayerListHeader(net.kyori.adventure.text.Component)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendPlayerListHeader</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#sendPlayerListHeaderAndFooter(net.kyori.adventure.text.Component,net.kyori.adventure.text.Component)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendPlayerListHeaderAndFooter</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#sendTitlePart(net.kyori.adventure.title.TitlePart,T)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendTitlePart</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#showBossBar(net.kyori.adventure.bossbar.BossBar)" title="class or interface in net.kyori.adventure.audience" class="external-link">showBossBar</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#stopSound(net.kyori.adventure.sound.SoundStop)" title="class or interface in net.kyori.adventure.audience" class="external-link">stopSound</a></code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-org.bukkit.Keyed">Methods inherited from interface org.bukkit.<a href="Keyed.html" title="interface in org.bukkit">Keyed</a></h3>
|
|
<code><a href="Keyed.html#key()">key</a></code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-org.bukkit.metadata.Metadatable">Methods inherited from interface org.bukkit.metadata.<a href="metadata/Metadatable.html" title="interface in org.bukkit.metadata">Metadatable</a></h3>
|
|
<code><a href="metadata/Metadatable.html#getMetadata(java.lang.String)">getMetadata</a>, <a href="metadata/Metadatable.html#hasMetadata(java.lang.String)">hasMetadata</a>, <a href="metadata/Metadatable.html#removeMetadata(java.lang.String,org.bukkit.plugin.Plugin)">removeMetadata</a>, <a href="metadata/Metadatable.html#setMetadata(java.lang.String,org.bukkit.metadata.MetadataValue)">setMetadata</a></code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-org.bukkit.persistence.PersistentDataHolder">Methods inherited from interface org.bukkit.persistence.<a href="persistence/PersistentDataHolder.html" title="interface in org.bukkit.persistence">PersistentDataHolder</a></h3>
|
|
<code><a href="persistence/PersistentDataHolder.html#getPersistentDataContainer()">getPersistentDataContainer</a></code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-org.bukkit.plugin.messaging.PluginMessageRecipient">Methods inherited from interface org.bukkit.plugin.messaging.<a href="plugin/messaging/PluginMessageRecipient.html" title="interface in org.bukkit.plugin.messaging">PluginMessageRecipient</a></h3>
|
|
<code><a href="plugin/messaging/PluginMessageRecipient.html#getListeningPluginChannels()">getListeningPluginChannels</a>, <a href="plugin/messaging/PluginMessageRecipient.html#sendPluginMessage(org.bukkit.plugin.Plugin,java.lang.String,byte%5B%5D)">sendPluginMessage</a></code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-net.kyori.adventure.pointer.Pointered">Methods inherited from interface net.kyori.adventure.pointer.<a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/pointer/Pointered.html" title="class or interface in net.kyori.adventure.pointer" class="external-link">Pointered</a></h3>
|
|
<code><a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/pointer/Pointered.html#get(net.kyori.adventure.pointer.Pointer)" title="class or interface in net.kyori.adventure.pointer" class="external-link">get</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/pointer/Pointered.html#getOrDefault(net.kyori.adventure.pointer.Pointer,T)" title="class or interface in net.kyori.adventure.pointer" class="external-link">getOrDefault</a>, <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/pointer/Pointered.html#getOrDefaultFrom(net.kyori.adventure.pointer.Pointer,java.util.function.Supplier)" title="class or interface in net.kyori.adventure.pointer" class="external-link">getOrDefaultFrom</a></code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-org.bukkit.RegionAccessor">Methods inherited from interface org.bukkit.<a href="RegionAccessor.html" title="interface in org.bukkit">RegionAccessor</a></h3>
|
|
<code><a href="RegionAccessor.html#generateTree(org.bukkit.Location,java.util.Random,org.bukkit.TreeType)">generateTree</a>, <a href="RegionAccessor.html#generateTree(org.bukkit.Location,java.util.Random,org.bukkit.TreeType,java.util.function.Predicate)">generateTree</a>, <a href="RegionAccessor.html#generateTree(org.bukkit.Location,java.util.Random,org.bukkit.TreeType,org.bukkit.util.Consumer)">generateTree</a>, <a href="RegionAccessor.html#getBiome(int,int,int)">getBiome</a>, <a href="RegionAccessor.html#getBiome(org.bukkit.Location)">getBiome</a>, <a href="RegionAccessor.html#getBlockData(int,int,int)">getBlockData</a>, <a href="RegionAccessor.html#getBlockData(org.bukkit.Location)">getBlockData</a>, <a href="RegionAccessor.html#getBlockState(int,int,int)">getBlockState</a>, <a href="RegionAccessor.html#getBlockState(org.bukkit.Location)">getBlockState</a>, <a href="RegionAccessor.html#getComputedBiome(int,int,int)">getComputedBiome</a>, <a href="RegionAccessor.html#getKey()">getKey</a>, <a href="RegionAccessor.html#getMoonPhase()">getMoonPhase</a>, <a href="RegionAccessor.html#getType(int,int,int)">getType</a>, <a href="RegionAccessor.html#getType(org.bukkit.Location)">getType</a>, <a href="RegionAccessor.html#lineOfSightExists(org.bukkit.Location,org.bukkit.Location)">lineOfSightExists</a>, <a href="RegionAccessor.html#setBiome(int,int,int,org.bukkit.block.Biome)">setBiome</a>, <a href="RegionAccessor.html#setBiome(org.bukkit.Location,org.bukkit.block.Biome)">setBiome</a>, <a href="RegionAccessor.html#setBlockData(int,int,int,org.bukkit.block.data.BlockData)">setBlockData</a>, <a href="RegionAccessor.html#setBlockData(org.bukkit.Location,org.bukkit.block.data.BlockData)">setBlockData</a>, <a href="RegionAccessor.html#setType(int,int,int,org.bukkit.Material)">setType</a>, <a href="RegionAccessor.html#setType(org.bukkit.Location,org.bukkit.Material)">setType</a>, <a href="RegionAccessor.html#spawn(org.bukkit.Location,java.lang.Class)">spawn</a>, <a href="RegionAccessor.html#spawn(org.bukkit.Location,java.lang.Class,boolean,org.bukkit.util.Consumer)">spawn</a>, <a href="RegionAccessor.html#spawn(org.bukkit.Location,java.lang.Class,org.bukkit.util.Consumer)">spawn</a>, <a href="RegionAccessor.html#spawn(org.bukkit.Location,java.lang.Class,org.bukkit.util.Consumer,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason)">spawn</a>, <a href="RegionAccessor.html#spawn(org.bukkit.Location,java.lang.Class,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason)">spawn</a>, <a href="RegionAccessor.html#spawn(org.bukkit.Location,java.lang.Class,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason,org.bukkit.util.Consumer)">spawn</a>, <a href="RegionAccessor.html#spawnEntity(org.bukkit.Location,org.bukkit.entity.EntityType)">spawnEntity</a>, <a href="RegionAccessor.html#spawnEntity(org.bukkit.Location,org.bukkit.entity.EntityType,boolean)">spawnEntity</a>, <a href="RegionAccessor.html#spawnEntity(org.bukkit.Location,org.bukkit.entity.EntityType,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason)">spawnEntity</a>, <a href="RegionAccessor.html#spawnEntity(org.bukkit.Location,org.bukkit.entity.EntityType,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason,org.bukkit.util.Consumer)">spawnEntity</a></code></div>
|
|
<div class="inherited-list">
|
|
<h3 id="methods-inherited-from-class-org.bukkit.generator.WorldInfo">Methods inherited from interface org.bukkit.generator.<a href="generator/WorldInfo.html" title="interface in org.bukkit.generator">WorldInfo</a></h3>
|
|
<code><a href="generator/WorldInfo.html#getEnvironment()">getEnvironment</a>, <a href="generator/WorldInfo.html#getMaxHeight()">getMaxHeight</a>, <a href="generator/WorldInfo.html#getMinHeight()">getMinHeight</a>, <a href="generator/WorldInfo.html#getName()">getName</a>, <a href="generator/WorldInfo.html#getSeed()">getSeed</a>, <a href="generator/WorldInfo.html#getUID()">getUID</a>, <a href="generator/WorldInfo.html#vanillaBiomeProvider()">vanillaBiomeProvider</a></code></div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<section class="details">
|
|
<ul class="details-list">
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<li>
|
|
<section class="method-details" id="method-detail">
|
|
<h2>Method Details</h2>
|
|
<ul class="member-list">
|
|
<li>
|
|
<section class="detail" id="getEntityCount()">
|
|
<h3>getEntityCount</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getEntityCount</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The amount of Entities in this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTileEntityCount()">
|
|
<h3>getTileEntityCount</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getTileEntityCount</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The amount of Tile Entities in this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTickableTileEntityCount()">
|
|
<h3>getTickableTileEntityCount</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getTickableTileEntityCount</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The amount of Tickable Tile Entities in this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkCount()">
|
|
<h3>getChunkCount</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getChunkCount</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The amount of Chunks in this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPlayerCount()">
|
|
<h3>getPlayerCount</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getPlayerCount</span>()</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The amount of Players in this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getBlockAt(int,int,int)">
|
|
<h3>getBlockAt</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></span> <span class="element-name">getBlockAt</span><wbr><span class="parameters">(int x,
|
|
int y,
|
|
int z)</span></div>
|
|
<div class="block">Gets the <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a> at the given coordinates</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the block</dd>
|
|
<dd><code>y</code> - Y-coordinate of the block</dd>
|
|
<dd><code>z</code> - Z-coordinate of the block</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Block at the given coordinates</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getBlockAt(org.bukkit.Location)">
|
|
<h3>getBlockAt</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></span> <span class="element-name">getBlockAt</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location)</span></div>
|
|
<div class="block">Gets the <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a> at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Location of the block</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Block at the given location</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getBlockAtKey(long)">
|
|
<h3>getBlockAtKey</h3>
|
|
<div class="member-signature"><span class="annotations"><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/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></span> <span class="element-name">getBlockAtKey</span><wbr><span class="parameters">(long key)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">only encodes y block ranges from -512 to 511 and represents an already changed implementation detail</div>
|
|
</div>
|
|
<div class="block">Gets the <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a> at the given block key</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>key</code> - The block key. See <a href="block/Block.html#getBlockKey()"><code>Block.getBlockKey()</code></a></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Block at the key</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="block/Block.html#getBlockKey(int,int,int)"><code>Block.getBlockKey(int, int, int)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getLocationAtKey(long)">
|
|
<h3>getLocationAtKey</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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="Location.html" title="class in org.bukkit">Location</a></span> <span class="element-name">getLocationAtKey</span><wbr><span class="parameters">(long key)</span></div>
|
|
<div class="block">Gets the <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> at the given block key</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>key</code> - The block key. See <a href="Location.html#toBlockKey()"><code>Location.toBlockKey()</code></a></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Location at the key</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="block/Block.html#getBlockKey(int,int,int)"><code>Block.getBlockKey(int, int, int)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHighestBlockYAt(int,int)">
|
|
<h3>getHighestBlockYAt</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getHighestBlockYAt</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Gets the highest non-empty (impassable) coordinate at the given
|
|
coordinates.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the blocks</dd>
|
|
<dd><code>z</code> - Z-coordinate of the blocks</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Y-coordinate of the highest non-empty block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHighestBlockYAt(org.bukkit.Location)">
|
|
<h3>getHighestBlockYAt</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getHighestBlockYAt</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location)</span></div>
|
|
<div class="block">Gets the highest non-empty (impassable) coordinate at the given
|
|
<a href="Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Location of the blocks</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Y-coordinate of the highest non-empty block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHighestBlockAt(int,int)">
|
|
<h3>getHighestBlockAt</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></span> <span class="element-name">getHighestBlockAt</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Gets the highest non-empty (impassable) block at the given coordinates.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the block</dd>
|
|
<dd><code>z</code> - Z-coordinate of the block</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Highest non-empty block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHighestBlockAt(org.bukkit.Location)">
|
|
<h3>getHighestBlockAt</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></span> <span class="element-name">getHighestBlockAt</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location)</span></div>
|
|
<div class="block">Gets the highest non-empty (impassable) block at the given coordinates.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Coordinates to get the highest block</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Highest non-empty block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHighestBlockYAt(int,int,com.destroystokyo.paper.HeightmapType)">
|
|
<h3>getHighestBlockYAt</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">int</span> <span class="element-name">getHighestBlockYAt</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
<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="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper">HeightmapType</a> heightmap)</span>
|
|
throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Upstream has added support for this, use <a href="#getHighestBlockYAt(int,int,org.bukkit.HeightMap)"><code>getHighestBlockYAt(int, int, HeightMap)</code></a></div>
|
|
</div>
|
|
<div class="block">Returns the highest block's y-coordinate at the specified block coordinates that match the specified heightmap's conditions.
|
|
<p>
|
|
<b>implNote:</b> Implementations are recommended to use an iterative search as a fallback before resorting to
|
|
throwing an <code>UnsupportedOperationException</code>.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - The block's x-coordinate.</dd>
|
|
<dd><code>z</code> - The block's z-coordinate.</dd>
|
|
<dd><code>heightmap</code> - The specified heightmap to use. See <a href="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper"><code>HeightmapType</code></a></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The highest block's y-coordinate at (x, z) that matches the specified heightmap's conditions.</dd>
|
|
<dt>Throws:</dt>
|
|
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></code> - If the heightmap type is not supported.</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper"><code>HeightmapType</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHighestBlockYAt(org.bukkit.Location,com.destroystokyo.paper.HeightmapType)">
|
|
<h3>getHighestBlockYAt</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="modifiers">default</span> <span class="return-type">int</span> <span class="element-name">getHighestBlockYAt</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper">HeightmapType</a> heightmap)</span>
|
|
throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Upstream has added support for this, use <a href="#getHighestBlockYAt(org.bukkit.Location,org.bukkit.HeightMap)"><code>getHighestBlockYAt(Location, HeightMap)</code></a></div>
|
|
</div>
|
|
<div class="block">Returns the highest block's y-coordinate at the specified block coordinates that match the specified heightmap's conditions.
|
|
Note that the y-coordinate of the specified location is ignored.
|
|
<p>
|
|
<b>implNote:</b> Implementations are recommended to use an iterative search as a fallback before resorting to
|
|
throwing an <code>UnsupportedOperationException</code>.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - The specified block coordinates.</dd>
|
|
<dd><code>heightmap</code> - The specified heightmap to use. See <a href="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper"><code>HeightmapType</code></a></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The highest block's y-coordinate at <code>location</code> that matches the specified heightmap's conditions.</dd>
|
|
<dt>Throws:</dt>
|
|
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></code> - If the heightmap type is not supported.</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper"><code>HeightmapType</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHighestBlockAt(int,int,com.destroystokyo.paper.HeightmapType)">
|
|
<h3>getHighestBlockAt</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
<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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></span> <span class="element-name">getHighestBlockAt</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
<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="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper">HeightmapType</a> heightmap)</span>
|
|
throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Upstream has added support for this, use <a href="#getHighestBlockAt(int,int,org.bukkit.HeightMap)"><code>getHighestBlockAt(int, int, HeightMap)</code></a></div>
|
|
</div>
|
|
<div class="block">Returns the highest <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a> at the specified block coordinates that match the specified heightmap's conditions.
|
|
<p>
|
|
<b>implNote:</b> Implementations are recommended to use an iterative search as a fallback before resorting to
|
|
throwing an <code>UnsupportedOperationException</code>.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - The block's x-coordinate.</dd>
|
|
<dd><code>z</code> - The block's z-coordinate.</dd>
|
|
<dd><code>heightmap</code> - The specified heightmap to use. See <a href="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper"><code>HeightmapType</code></a></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The highest <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a> at (x, z) that matches the specified heightmap's conditions.</dd>
|
|
<dt>Throws:</dt>
|
|
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></code> - If the heightmap type is not supported.</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper"><code>HeightmapType</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHighestBlockAt(org.bukkit.Location,com.destroystokyo.paper.HeightmapType)">
|
|
<h3>getHighestBlockAt</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
<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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></span> <span class="element-name">getHighestBlockAt</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper">HeightmapType</a> heightmap)</span>
|
|
throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Upstream has added support for this, use <a href="#getHighestBlockAt(org.bukkit.Location,org.bukkit.HeightMap)"><code>getHighestBlockAt(Location, HeightMap)</code></a></div>
|
|
</div>
|
|
<div class="block">Returns the highest <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a> at the specified block coordinates that match the specified heightmap's conditions.
|
|
Note that the y-coordinate of the specified location is ignored.
|
|
<p>
|
|
<b>implNote:</b> Implementations are recommended to use an iterative search as a fallback before resorting to
|
|
throwing an <code>UnsupportedOperationException</code>.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - The specified block coordinates.</dd>
|
|
<dd><code>heightmap</code> - The specified heightmap to use. See <a href="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper"><code>HeightmapType</code></a></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The highest <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a> at <code>location</code> that matches the specified heightmap's conditions.</dd>
|
|
<dt>Throws:</dt>
|
|
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></code> - If the heightmap type is not supported.</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list">
|
|
<li><a href="../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper"><code>HeightmapType</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHighestBlockYAt(int,int,org.bukkit.HeightMap)">
|
|
<h3>getHighestBlockYAt</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getHighestBlockYAt</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
<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://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="HeightMap.html" title="enum class in org.bukkit">HeightMap</a> heightMap)</span></div>
|
|
<div class="block">Gets the highest coordinate corresponding to the <a href="HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a> at the
|
|
given coordinates.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the blocks</dd>
|
|
<dd><code>z</code> - Z-coordinate of the blocks</dd>
|
|
<dd><code>heightMap</code> - the heightMap that is used to determine the highest
|
|
point</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Y-coordinate of the highest block corresponding to the
|
|
<a href="HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHighestBlockYAt(org.bukkit.Location,org.bukkit.HeightMap)">
|
|
<h3>getHighestBlockYAt</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getHighestBlockYAt</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="HeightMap.html" title="enum class in org.bukkit">HeightMap</a> heightMap)</span></div>
|
|
<div class="block">Gets the highest coordinate corresponding to the <a href="HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a> at the
|
|
given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Location of the blocks</dd>
|
|
<dd><code>heightMap</code> - the heightMap that is used to determine the highest
|
|
point</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Y-coordinate of the highest block corresponding to the
|
|
<a href="HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHighestBlockAt(int,int,org.bukkit.HeightMap)">
|
|
<h3>getHighestBlockAt</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></span> <span class="element-name">getHighestBlockAt</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
<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://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="HeightMap.html" title="enum class in org.bukkit">HeightMap</a> heightMap)</span></div>
|
|
<div class="block">Gets the highest block corresponding to the <a href="HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a> at the
|
|
given coordinates.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the block</dd>
|
|
<dd><code>z</code> - Z-coordinate of the block</dd>
|
|
<dd><code>heightMap</code> - the heightMap that is used to determine the highest
|
|
point</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Highest block corresponding to the <a href="HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHighestBlockAt(org.bukkit.Location,org.bukkit.HeightMap)">
|
|
<h3>getHighestBlockAt</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="block/Block.html" title="interface in org.bukkit.block">Block</a></span> <span class="element-name">getHighestBlockAt</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="HeightMap.html" title="enum class in org.bukkit">HeightMap</a> heightMap)</span></div>
|
|
<div class="block">Gets the highest block corresponding to the <a href="HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a> at the
|
|
given coordinates.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Coordinates to get the highest block</dd>
|
|
<dd><code>heightMap</code> - the heightMap that is used to determine the highest
|
|
point</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Highest block corresponding to the <a href="HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAt(int,int)">
|
|
<h3>getChunkAt</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="Chunk.html" title="interface in org.bukkit">Chunk</a></span> <span class="element-name">getChunkAt</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Gets the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the given coordinates</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Chunk at the given coordinates</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAt(org.bukkit.Location)">
|
|
<h3>getChunkAt</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="Chunk.html" title="interface in org.bukkit">Chunk</a></span> <span class="element-name">getChunkAt</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location)</span></div>
|
|
<div class="block">Gets the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Location of the chunk</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Chunk at the given location</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAt(org.bukkit.block.Block)">
|
|
<h3>getChunkAt</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="Chunk.html" title="interface in org.bukkit">Chunk</a></span> <span class="element-name">getChunkAt</span><wbr><span class="parameters">(<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://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="block/Block.html" title="interface in org.bukkit.block">Block</a> block)</span></div>
|
|
<div class="block">Gets the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> that contains the given <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>block</code> - Block to get the containing chunk from</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The chunk that contains the given block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAt(long)">
|
|
<h3>getChunkAt</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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="Chunk.html" title="interface in org.bukkit">Chunk</a></span> <span class="element-name">getChunkAt</span><wbr><span class="parameters">(long chunkKey)</span></div>
|
|
<div class="block">Gets the chunk at the specified chunk key, which is the X and Z packed into a long.
|
|
|
|
See <a href="Chunk.html#getChunkKey()"><code>Chunk.getChunkKey()</code></a> for easy access to the key, or you may calculate it as:
|
|
long chunkKey = (long) chunkX & 0xffffffffL | ((long) chunkZ & 0xffffffffL) >> 32;</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>chunkKey</code> - The Chunk Key to look up the chunk by</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The chunk at the specified key</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isChunkGenerated(long)">
|
|
<h3>isChunkGenerated</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">isChunkGenerated</span><wbr><span class="parameters">(long chunkKey)</span></div>
|
|
<div class="block">Checks if a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> has been generated at the specified chunk key,
|
|
which is the X and Z packed into a long.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>chunkKey</code> - The Chunk Key to look up the chunk by</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true if the chunk has been generated, otherwise false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isChunkLoaded(org.bukkit.Chunk)">
|
|
<h3>isChunkLoaded</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isChunkLoaded</span><wbr><span class="parameters">(<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://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="Chunk.html" title="interface in org.bukkit">Chunk</a> chunk)</span></div>
|
|
<div class="block">Checks if the specified <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> is loaded</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>chunk</code> - The chunk to check</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true if the chunk is loaded, otherwise false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getLoadedChunks()">
|
|
<h3>getLoadedChunks</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="Chunk.html" title="interface in org.bukkit">Chunk</a>[]</span> <span class="element-name">getLoadedChunks</span>()</div>
|
|
<div class="block">Gets an array of all loaded <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a>s</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>Chunk[] containing all loaded chunks</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="loadChunk(org.bukkit.Chunk)">
|
|
<h3>loadChunk</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">loadChunk</span><wbr><span class="parameters">(<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://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="Chunk.html" title="interface in org.bukkit">Chunk</a> chunk)</span></div>
|
|
<div class="block">Loads the specified <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a>.
|
|
<p>
|
|
<b>This method will keep the specified chunk loaded until one of the
|
|
unload methods is manually called. Callers are advised to instead use
|
|
getChunkAt which will only temporarily load the requested chunk.</b></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>chunk</code> - The chunk to load</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isChunkLoaded(int,int)">
|
|
<h3>isChunkLoaded</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isChunkLoaded</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Checks if the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates is loaded</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true if the chunk is loaded, otherwise false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isChunkGenerated(int,int)">
|
|
<h3>isChunkGenerated</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isChunkGenerated</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Checks if the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates is generated</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true if the chunk is generated, otherwise false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isChunkInUse(int,int)">
|
|
<h3>isChunkInUse</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">boolean</span> <span class="element-name">isChunkInUse</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">This method was added to facilitate chunk garbage collection.
|
|
As of the current Minecraft version chunks are now strictly managed and
|
|
will not be loaded for more than 1 tick unless they are in use.</div>
|
|
</div>
|
|
<div class="block">Checks if the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates is loaded and
|
|
in use by one or more players</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true if the chunk is loaded and in use by one or more players,
|
|
otherwise false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="loadChunk(int,int)">
|
|
<h3>loadChunk</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">loadChunk</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Loads the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates.
|
|
<p>
|
|
<b>This method will keep the specified chunk loaded until one of the
|
|
unload methods is manually called. Callers are advised to instead use
|
|
getChunkAt which will only temporarily load the requested chunk.</b>
|
|
<p>
|
|
If the chunk does not exist, it will be generated.
|
|
<p>
|
|
This method is analogous to <a href="#loadChunk(int,int,boolean)"><code>loadChunk(int, int, boolean)</code></a> where
|
|
generate is true.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="loadChunk(int,int,boolean)">
|
|
<h3>loadChunk</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">loadChunk</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
boolean generate)</span></div>
|
|
<div class="block">Loads the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates.
|
|
<p>
|
|
<b>This method will keep the specified chunk loaded until one of the
|
|
unload methods is manually called. Callers are advised to instead use
|
|
getChunkAt which will only temporarily load the requested chunk.</b></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dd><code>generate</code> - Whether or not to generate a chunk if it doesn't
|
|
already exist</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true if the chunk has loaded successfully, otherwise false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="unloadChunk(org.bukkit.Chunk)">
|
|
<h3>unloadChunk</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">unloadChunk</span><wbr><span class="parameters">(<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://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="Chunk.html" title="interface in org.bukkit">Chunk</a> chunk)</span></div>
|
|
<div class="block">Safely unloads and saves the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates
|
|
<p>
|
|
This method is analogous to <a href="#unloadChunk(int,int,boolean)"><code>unloadChunk(int, int, boolean)</code></a>
|
|
where save is true.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>chunk</code> - the chunk to unload</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true if the chunk has unloaded successfully, otherwise false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="unloadChunk(int,int)">
|
|
<h3>unloadChunk</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">unloadChunk</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Safely unloads and saves the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates
|
|
<p>
|
|
This method is analogous to <a href="#unloadChunk(int,int,boolean)"><code>unloadChunk(int, int, boolean)</code></a>
|
|
where save is true.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true if the chunk has unloaded successfully, otherwise false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="unloadChunk(int,int,boolean)">
|
|
<h3>unloadChunk</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">unloadChunk</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
boolean save)</span></div>
|
|
<div class="block">Safely unloads and optionally saves the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified
|
|
coordinates.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dd><code>save</code> - Whether or not to save the chunk</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true if the chunk has unloaded successfully, otherwise false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="unloadChunkRequest(int,int)">
|
|
<h3>unloadChunkRequest</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">unloadChunkRequest</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Safely queues the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates for
|
|
unloading.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true is the queue attempt was successful, otherwise false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="regenerateChunk(int,int)">
|
|
<h3>regenerateChunk</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">boolean</span> <span class="element-name">regenerateChunk</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">regenerating a single chunk is not likely to produce the same
|
|
chunk as before as terrain decoration may be spread across chunks. It may
|
|
or may not change blocks in the adjacent chunks as well.</div>
|
|
</div>
|
|
<div class="block">Regenerates the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the specified coordinates</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the chunk was actually regenerated</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="refreshChunk(int,int)">
|
|
<h3>refreshChunk</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">refreshChunk</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Resends the <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to all clients</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Whether the chunk was actually refreshed</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isChunkForceLoaded(int,int)">
|
|
<h3>isChunkForceLoaded</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isChunkForceLoaded</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Gets whether the chunk at the specified chunk coordinates is force
|
|
loaded.
|
|
<p>
|
|
A force loaded chunk will not be unloaded due to lack of player activity.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>force load status</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setChunkForceLoaded(int,int,boolean)">
|
|
<h3>setChunkForceLoaded</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setChunkForceLoaded</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
boolean forced)</span></div>
|
|
<div class="block">Sets whether the chunk at the specified chunk coordinates is force
|
|
loaded.
|
|
<p>
|
|
A force loaded chunk will not be unloaded due to lack of player activity.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dd><code>forced</code> - force load status</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getForceLoadedChunks()">
|
|
<h3>getForceLoadedChunks</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getForceLoadedChunks</span>()</div>
|
|
<div class="block">Returns all force loaded chunks in this world.
|
|
<p>
|
|
A force loaded chunk will not be unloaded due to lack of player activity.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>unmodifiable collection of force loaded chunks</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="addPluginChunkTicket(int,int,org.bukkit.plugin.Plugin)">
|
|
<h3>addPluginChunkTicket</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">addPluginChunkTicket</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
<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://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> plugin)</span></div>
|
|
<div class="block">Adds a plugin ticket for the specified chunk, loading the chunk if it is
|
|
not already loaded.
|
|
<p>
|
|
A plugin ticket will prevent a chunk from unloading until it is
|
|
explicitly removed. A plugin instance may only have one ticket per chunk,
|
|
but each chunk can have multiple plugin tickets.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dd><code>plugin</code> - Plugin which owns the ticket</dd>
|
|
<dt>Returns:</dt>
|
|
<dd><code>true</code> if a plugin ticket was added, <code>false</code> if the
|
|
ticket already exists for the plugin</dd>
|
|
<dt>Throws:</dt>
|
|
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - If the specified plugin is not enabled</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#removePluginChunkTicket(int,int,org.bukkit.plugin.Plugin)"><code>removePluginChunkTicket(int, int, Plugin)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="removePluginChunkTicket(int,int,org.bukkit.plugin.Plugin)">
|
|
<h3>removePluginChunkTicket</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">removePluginChunkTicket</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
<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://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> plugin)</span></div>
|
|
<div class="block">Removes the specified plugin's ticket for the specified chunk
|
|
<p>
|
|
A plugin ticket will prevent a chunk from unloading until it is
|
|
explicitly removed. A plugin instance may only have one ticket per chunk,
|
|
but each chunk can have multiple plugin tickets.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dd><code>plugin</code> - Plugin which owns the ticket</dd>
|
|
<dt>Returns:</dt>
|
|
<dd><code>true</code> if the plugin ticket was removed, <code>false</code> if
|
|
there is no plugin ticket for the chunk</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#addPluginChunkTicket(int,int,org.bukkit.plugin.Plugin)"><code>addPluginChunkTicket(int, int, Plugin)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="removePluginChunkTickets(org.bukkit.plugin.Plugin)">
|
|
<h3>removePluginChunkTickets</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">removePluginChunkTickets</span><wbr><span class="parameters">(<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://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> plugin)</span></div>
|
|
<div class="block">Removes all plugin tickets for the specified plugin
|
|
<p>
|
|
A plugin ticket will prevent a chunk from unloading until it is
|
|
explicitly removed. A plugin instance may only have one ticket per chunk,
|
|
but each chunk can have multiple plugin tickets.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>plugin</code> - Specified plugin</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#addPluginChunkTicket(int,int,org.bukkit.plugin.Plugin)"><code>addPluginChunkTicket(int, int, Plugin)</code></a></li>
|
|
<li><a href="#removePluginChunkTicket(int,int,org.bukkit.plugin.Plugin)"><code>removePluginChunkTicket(int, int, Plugin)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPluginChunkTickets(int,int)">
|
|
<h3>getPluginChunkTickets</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>></span> <span class="element-name">getPluginChunkTickets</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Retrieves a collection specifying which plugins have tickets for the
|
|
specified chunk. This collection is not updated when plugin tickets are
|
|
added or removed to the chunk.
|
|
<p>
|
|
A plugin ticket will prevent a chunk from unloading until it is
|
|
explicitly removed. A plugin instance may only have one ticket per chunk,
|
|
but each chunk can have multiple plugin tickets.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X-coordinate of the chunk</dd>
|
|
<dd><code>z</code> - Z-coordinate of the chunk</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>unmodifiable collection containing which plugins have tickets for
|
|
the chunk</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#addPluginChunkTicket(int,int,org.bukkit.plugin.Plugin)"><code>addPluginChunkTicket(int, int, Plugin)</code></a></li>
|
|
<li><a href="#removePluginChunkTicket(int,int,org.bukkit.plugin.Plugin)"><code>removePluginChunkTicket(int, int, Plugin)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPluginChunkTickets()">
|
|
<h3>getPluginChunkTickets</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>>></span> <span class="element-name">getPluginChunkTickets</span>()</div>
|
|
<div class="block">Returns a map of which plugins have tickets for what chunks. The returned
|
|
map is not updated when plugin tickets are added or removed to chunks. If
|
|
a plugin has no tickets, it will be absent from the map.
|
|
<p>
|
|
A plugin ticket will prevent a chunk from unloading until it is
|
|
explicitly removed. A plugin instance may only have one ticket per chunk,
|
|
but each chunk can have multiple plugin tickets.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>unmodifiable map containing which plugins have tickets for what
|
|
chunks</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#addPluginChunkTicket(int,int,org.bukkit.plugin.Plugin)"><code>addPluginChunkTicket(int, int, Plugin)</code></a></li>
|
|
<li><a href="#removePluginChunkTicket(int,int,org.bukkit.plugin.Plugin)"><code>removePluginChunkTicket(int, int, Plugin)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="dropItem(org.bukkit.Location,org.bukkit.inventory.ItemStack)">
|
|
<h3>dropItem</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="entity/Item.html" title="interface in org.bukkit.entity">Item</a></span> <span class="element-name">dropItem</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item)</span></div>
|
|
<div class="block">Drops an item at the specified <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Location to drop the item</dd>
|
|
<dd><code>item</code> - ItemStack to drop</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>ItemDrop entity created as a result of this method</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="dropItem(org.bukkit.Location,org.bukkit.inventory.ItemStack,org.bukkit.util.Consumer)">
|
|
<h3>dropItem</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="entity/Item.html" title="interface in org.bukkit.entity">Item</a></span> <span class="element-name">dropItem</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/Consumer.html" title="interface in org.bukkit.util">Consumer</a><<a href="entity/Item.html" title="interface in org.bukkit.entity">Item</a>> function)</span></div>
|
|
<div class="block">Drops an item at the specified <a href="Location.html" title="class in org.bukkit"><code>Location</code></a>
|
|
Note that functions will run before the entity is spawned</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Location to drop the item</dd>
|
|
<dd><code>item</code> - ItemStack to drop</dd>
|
|
<dd><code>function</code> - the function to be run before the entity is spawned.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>ItemDrop entity created as a result of this method</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="dropItemNaturally(org.bukkit.Location,org.bukkit.inventory.ItemStack)">
|
|
<h3>dropItemNaturally</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="entity/Item.html" title="interface in org.bukkit.entity">Item</a></span> <span class="element-name">dropItemNaturally</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item)</span></div>
|
|
<div class="block">Drops an item at the specified <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> with a random offset</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Location to drop the item</dd>
|
|
<dd><code>item</code> - ItemStack to drop</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>ItemDrop entity created as a result of this method</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="dropItemNaturally(org.bukkit.Location,org.bukkit.inventory.ItemStack,org.bukkit.util.Consumer)">
|
|
<h3>dropItemNaturally</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="entity/Item.html" title="interface in org.bukkit.entity">Item</a></span> <span class="element-name">dropItemNaturally</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/Consumer.html" title="interface in org.bukkit.util">Consumer</a><<a href="entity/Item.html" title="interface in org.bukkit.entity">Item</a>> function)</span></div>
|
|
<div class="block">Drops an item at the specified <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> with a random offset
|
|
Note that functions will run before the entity is spawned</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Location to drop the item</dd>
|
|
<dd><code>item</code> - ItemStack to drop</dd>
|
|
<dd><code>function</code> - the function to be run before the entity is spawned.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>ItemDrop entity created as a result of this method</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnArrow(org.bukkit.Location,org.bukkit.util.Vector,float,float)">
|
|
<h3>spawnArrow</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="entity/Arrow.html" title="interface in org.bukkit.entity">Arrow</a></span> <span class="element-name">spawnArrow</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
float speed,
|
|
float spread)</span></div>
|
|
<div class="block">Creates an <a href="entity/Arrow.html" title="interface in org.bukkit.entity"><code>Arrow</code></a> entity at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Location to spawn the arrow</dd>
|
|
<dd><code>direction</code> - Direction to shoot the arrow in</dd>
|
|
<dd><code>speed</code> - Speed of the arrow. A recommend speed is 0.6</dd>
|
|
<dd><code>spread</code> - Spread of the arrow. A recommend spread is 12</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Arrow entity spawned as a result of this method</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnArrow(org.bukkit.Location,org.bukkit.util.Vector,float,float,java.lang.Class)">
|
|
<h3>spawnArrow</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="type-parameters"><T extends <a href="entity/AbstractArrow.html" title="interface in org.bukkit.entity">AbstractArrow</a>></span> <span class="return-type">T</span> <span class="element-name">spawnArrow</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
float speed,
|
|
float spread,
|
|
<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://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/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T> clazz)</span></div>
|
|
<div class="block">Creates an arrow entity of the given class at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - type of arrow to spawn</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Location to spawn the arrow</dd>
|
|
<dd><code>direction</code> - Direction to shoot the arrow in</dd>
|
|
<dd><code>speed</code> - Speed of the arrow. A recommend speed is 0.6</dd>
|
|
<dd><code>spread</code> - Spread of the arrow. A recommend spread is 12</dd>
|
|
<dd><code>clazz</code> - the Entity class for the arrow
|
|
<a href="entity/SpectralArrow.html" title="interface in org.bukkit.entity"><code>SpectralArrow</code></a>,<a href="entity/Arrow.html" title="interface in org.bukkit.entity"><code>Arrow</code></a>,<a href="entity/TippedArrow.html" title="interface in org.bukkit.entity"><code>TippedArrow</code></a></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Arrow entity spawned as a result of this method</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="generateTree(org.bukkit.Location,org.bukkit.TreeType)">
|
|
<h3>generateTree</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">generateTree</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="TreeType.html" title="enum class in org.bukkit">TreeType</a> type)</span></div>
|
|
<div class="block">Creates a tree at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - Location to spawn the tree</dd>
|
|
<dd><code>type</code> - Type of the tree to create</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true if the tree was created successfully, otherwise false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="generateTree(org.bukkit.Location,org.bukkit.TreeType,org.bukkit.BlockChangeDelegate)">
|
|
<h3>generateTree</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">boolean</span> <span class="element-name">generateTree</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<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://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="TreeType.html" title="enum class in org.bukkit">TreeType</a> type,
|
|
<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://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="BlockChangeDelegate.html" title="interface in org.bukkit">BlockChangeDelegate</a> delegate)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">this method does not handle tile entities (bee nests)</div>
|
|
</div>
|
|
<div class="block">Creates a tree at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Location to spawn the tree</dd>
|
|
<dd><code>type</code> - Type of the tree to create</dd>
|
|
<dd><code>delegate</code> - A class to call for each block changed as a result of
|
|
this method</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true if the tree was created successfully, otherwise false</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="RegionAccessor.html#generateTree(org.bukkit.Location,java.util.Random,org.bukkit.TreeType,org.bukkit.util.Consumer)"><code>RegionAccessor.generateTree(org.bukkit.Location, java.util.Random, org.bukkit.TreeType, org.bukkit.util.Consumer)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="strikeLightning(org.bukkit.Location)">
|
|
<h3>strikeLightning</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="entity/LightningStrike.html" title="interface in org.bukkit.entity">LightningStrike</a></span> <span class="element-name">strikeLightning</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc)</span></div>
|
|
<div class="block">Strikes lightning at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - The location to strike lightning</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The lightning entity.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="strikeLightningEffect(org.bukkit.Location)">
|
|
<h3>strikeLightningEffect</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="entity/LightningStrike.html" title="interface in org.bukkit.entity">LightningStrike</a></span> <span class="element-name">strikeLightningEffect</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc)</span></div>
|
|
<div class="block">Strikes lightning at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> without doing damage</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - The location to strike lightning</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The lightning entity.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="findLightningRod(org.bukkit.Location)">
|
|
<h3>findLightningRod</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Location.html" title="class in org.bukkit">Location</a></span> <span class="element-name">findLightningRod</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location)</span></div>
|
|
<div class="block">Finds the location of the nearest unobstructed Lightning Rod in a 128-block
|
|
radius around the given location. Returns <code>null</code> if no Lightning Rod is found.
|
|
|
|
<p>Note: To activate a Lightning Rod, the position one block above it must be struck by lightning.</p></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> to search for Lightning Rod around</dd>
|
|
<dt>Returns:</dt>
|
|
<dd><a href="Location.html" title="class in org.bukkit"><code>Location</code></a> of Lightning Rod or <code>null</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="findLightningTarget(org.bukkit.Location)">
|
|
<h3>findLightningTarget</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Location.html" title="class in org.bukkit">Location</a></span> <span class="element-name">findLightningTarget</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location)</span></div>
|
|
<div class="block">Finds a target <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> for lightning to strike.
|
|
<p>It selects from (in the following order):</p>
|
|
<ol>
|
|
<li>the block above the nearest Lightning Rod, found using <a href="#findLightningRod(org.bukkit.Location)"><code>findLightningRod(Location)</code></a></li>
|
|
<li>a random <a href="entity/LivingEntity.html" title="interface in org.bukkit.entity"><code>LivingEntity</code></a> that can see the sky in a 6x6 cuboid
|
|
around input X/Z coordinates. Y ranges from <i>the highest motion-blocking
|
|
block at the input X/Z - 3</i> to <i>the height limit + 3</i></li>
|
|
</ol>
|
|
<p>Returns <code>null</code> if no target is found.</p></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> to search for target around</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>lightning target or <code>null</code></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getEntities()">
|
|
<h3>getEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="element-name">getEntities</span>()</div>
|
|
<div class="block">Get a list of all entities in this World</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="RegionAccessor.html#getEntities()">getEntities</a></code> in interface <code><a href="RegionAccessor.html" title="interface in org.bukkit">RegionAccessor</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>A List of all Entities currently residing in this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getLivingEntities()">
|
|
<h3>getLivingEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></span> <span class="element-name">getLivingEntities</span>()</div>
|
|
<div class="block">Get a list of all living entities in this World</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="RegionAccessor.html#getLivingEntities()">getLivingEntities</a></code> in interface <code><a href="RegionAccessor.html" title="interface in org.bukkit">RegionAccessor</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>A List of all LivingEntities currently residing in this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getEntitiesByClass(java.lang.Class...)">
|
|
<h3>getEntitiesByClass</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
<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>
|
|
</span><span class="type-parameters"><T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></span> <span class="element-name">getEntitiesByClass</span><wbr><span class="parameters">(<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://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/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T>... classes)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span></div>
|
|
<div class="block">Get a collection of all entities in this World matching the given
|
|
class/interface</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - an entity subclass</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>classes</code> - The classes representing the types of entity to match</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>A List of all Entities currently residing in this world that
|
|
match the given class/interface</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getEntitiesByClass(java.lang.Class)">
|
|
<h3>getEntitiesByClass</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="type-parameters"><T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></span> <span class="element-name">getEntitiesByClass</span><wbr><span class="parameters">(<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://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/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T> cls)</span></div>
|
|
<div class="block">Get a collection of all entities in this World matching the given
|
|
class/interface</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="RegionAccessor.html#getEntitiesByClass(java.lang.Class)">getEntitiesByClass</a></code> in interface <code><a href="RegionAccessor.html" title="interface in org.bukkit">RegionAccessor</a></code></dd>
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - an entity subclass</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>cls</code> - The class representing the type of entity to match</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>A List of all Entities currently residing in this world that
|
|
match the given class/interface</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getEntitiesByClasses(java.lang.Class...)">
|
|
<h3>getEntitiesByClasses</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="element-name">getEntitiesByClasses</span><wbr><span class="parameters">(<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://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/Class.html" title="class or interface in java.lang" class="external-link">Class</a><?>... classes)</span></div>
|
|
<div class="block">Get a collection of all entities in this World matching any of the
|
|
given classes/interfaces</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="RegionAccessor.html#getEntitiesByClasses(java.lang.Class...)">getEntitiesByClasses</a></code> in interface <code><a href="RegionAccessor.html" title="interface in org.bukkit">RegionAccessor</a></code></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>classes</code> - The classes representing the types of entity to match</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>A List of all Entities currently residing in this world that
|
|
match one or more of the given classes/interfaces</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyLivingEntities(org.bukkit.Location,double)">
|
|
<h3>getNearbyLivingEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></span> <span class="element-name">getNearbyLivingEntities</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius)</span></div>
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>radius</code> - Radius</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyLivingEntities(org.bukkit.Location,double,double)">
|
|
<h3>getNearbyLivingEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></span> <span class="element-name">getNearbyLivingEntities</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius)</span></div>
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>xzRadius</code> - X/Z Radius</dd>
|
|
<dd><code>yRadius</code> - Y Radius</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyLivingEntities(org.bukkit.Location,double,double,double)">
|
|
<h3>getNearbyLivingEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></span> <span class="element-name">getNearbyLivingEntities</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius)</span></div>
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>xRadius</code> - X Radius</dd>
|
|
<dd><code>yRadius</code> - Y Radius</dd>
|
|
<dd><code>zRadius</code> - Z radius</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyLivingEntities(org.bukkit.Location,double,java.util.function.Predicate)">
|
|
<h3>getNearbyLivingEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></span> <span class="element-name">getNearbyLivingEntities</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>> predicate)</span></div>
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>radius</code> - X Radius</dd>
|
|
<dd><code>predicate</code> - a predicate used to filter results</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of living entities near location. This will always be a non-null collection</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyLivingEntities(org.bukkit.Location,double,double,java.util.function.Predicate)">
|
|
<h3>getNearbyLivingEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></span> <span class="element-name">getNearbyLivingEntities</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>> predicate)</span></div>
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>xzRadius</code> - X/Z Radius</dd>
|
|
<dd><code>yRadius</code> - Y Radius</dd>
|
|
<dd><code>predicate</code> - a predicate used to filter results</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of living entities near location. This will always be a non-null collection</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyLivingEntities(org.bukkit.Location,double,double,double,java.util.function.Predicate)">
|
|
<h3>getNearbyLivingEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></span> <span class="element-name">getNearbyLivingEntities</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>> predicate)</span></div>
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>xRadius</code> - X Radius</dd>
|
|
<dd><code>yRadius</code> - Y Radius</dd>
|
|
<dd><code>zRadius</code> - Z radius</dd>
|
|
<dd><code>predicate</code> - a predicate used to filter results</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of living entities near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyPlayers(org.bukkit.Location,double)">
|
|
<h3>getNearbyPlayers</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></span> <span class="element-name">getNearbyPlayers</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius)</span></div>
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>radius</code> - X/Y/Z Radius</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of living entities near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyPlayers(org.bukkit.Location,double,double)">
|
|
<h3>getNearbyPlayers</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></span> <span class="element-name">getNearbyPlayers</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius)</span></div>
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>xzRadius</code> - X/Z Radius</dd>
|
|
<dd><code>yRadius</code> - Y Radius</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of living entities near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyPlayers(org.bukkit.Location,double,double,double)">
|
|
<h3>getNearbyPlayers</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></span> <span class="element-name">getNearbyPlayers</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius)</span></div>
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>xRadius</code> - X Radius</dd>
|
|
<dd><code>yRadius</code> - Y Radius</dd>
|
|
<dd><code>zRadius</code> - Z Radius</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of players near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyPlayers(org.bukkit.Location,double,java.util.function.Predicate)">
|
|
<h3>getNearbyPlayers</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></span> <span class="element-name">getNearbyPlayers</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>> predicate)</span></div>
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>radius</code> - X/Y/Z Radius</dd>
|
|
<dd><code>predicate</code> - a predicate used to filter results</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of players near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyPlayers(org.bukkit.Location,double,double,java.util.function.Predicate)">
|
|
<h3>getNearbyPlayers</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></span> <span class="element-name">getNearbyPlayers</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>> predicate)</span></div>
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>xzRadius</code> - X/Z Radius</dd>
|
|
<dd><code>yRadius</code> - Y Radius</dd>
|
|
<dd><code>predicate</code> - a predicate used to filter results</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of players near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyPlayers(org.bukkit.Location,double,double,double,java.util.function.Predicate)">
|
|
<h3>getNearbyPlayers</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></span> <span class="element-name">getNearbyPlayers</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>> predicate)</span></div>
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>xRadius</code> - X Radius</dd>
|
|
<dd><code>yRadius</code> - Y Radius</dd>
|
|
<dd><code>zRadius</code> - Z Radius</dd>
|
|
<dd><code>predicate</code> - a predicate used to filter results</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of players near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double)">
|
|
<h3>getNearbyEntitiesByType</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="type-parameters"><T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></span> <span class="element-name">getNearbyEntitiesByType</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius)</span></div>
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - the entity type</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>clazz</code> - Type to filter by</dd>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>radius</code> - X/Y/Z radius to search within</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,double)">
|
|
<h3>getNearbyEntitiesByType</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="type-parameters"><T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></span> <span class="element-name">getNearbyEntitiesByType</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius)</span></div>
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius, with x and x radius matching (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - the entity type</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>clazz</code> - Type to filter by</dd>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>xzRadius</code> - X/Z radius to search within</dd>
|
|
<dd><code>yRadius</code> - Y radius to search within</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,double,double)">
|
|
<h3>getNearbyEntitiesByType</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="type-parameters"><T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></span> <span class="element-name">getNearbyEntitiesByType</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius)</span></div>
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - the entity type</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>clazz</code> - Type to filter by</dd>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>xRadius</code> - X Radius</dd>
|
|
<dd><code>yRadius</code> - Y Radius</dd>
|
|
<dd><code>zRadius</code> - Z Radius</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,java.util.function.Predicate)">
|
|
<h3>getNearbyEntitiesByType</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="type-parameters"><T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></span> <span class="element-name">getNearbyEntitiesByType</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><T> predicate)</span></div>
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - the entity type</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>clazz</code> - Type to filter by</dd>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>radius</code> - X/Y/Z radius to search within</dd>
|
|
<dd><code>predicate</code> - a predicate used to filter results</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,double,java.util.function.Predicate)">
|
|
<h3>getNearbyEntitiesByType</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="type-parameters"><T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></span> <span class="element-name">getNearbyEntitiesByType</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><T> predicate)</span></div>
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius, with x and x radius matching (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - the entity type</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>clazz</code> - Type to filter by</dd>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>xzRadius</code> - X/Z radius to search within</dd>
|
|
<dd><code>yRadius</code> - Y radius to search within</dd>
|
|
<dd><code>predicate</code> - a predicate used to filter results</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,double,double,java.util.function.Predicate)">
|
|
<h3>getNearbyEntitiesByType</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="type-parameters"><T extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></span> <span class="element-name">getNearbyEntitiesByType</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> clazz,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><T> predicate)</span></div>
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius (bounding box)</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - the entity type</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>clazz</code> - Type to filter by</dd>
|
|
<dd><code>loc</code> - Center location</dd>
|
|
<dd><code>xRadius</code> - X Radius</dd>
|
|
<dd><code>yRadius</code> - Y Radius</dd>
|
|
<dd><code>zRadius</code> - Z Radius</dd>
|
|
<dd><code>predicate</code> - a predicate used to filter results</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities near location. This will always be a non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(int,int,org.bukkit.World.ChunkLoadCallback)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="modifiers">default</span> <span class="return-type">void</span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
<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://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="World.ChunkLoadCallback.html" title="interface in org.bukkit">World.ChunkLoadCallback</a> cb)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use either the Future or the Consumer based methods</div>
|
|
</div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The <a href="World.ChunkLoadCallback.html" title="interface in org.bukkit"><code>World.ChunkLoadCallback</code></a> will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - Chunk X-coordinate of the chunk - (world coordinate / 16)</dd>
|
|
<dd><code>z</code> - Chunk Z-coordinate of the chunk - (world coordinate / 16)</dd>
|
|
<dd><code>cb</code> - Callback to receive the chunk when it is loaded.
|
|
will be executed synchronously</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(org.bukkit.Location,org.bukkit.World.ChunkLoadCallback)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="modifiers">default</span> <span class="return-type">void</span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<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://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="World.ChunkLoadCallback.html" title="interface in org.bukkit">World.ChunkLoadCallback</a> cb)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use either the Future or the Consumer based methods</div>
|
|
</div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a>
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The <a href="World.ChunkLoadCallback.html" title="interface in org.bukkit"><code>World.ChunkLoadCallback</code></a> will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Location of the chunk</dd>
|
|
<dd><code>cb</code> - Callback to receive the chunk when it is loaded.
|
|
will be executed synchronously</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(org.bukkit.block.Block,org.bukkit.World.ChunkLoadCallback)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="modifiers">default</span> <span class="return-type">void</span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(<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://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="block/Block.html" title="interface in org.bukkit.block">Block</a> block,
|
|
<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://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="World.ChunkLoadCallback.html" title="interface in org.bukkit">World.ChunkLoadCallback</a> cb)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use either the Future or the Consumer based methods</div>
|
|
</div>
|
|
<div class="block">Requests <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded that contains the given <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a>
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The <a href="World.ChunkLoadCallback.html" title="interface in org.bukkit"><code>World.ChunkLoadCallback</code></a> will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>block</code> - Block to get the containing chunk from</dd>
|
|
<dd><code>cb</code> - Callback to receive the chunk when it is loaded.
|
|
will be executed synchronously</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(int,int,java.util.function.Consumer)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="return-type">void</span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
<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><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The <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"><code>Consumer</code></a> will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - Chunk X-coordinate of the chunk - (world coordinate / 16)</dd>
|
|
<dd><code>z</code> - Chunk Z-coordinate of the chunk - (world coordinate / 16)</dd>
|
|
<dd><code>cb</code> - Callback to receive the chunk when it is loaded.
|
|
will be executed synchronously</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(int,int,boolean,java.util.function.Consumer)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="return-type">void</span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
boolean gen,
|
|
<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><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The <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"><code>Consumer</code></a> will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - Chunk X-coordinate of the chunk - (world coordinate / 16)</dd>
|
|
<dd><code>z</code> - Chunk Z-coordinate of the chunk - (world coordinate / 16)</dd>
|
|
<dd><code>gen</code> - Should we generate a chunk if it doesn't exists or not</dd>
|
|
<dd><code>cb</code> - Callback to receive the chunk when it is loaded.
|
|
will be executed synchronously</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(org.bukkit.Location,java.util.function.Consumer)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="return-type">void</span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<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><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a>
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The <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"><code>Consumer</code></a> will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Location of the chunk</dd>
|
|
<dd><code>cb</code> - Callback to receive the chunk when it is loaded.
|
|
will be executed synchronously</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(org.bukkit.Location,boolean,java.util.function.Consumer)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="return-type">void</span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
boolean gen,
|
|
<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><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a>
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The <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"><code>Consumer</code></a> will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Location of the chunk</dd>
|
|
<dd><code>gen</code> - Should the chunk generate</dd>
|
|
<dd><code>cb</code> - Callback to receive the chunk when it is loaded.
|
|
will be executed synchronously</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(org.bukkit.block.Block,java.util.function.Consumer)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="return-type">void</span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(<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://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="block/Block.html" title="interface in org.bukkit.block">Block</a> block,
|
|
<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><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</span></div>
|
|
<div class="block">Requests <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded that contains the given <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a>
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The <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"><code>Consumer</code></a> will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>block</code> - Block to get the containing chunk from</dd>
|
|
<dd><code>cb</code> - Callback to receive the chunk when it is loaded.
|
|
will be executed synchronously</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(org.bukkit.block.Block,boolean,java.util.function.Consumer)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="return-type">void</span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(<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://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="block/Block.html" title="interface in org.bukkit.block">Block</a> block,
|
|
boolean gen,
|
|
<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><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</span></div>
|
|
<div class="block">Requests <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded that contains the given <a href="block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a>
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The <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"><code>Consumer</code></a> will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>block</code> - Block to get the containing chunk from</dd>
|
|
<dd><code>gen</code> - Should the chunk generate</dd>
|
|
<dd><code>cb</code> - Callback to receive the chunk when it is loaded.
|
|
will be executed synchronously</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(org.bukkit.Location)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The future will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Location to load the corresponding chunk from</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Future that will resolve when the chunk is loaded</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(org.bukkit.Location,boolean)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
boolean gen)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The future will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Location to load the corresponding chunk from</dd>
|
|
<dd><code>gen</code> - Should the chunk generate</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Future that will resolve when the chunk is loaded</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(org.bukkit.block.Block)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(<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://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="block/Block.html" title="interface in org.bukkit.block">Block</a> block)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The future will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>block</code> - Block to load the corresponding chunk from</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Future that will resolve when the chunk is loaded</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(org.bukkit.block.Block,boolean)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(<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://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="block/Block.html" title="interface in org.bukkit.block">Block</a> block,
|
|
boolean gen)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The future will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>block</code> - Block to load the corresponding chunk from</dd>
|
|
<dd><code>gen</code> - Should the chunk generate</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Future that will resolve when the chunk is loaded</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(int,int)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The future will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X Coord</dd>
|
|
<dd><code>z</code> - Z Coord</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Future that will resolve when the chunk is loaded</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(int,int,boolean)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
boolean gen)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The future will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - Chunk X-coordinate of the chunk - (world coordinate / 16)</dd>
|
|
<dd><code>z</code> - Chunk Z-coordinate of the chunk - (world coordinate / 16)</dd>
|
|
<dd><code>gen</code> - Should we generate a chunk if it doesn't exists or not</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Future that will resolve when the chunk is loaded</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsyncUrgently(org.bukkit.Location)">
|
|
<h3>getChunkAtAsyncUrgently</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getChunkAtAsyncUrgently</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The future will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Location to load the corresponding chunk from</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Future that will resolve when the chunk is loaded</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsyncUrgently(org.bukkit.Location,boolean)">
|
|
<h3>getChunkAtAsyncUrgently</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getChunkAtAsyncUrgently</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
boolean gen)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The future will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Location to load the corresponding chunk from</dd>
|
|
<dd><code>gen</code> - Should the chunk generate</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Future that will resolve when the chunk is loaded</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsyncUrgently(org.bukkit.block.Block)">
|
|
<h3>getChunkAtAsyncUrgently</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getChunkAtAsyncUrgently</span><wbr><span class="parameters">(<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://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="block/Block.html" title="interface in org.bukkit.block">Block</a> block)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The future will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>block</code> - Block to load the corresponding chunk from</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Future that will resolve when the chunk is loaded</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsyncUrgently(org.bukkit.block.Block,boolean)">
|
|
<h3>getChunkAtAsyncUrgently</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getChunkAtAsyncUrgently</span><wbr><span class="parameters">(<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://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="block/Block.html" title="interface in org.bukkit.block">Block</a> block,
|
|
boolean gen)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The future will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>block</code> - Block to load the corresponding chunk from</dd>
|
|
<dd><code>gen</code> - Should the chunk generate</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Future that will resolve when the chunk is loaded</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsyncUrgently(int,int)">
|
|
<h3>getChunkAtAsyncUrgently</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getChunkAtAsyncUrgently</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="block">Requests a <a href="Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.
|
|
|
|
You should use this method if you need a chunk but do not need it
|
|
immediately, and you wish to let the server control the speed
|
|
of chunk loads, keeping performance in mind.
|
|
|
|
The future will always be executed synchronously
|
|
on the main Server Thread.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X Coord</dd>
|
|
<dd><code>z</code> - Z Coord</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Future that will resolve when the chunk is loaded</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getChunkAtAsync(int,int,boolean,boolean)">
|
|
<h3>getChunkAtAsync</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="Chunk.html" title="interface in org.bukkit">Chunk</a>></span> <span class="element-name">getChunkAtAsync</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
boolean gen,
|
|
boolean urgent)</span></div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPlayers()">
|
|
<h3>getPlayers</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>></span> <span class="element-name">getPlayers</span>()</div>
|
|
<div class="block">Get a list of all players in this World</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>A list of all Players currently residing in this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="audiences()">
|
|
<h3>audiences</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="modifiers">default</span> <span class="return-type"><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/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><? extends <a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html" title="class or interface in net.kyori.adventure.audience" class="external-link">Audience</a>></span> <span class="element-name">audiences</span>()</div>
|
|
<div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#audiences()" title="class or interface in net.kyori.adventure.audience" class="external-link">net.kyori.adventure.audience.ForwardingAudience</a></code></span></div>
|
|
<div class="block">Gets the audiences.</div>
|
|
<dl class="notes">
|
|
<dt>Specified by:</dt>
|
|
<dd><code><a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html#audiences()" title="class or interface in net.kyori.adventure.audience" class="external-link">audiences</a></code> in interface <code><a href="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/ForwardingAudience.html" title="class or interface in net.kyori.adventure.audience" class="external-link">ForwardingAudience</a></code></dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the audiences</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyEntities(org.bukkit.Location,double,double,double)">
|
|
<h3>getNearbyEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="element-name">getNearbyEntities</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
double x,
|
|
double y,
|
|
double z)</span></div>
|
|
<div class="block">Returns a list of entities within a bounding box centered around a
|
|
Location.
|
|
<p>
|
|
This may not consider entities in currently unloaded chunks. Some
|
|
implementations may impose artificial restrictions on the size of the
|
|
search bounding box.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - The center of the bounding box</dd>
|
|
<dd><code>x</code> - 1/2 the size of the box along x axis</dd>
|
|
<dd><code>y</code> - 1/2 the size of the box along y axis</dd>
|
|
<dd><code>z</code> - 1/2 the size of the box along z axis</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities near location. This will always be a
|
|
non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getEntity(java.util.UUID)">
|
|
<h3>getEntity</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a></span> <span class="element-name">getEntity</span><wbr><span class="parameters">(<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/UUID.html" title="class or interface in java.util" class="external-link">UUID</a> uuid)</span></div>
|
|
<div class="block">Gets an entity in this world by its UUID</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>uuid</code> - the UUID of the entity</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the entity with the given UUID, or null if it isn't found</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyEntities(org.bukkit.Location,double,double,double,java.util.function.Predicate)">
|
|
<h3>getNearbyEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="element-name">getNearbyEntities</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</span></div>
|
|
<div class="block">Returns a list of entities within a bounding box centered around a
|
|
Location.
|
|
<p>
|
|
This may not consider entities in currently unloaded chunks. Some
|
|
implementations may impose artificial restrictions on the size of the
|
|
search bounding box.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - The center of the bounding box</dd>
|
|
<dd><code>x</code> - 1/2 the size of the box along x axis</dd>
|
|
<dd><code>y</code> - 1/2 the size of the box along y axis</dd>
|
|
<dd><code>z</code> - 1/2 the size of the box along z axis</dd>
|
|
<dd><code>filter</code> - only entities that fulfill this predicate are considered,
|
|
or <code>null</code> to consider all entities</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities near location. This will always be a
|
|
non-null collection.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyEntities(org.bukkit.util.BoundingBox)">
|
|
<h3>getNearbyEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="element-name">getNearbyEntities</span><wbr><span class="parameters">(<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://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="util/BoundingBox.html" title="class in org.bukkit.util">BoundingBox</a> boundingBox)</span></div>
|
|
<div class="block">Returns a list of entities within the given bounding box.
|
|
<p>
|
|
This may not consider entities in currently unloaded chunks. Some
|
|
implementations may impose artificial restrictions on the size of the
|
|
search bounding box.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>boundingBox</code> - the bounding box</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities within the bounding box, will always
|
|
be a non-null collection</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNearbyEntities(org.bukkit.util.BoundingBox,java.util.function.Predicate)">
|
|
<h3>getNearbyEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></span> <span class="element-name">getNearbyEntities</span><wbr><span class="parameters">(<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://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="util/BoundingBox.html" title="class in org.bukkit.util">BoundingBox</a> boundingBox,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</span></div>
|
|
<div class="block">Returns a list of entities within the given bounding box.
|
|
<p>
|
|
This may not consider entities in currently unloaded chunks. Some
|
|
implementations may impose artificial restrictions on the size of the
|
|
search bounding box.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>boundingBox</code> - the bounding box</dd>
|
|
<dd><code>filter</code> - only entities that fulfill this predicate are considered,
|
|
or <code>null</code> to consider all entities</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the collection of entities within the bounding box, will always
|
|
be a non-null collection</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double)">
|
|
<h3>rayTraceEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></span> <span class="element-name">rayTraceEntities</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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://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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance)</span></div>
|
|
<div class="block">Performs a ray trace that checks for entity collisions.
|
|
<p>
|
|
This may not consider entities in currently unloaded chunks. Some
|
|
implementations may impose artificial restrictions on the maximum
|
|
distance.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>start</code> - the start position</dd>
|
|
<dd><code>direction</code> - the ray direction</dd>
|
|
<dd><code>maxDistance</code> - the maximum distance</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the closest ray trace hit result, or <code>null</code> if there
|
|
is no hit</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double,double,java.util.function.Predicate)"><code>rayTraceEntities(Location, Vector, double, double, Predicate)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double,double)">
|
|
<h3>rayTraceEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></span> <span class="element-name">rayTraceEntities</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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://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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
double raySize)</span></div>
|
|
<div class="block">Performs a ray trace that checks for entity collisions.
|
|
<p>
|
|
This may not consider entities in currently unloaded chunks. Some
|
|
implementations may impose artificial restrictions on the maximum
|
|
distance.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>start</code> - the start position</dd>
|
|
<dd><code>direction</code> - the ray direction</dd>
|
|
<dd><code>maxDistance</code> - the maximum distance</dd>
|
|
<dd><code>raySize</code> - entity bounding boxes will be uniformly expanded (or
|
|
shrinked) by this value before doing collision checks</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the closest ray trace hit result, or <code>null</code> if there
|
|
is no hit</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double,double,java.util.function.Predicate)"><code>rayTraceEntities(Location, Vector, double, double, Predicate)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double,java.util.function.Predicate)">
|
|
<h3>rayTraceEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></span> <span class="element-name">rayTraceEntities</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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://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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</span></div>
|
|
<div class="block">Performs a ray trace that checks for entity collisions.
|
|
<p>
|
|
This may not consider entities in currently unloaded chunks. Some
|
|
implementations may impose artificial restrictions on the maximum
|
|
distance.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>start</code> - the start position</dd>
|
|
<dd><code>direction</code> - the ray direction</dd>
|
|
<dd><code>maxDistance</code> - the maximum distance</dd>
|
|
<dd><code>filter</code> - only entities that fulfill this predicate are considered,
|
|
or <code>null</code> to consider all entities</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the closest ray trace hit result, or <code>null</code> if there
|
|
is no hit</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double,double,java.util.function.Predicate)"><code>rayTraceEntities(Location, Vector, double, double, Predicate)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double,double,java.util.function.Predicate)">
|
|
<h3>rayTraceEntities</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></span> <span class="element-name">rayTraceEntities</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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://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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
double raySize,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</span></div>
|
|
<div class="block">Performs a ray trace that checks for entity collisions.
|
|
<p>
|
|
This may not consider entities in currently unloaded chunks. Some
|
|
implementations may impose artificial restrictions on the maximum
|
|
distance.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>start</code> - the start position</dd>
|
|
<dd><code>direction</code> - the ray direction</dd>
|
|
<dd><code>maxDistance</code> - the maximum distance</dd>
|
|
<dd><code>raySize</code> - entity bounding boxes will be uniformly expanded (or
|
|
shrinked) by this value before doing collision checks</dd>
|
|
<dd><code>filter</code> - only entities that fulfill this predicate are considered,
|
|
or <code>null</code> to consider all entities</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the closest ray trace hit result, or <code>null</code> if there
|
|
is no hit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="rayTraceBlocks(org.bukkit.Location,org.bukkit.util.Vector,double)">
|
|
<h3>rayTraceBlocks</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></span> <span class="element-name">rayTraceBlocks</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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://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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance)</span></div>
|
|
<div class="block">Performs a ray trace that checks for block collisions using the blocks'
|
|
precise collision shapes.
|
|
<p>
|
|
This takes collisions with passable blocks into account, but ignores
|
|
fluids.
|
|
<p>
|
|
This may cause loading of chunks! Some implementations may impose
|
|
artificial restrictions on the maximum distance.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>start</code> - the start location</dd>
|
|
<dd><code>direction</code> - the ray direction</dd>
|
|
<dd><code>maxDistance</code> - the maximum distance</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the ray trace hit result, or <code>null</code> if there is no hit</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#rayTraceBlocks(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode,boolean)"><code>rayTraceBlocks(Location, Vector, double, FluidCollisionMode, boolean)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="rayTraceBlocks(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode)">
|
|
<h3>rayTraceBlocks</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></span> <span class="element-name">rayTraceBlocks</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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://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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<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://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="FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a> fluidCollisionMode)</span></div>
|
|
<div class="block">Performs a ray trace that checks for block collisions using the blocks'
|
|
precise collision shapes.
|
|
<p>
|
|
This takes collisions with passable blocks into account.
|
|
<p>
|
|
This may cause loading of chunks! Some implementations may impose
|
|
artificial restrictions on the maximum distance.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>start</code> - the start location</dd>
|
|
<dd><code>direction</code> - the ray direction</dd>
|
|
<dd><code>maxDistance</code> - the maximum distance</dd>
|
|
<dd><code>fluidCollisionMode</code> - the fluid collision mode</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the ray trace hit result, or <code>null</code> if there is no hit</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#rayTraceBlocks(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode,boolean)"><code>rayTraceBlocks(Location, Vector, double, FluidCollisionMode, boolean)</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="rayTraceBlocks(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode,boolean)">
|
|
<h3>rayTraceBlocks</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></span> <span class="element-name">rayTraceBlocks</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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://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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<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://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="FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a> fluidCollisionMode,
|
|
boolean ignorePassableBlocks)</span></div>
|
|
<div class="block">Performs a ray trace that checks for block collisions using the blocks'
|
|
precise collision shapes.
|
|
<p>
|
|
If collisions with passable blocks are ignored, fluid collisions are
|
|
ignored as well regardless of the fluid collision mode.
|
|
<p>
|
|
Portal blocks are only considered passable if the ray starts within
|
|
them. Apart from that collisions with portal blocks will be considered
|
|
even if collisions with passable blocks are otherwise ignored.
|
|
<p>
|
|
This may cause loading of chunks! Some implementations may impose
|
|
artificial restrictions on the maximum distance.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>start</code> - the start location</dd>
|
|
<dd><code>direction</code> - the ray direction</dd>
|
|
<dd><code>maxDistance</code> - the maximum distance</dd>
|
|
<dd><code>fluidCollisionMode</code> - the fluid collision mode</dd>
|
|
<dd><code>ignorePassableBlocks</code> - whether to ignore passable but collidable
|
|
blocks (ex. tall grass, signs, fluids, ..)</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the ray trace hit result, or <code>null</code> if there is no hit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="rayTrace(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode,boolean,double,java.util.function.Predicate)">
|
|
<h3>rayTrace</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></span> <span class="element-name">rayTrace</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> start,
|
|
<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://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="util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<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://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="FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a> fluidCollisionMode,
|
|
boolean ignorePassableBlocks,
|
|
double raySize,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</span></div>
|
|
<div class="block">Performs a ray trace that checks for both block and entity collisions.
|
|
<p>
|
|
Block collisions use the blocks' precise collision shapes. The
|
|
<code>raySize</code> parameter is only taken into account for entity
|
|
collision checks.
|
|
<p>
|
|
If collisions with passable blocks are ignored, fluid collisions are
|
|
ignored as well regardless of the fluid collision mode.
|
|
<p>
|
|
Portal blocks are only considered passable if the ray starts within them.
|
|
Apart from that collisions with portal blocks will be considered even if
|
|
collisions with passable blocks are otherwise ignored.
|
|
<p>
|
|
This may cause loading of chunks! Some implementations may impose
|
|
artificial restrictions on the maximum distance.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>start</code> - the start location</dd>
|
|
<dd><code>direction</code> - the ray direction</dd>
|
|
<dd><code>maxDistance</code> - the maximum distance</dd>
|
|
<dd><code>fluidCollisionMode</code> - the fluid collision mode</dd>
|
|
<dd><code>ignorePassableBlocks</code> - whether to ignore passable but collidable
|
|
blocks (ex. tall grass, signs, fluids, ..)</dd>
|
|
<dd><code>raySize</code> - entity bounding boxes will be uniformly expanded (or
|
|
shrinked) by this value before doing collision checks</dd>
|
|
<dd><code>filter</code> - only entities that fulfill this predicate are considered,
|
|
or <code>null</code> to consider all entities</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the closest ray trace hit result with either a block or an
|
|
entity, or <code>null</code> if there is no hit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSpawnLocation()">
|
|
<h3>getSpawnLocation</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="Location.html" title="class in org.bukkit">Location</a></span> <span class="element-name">getSpawnLocation</span>()</div>
|
|
<div class="block">Gets the default spawn <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> of this world</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The spawn location of this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSpawnLocation(org.bukkit.Location)">
|
|
<h3>setSpawnLocation</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">setSpawnLocation</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location)</span></div>
|
|
<div class="block">Sets the spawn location of the world.
|
|
<br>
|
|
The location provided must be equal to this world.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - The <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> to set the spawn for this world at.</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>True if it was successfully set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSpawnLocation(int,int,int,float)">
|
|
<h3>setSpawnLocation</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">setSpawnLocation</span><wbr><span class="parameters">(int x,
|
|
int y,
|
|
int z,
|
|
float angle)</span></div>
|
|
<div class="block">Sets the spawn location of the world</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X coordinate</dd>
|
|
<dd><code>y</code> - Y coordinate</dd>
|
|
<dd><code>z</code> - Z coordinate</dd>
|
|
<dd><code>angle</code> - the angle</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>True if it was successfully set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSpawnLocation(int,int,int)">
|
|
<h3>setSpawnLocation</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">setSpawnLocation</span><wbr><span class="parameters">(int x,
|
|
int y,
|
|
int z)</span></div>
|
|
<div class="block">Sets the spawn location of the world</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X coordinate</dd>
|
|
<dd><code>y</code> - Y coordinate</dd>
|
|
<dd><code>z</code> - Z coordinate</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>True if it was successfully set.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTime()">
|
|
<h3>getTime</h3>
|
|
<div class="member-signature"><span class="return-type">long</span> <span class="element-name">getTime</span>()</div>
|
|
<div class="block">Gets the relative in-game time of this world.
|
|
<p>
|
|
The relative time is analogous to hours * 1000</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The current relative time</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#getFullTime()"><code>Returns an absolute time of this world</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setTime(long)">
|
|
<h3>setTime</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setTime</span><wbr><span class="parameters">(long time)</span></div>
|
|
<div class="block">Sets the relative in-game time on the server.
|
|
<p>
|
|
The relative time is analogous to hours * 1000
|
|
<p>
|
|
Note that setting the relative time below the current relative time
|
|
will actually move the clock forward a day. If you require to rewind
|
|
time, please see <a href="#setFullTime(long)"><code>setFullTime(long)</code></a></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>time</code> - The new relative time to set the in-game time to (in
|
|
hours*1000)</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#setFullTime(long)"><code>Sets the absolute time of this world</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getFullTime()">
|
|
<h3>getFullTime</h3>
|
|
<div class="member-signature"><span class="return-type">long</span> <span class="element-name">getFullTime</span>()</div>
|
|
<div class="block">Gets the full in-game time on this world</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The current absolute time</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#getTime()"><code>Returns a relative time of this world</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setFullTime(long)">
|
|
<h3>setFullTime</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setFullTime</span><wbr><span class="parameters">(long time)</span></div>
|
|
<div class="block">Sets the in-game time on the server
|
|
<p>
|
|
Note that this sets the full time of the world, which may cause adverse
|
|
effects such as breaking redstone clocks and any scheduled events</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>time</code> - The new absolute time to set this world to</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#setTime(long)"><code>Sets the relative time of this world</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isDayTime()">
|
|
<h3>isDayTime</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isDayTime</span>()</div>
|
|
<div class="block">Check if it is currently daytime in this world</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>True if it is daytime</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getGameTime()">
|
|
<h3>getGameTime</h3>
|
|
<div class="member-signature"><span class="return-type">long</span> <span class="element-name">getGameTime</span>()</div>
|
|
<div class="block">Gets the full in-game time on this world since the world generation</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The current absolute time since the world generation</dd>
|
|
<dt>See Also:</dt>
|
|
<dd>
|
|
<ul class="see-list-long">
|
|
<li><a href="#getTime()"><code>Returns a relative time of this world</code></a></li>
|
|
<li><a href="#getFullTime()"><code>Returns an absolute time of this world</code></a></li>
|
|
</ul>
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasStorm()">
|
|
<h3>hasStorm</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">hasStorm</span>()</div>
|
|
<div class="block">Returns whether the world has an ongoing storm.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>Whether there is an ongoing storm</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setStorm(boolean)">
|
|
<h3>setStorm</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setStorm</span><wbr><span class="parameters">(boolean hasStorm)</span></div>
|
|
<div class="block">Set whether there is a storm. A duration will be set for the new
|
|
current conditions.
|
|
|
|
This will implicitly call <a href="#setClearWeatherDuration(int)"><code>setClearWeatherDuration(int)</code></a> with 0
|
|
ticks to reset the world's clear weather.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>hasStorm</code> - Whether there is rain and snow</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getWeatherDuration()">
|
|
<h3>getWeatherDuration</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getWeatherDuration</span>()</div>
|
|
<div class="block">Get the remaining time in ticks of the current conditions.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>Time in ticks</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setWeatherDuration(int)">
|
|
<h3>setWeatherDuration</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setWeatherDuration</span><wbr><span class="parameters">(int duration)</span></div>
|
|
<div class="block">Set the remaining time in ticks of the current conditions.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>duration</code> - Time in ticks</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isThundering()">
|
|
<h3>isThundering</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isThundering</span>()</div>
|
|
<div class="block">Returns whether there is thunder.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>Whether there is thunder</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setThundering(boolean)">
|
|
<h3>setThundering</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setThundering</span><wbr><span class="parameters">(boolean thundering)</span></div>
|
|
<div class="block">Set whether it is thundering.
|
|
|
|
This will implicitly call <a href="#setClearWeatherDuration(int)"><code>setClearWeatherDuration(int)</code></a> with 0
|
|
ticks to reset the world's clear weather.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>thundering</code> - Whether it is thundering</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getThunderDuration()">
|
|
<h3>getThunderDuration</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getThunderDuration</span>()</div>
|
|
<div class="block">Get the thundering duration.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>Duration in ticks</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setThunderDuration(int)">
|
|
<h3>setThunderDuration</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setThunderDuration</span><wbr><span class="parameters">(int duration)</span></div>
|
|
<div class="block">Set the thundering duration.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>duration</code> - Duration in ticks</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isClearWeather()">
|
|
<h3>isClearWeather</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isClearWeather</span>()</div>
|
|
<div class="block">Returns whether the world has clear weather.
|
|
|
|
This will be true such that <a href="#isThundering()"><code>isThundering()</code></a> and
|
|
<a href="#hasStorm()"><code>hasStorm()</code></a> are both false.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>true if clear weather</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setClearWeatherDuration(int)">
|
|
<h3>setClearWeatherDuration</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setClearWeatherDuration</span><wbr><span class="parameters">(int duration)</span></div>
|
|
<div class="block">Set the clear weather duration.
|
|
|
|
The clear weather ticks determine whether or not the world will be
|
|
allowed to rain or storm. If clear weather ticks are > 0, the world will
|
|
not naturally do either until the duration has elapsed.
|
|
|
|
This method is equivalent to calling <code>/weather clear</code> with a set
|
|
amount of ticks.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>duration</code> - duration in ticks</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getClearWeatherDuration()">
|
|
<h3>getClearWeatherDuration</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getClearWeatherDuration</span>()</div>
|
|
<div class="block">Get the clear weather duration.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>duration in ticks</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(double,double,double,float)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(double x,
|
|
double y,
|
|
double z,
|
|
float power)</span></div>
|
|
<div class="block">Creates explosion at given coordinates with given power</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X coordinate</dd>
|
|
<dd><code>y</code> - Y coordinate</dd>
|
|
<dd><code>z</code> - Z coordinate</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(double,double,double,float,boolean)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(double x,
|
|
double y,
|
|
double z,
|
|
float power,
|
|
boolean setFire)</span></div>
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X coordinate</dd>
|
|
<dd><code>y</code> - Y coordinate</dd>
|
|
<dd><code>z</code> - Z coordinate</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dd><code>setFire</code> - Whether or not to set blocks on fire</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(double,double,double,float,boolean,boolean)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(double x,
|
|
double y,
|
|
double z,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks)</span></div>
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire or breaking blocks.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X coordinate</dd>
|
|
<dd><code>y</code> - Y coordinate</dd>
|
|
<dd><code>z</code> - Z coordinate</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dd><code>setFire</code> - Whether or not to set blocks on fire</dd>
|
|
<dd><code>breakBlocks</code> - Whether or not to have blocks be destroyed</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(double,double,double,float,boolean,boolean,org.bukkit.entity.Entity)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(double x,
|
|
double y,
|
|
double z,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source)</span></div>
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire or breaking blocks.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X coordinate</dd>
|
|
<dd><code>y</code> - Y coordinate</dd>
|
|
<dd><code>z</code> - Z coordinate</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dd><code>setFire</code> - Whether or not to set blocks on fire</dd>
|
|
<dd><code>breakBlocks</code> - Whether or not to have blocks be destroyed</dd>
|
|
<dd><code>source</code> - the source entity, used for tracking damage</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(org.bukkit.Location,float)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power)</span></div>
|
|
<div class="block">Creates explosion at given coordinates with given power</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Location to blow up</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(org.bukkit.Location,float,boolean)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire)</span></div>
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Location to blow up</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dd><code>setFire</code> - Whether or not to set blocks on fire</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(org.bukkit.entity.Entity,org.bukkit.Location,float,boolean,boolean)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks)</span></div>
|
|
<div class="block">Creates explosion at given location with given power and optionally
|
|
setting blocks on fire, with the specified entity as the source.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>source</code> - The source entity of the explosion</dd>
|
|
<dd><code>loc</code> - Location to blow up</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dd><code>setFire</code> - Whether or not to set blocks on fire</dd>
|
|
<dd><code>breakBlocks</code> - Whether or not to have blocks be destroyed</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(org.bukkit.entity.Entity,org.bukkit.Location,float,boolean)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire)</span></div>
|
|
<div class="block">Creates explosion at given location with given power and optionally
|
|
setting blocks on fire, with the specified entity as the source.
|
|
|
|
Will destroy other blocks</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>source</code> - The source entity of the explosion</dd>
|
|
<dd><code>loc</code> - Location to blow up</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dd><code>setFire</code> - Whether or not to set blocks on fire</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(org.bukkit.entity.Entity,org.bukkit.Location,float)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power)</span></div>
|
|
<div class="block">Creates explosion at given location with given power, with the specified entity as the source.
|
|
Will set blocks on fire and destroy blocks.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>source</code> - The source entity of the explosion</dd>
|
|
<dd><code>loc</code> - Location to blow up</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(org.bukkit.entity.Entity,float,boolean,boolean)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(<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://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="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks)</span></div>
|
|
<div class="block">Creates explosion at given entities location with given power and optionally
|
|
setting blocks on fire, with the specified entity as the source.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>source</code> - The source entity of the explosion</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dd><code>setFire</code> - Whether or not to set blocks on fire</dd>
|
|
<dd><code>breakBlocks</code> - Whether or not to have blocks be destroyed</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(org.bukkit.entity.Entity,float,boolean)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(<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://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="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
float power,
|
|
boolean setFire)</span></div>
|
|
<div class="block">Creates explosion at given entities location with given power and optionally
|
|
setting blocks on fire, with the specified entity as the source.
|
|
|
|
Will destroy blocks.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>source</code> - The source entity of the explosion</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dd><code>setFire</code> - Whether or not to set blocks on fire</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(org.bukkit.entity.Entity,float)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(<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://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="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
float power)</span></div>
|
|
<div class="block">Creates explosion at given entities location with given power and optionally
|
|
setting blocks on fire, with the specified entity as the source.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>source</code> - The source entity of the explosion</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(org.bukkit.Location,float,boolean,boolean)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks)</span></div>
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire or breaking blocks.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Location to blow up</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dd><code>setFire</code> - Whether or not to set blocks on fire</dd>
|
|
<dd><code>breakBlocks</code> - Whether or not to have blocks be destroyed</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="createExplosion(org.bukkit.Location,float,boolean,boolean,org.bukkit.entity.Entity)">
|
|
<h3>createExplosion</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">createExplosion</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source)</span></div>
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire or breaking blocks.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>loc</code> - Location to blow up</dd>
|
|
<dd><code>power</code> - The power of explosion, where 4F is TNT</dd>
|
|
<dd><code>setFire</code> - Whether or not to set blocks on fire</dd>
|
|
<dd><code>breakBlocks</code> - Whether or not to have blocks be destroyed</dd>
|
|
<dd><code>source</code> - the source entity, used for tracking damage</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>false if explosion was canceled, otherwise true</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPVP()">
|
|
<h3>getPVP</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">getPVP</span>()</div>
|
|
<div class="block">Gets the current PVP setting for this world.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>True if PVP is enabled</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setPVP(boolean)">
|
|
<h3>setPVP</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setPVP</span><wbr><span class="parameters">(boolean pvp)</span></div>
|
|
<div class="block">Sets the PVP setting for this world.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>pvp</code> - True/False whether PVP should be Enabled.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getGenerator()">
|
|
<h3>getGenerator</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="generator/ChunkGenerator.html" title="class in org.bukkit.generator">ChunkGenerator</a></span> <span class="element-name">getGenerator</span>()</div>
|
|
<div class="block">Gets the chunk generator for this world</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>ChunkGenerator associated with this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getBiomeProvider()">
|
|
<h3>getBiomeProvider</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="generator/BiomeProvider.html" title="class in org.bukkit.generator">BiomeProvider</a></span> <span class="element-name">getBiomeProvider</span>()</div>
|
|
<div class="block">Gets the biome provider for this world</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>BiomeProvider associated with this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="save()">
|
|
<h3>save</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">save</span>()</div>
|
|
<div class="block">Saves world to disk</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getPopulators()">
|
|
<h3>getPopulators</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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><<a href="generator/BlockPopulator.html" title="class in org.bukkit.generator">BlockPopulator</a>></span> <span class="element-name">getPopulators</span>()</div>
|
|
<div class="block">Gets a list of all applied <a href="generator/BlockPopulator.html" title="class in org.bukkit.generator"><code>BlockPopulator</code></a>s for this World</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>List containing any or none BlockPopulators</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnFallingBlock(org.bukkit.Location,org.bukkit.material.MaterialData)">
|
|
<h3>spawnFallingBlock</h3>
|
|
<div class="member-signature"><span class="annotations"><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/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type"><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="entity/FallingBlock.html" title="interface in org.bukkit.entity">FallingBlock</a></span> <span class="element-name">spawnFallingBlock</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="material/MaterialData.html" title="class in org.bukkit.material">MaterialData</a> data)</span>
|
|
throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#spawnFallingBlock(org.bukkit.Location,org.bukkit.block.data.BlockData)"><code>spawnFallingBlock(Location, BlockData)</code></a></div>
|
|
</div>
|
|
<div class="block">Spawn a <a href="entity/FallingBlock.html" title="interface in org.bukkit.entity"><code>FallingBlock</code></a> entity at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> of
|
|
the specified <a href="Material.html" title="enum class in org.bukkit"><code>Material</code></a>. The material dictates what is falling.
|
|
When the FallingBlock hits the ground, it will place that block.
|
|
<p>
|
|
The Material must be a block type, check with <a href="Material.html#isBlock()"><code>material.isBlock()</code></a>. The Material may not be air.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - The <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> to spawn the FallingBlock</dd>
|
|
<dd><code>data</code> - The block data</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The spawned <a href="entity/FallingBlock.html" title="interface in org.bukkit.entity"><code>FallingBlock</code></a> instance</dd>
|
|
<dt>Throws:</dt>
|
|
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - if <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> or <a href="material/MaterialData.html" title="class in org.bukkit.material"><code>MaterialData</code></a> are null or <a href="Material.html" title="enum class in org.bukkit"><code>Material</code></a> of the <a href="material/MaterialData.html" title="class in org.bukkit.material"><code>MaterialData</code></a> is not a block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnFallingBlock(org.bukkit.Location,org.bukkit.block.data.BlockData)">
|
|
<h3>spawnFallingBlock</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="entity/FallingBlock.html" title="interface in org.bukkit.entity">FallingBlock</a></span> <span class="element-name">spawnFallingBlock</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="block/data/BlockData.html" title="interface in org.bukkit.block.data">BlockData</a> data)</span>
|
|
throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></span></div>
|
|
<div class="block">Spawn a <a href="entity/FallingBlock.html" title="interface in org.bukkit.entity"><code>FallingBlock</code></a> entity at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> of
|
|
the specified <a href="Material.html" title="enum class in org.bukkit"><code>Material</code></a>. The material dictates what is falling.
|
|
When the FallingBlock hits the ground, it will place that block.
|
|
<p>
|
|
The Material must be a block type, check with <a href="Material.html#isBlock()"><code>material.isBlock()</code></a>. The Material may not be air.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - The <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> to spawn the FallingBlock</dd>
|
|
<dd><code>data</code> - The block data</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The spawned <a href="entity/FallingBlock.html" title="interface in org.bukkit.entity"><code>FallingBlock</code></a> instance</dd>
|
|
<dt>Throws:</dt>
|
|
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - if <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> or <a href="block/data/BlockData.html" title="interface in org.bukkit.block.data"><code>BlockData</code></a> are null</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnFallingBlock(org.bukkit.Location,org.bukkit.Material,byte)">
|
|
<h3>spawnFallingBlock</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
<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>
|
|
</span><span class="return-type"><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="entity/FallingBlock.html" title="interface in org.bukkit.entity">FallingBlock</a></span> <span class="element-name">spawnFallingBlock</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="Material.html" title="enum class in org.bukkit">Material</a> material,
|
|
byte data)</span>
|
|
throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Magic value</div>
|
|
</div>
|
|
<div class="block">Spawn a <a href="entity/FallingBlock.html" title="interface in org.bukkit.entity"><code>FallingBlock</code></a> entity at the given <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> of the
|
|
specified <a href="Material.html" title="enum class in org.bukkit"><code>Material</code></a>. The material dictates what is falling.
|
|
When the FallingBlock hits the ground, it will place that block.
|
|
<p>
|
|
The Material must be a block type, check with <a href="Material.html#isBlock()"><code>material.isBlock()</code></a>. The Material may not be air.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - The <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> to spawn the FallingBlock</dd>
|
|
<dd><code>material</code> - The block <a href="Material.html" title="enum class in org.bukkit"><code>Material</code></a> type</dd>
|
|
<dd><code>data</code> - The block data</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The spawned <a href="entity/FallingBlock.html" title="interface in org.bukkit.entity"><code>FallingBlock</code></a> instance</dd>
|
|
<dt>Throws:</dt>
|
|
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - if <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> or <a href="Material.html" title="enum class in org.bukkit"><code>Material</code></a> are null or <a href="Material.html" title="enum class in org.bukkit"><code>Material</code></a> is not a block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="playEffect(org.bukkit.Location,org.bukkit.Effect,int)">
|
|
<h3>playEffect</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">playEffect</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
int data)</span></div>
|
|
<div class="block">Plays an effect to all players within a default radius around a given
|
|
location.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - the <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> around which players must be to
|
|
hear the sound</dd>
|
|
<dd><code>effect</code> - the <a href="Effect.html" title="enum class in org.bukkit"><code>Effect</code></a></dd>
|
|
<dd><code>data</code> - a data bit needed for some effects</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="playEffect(org.bukkit.Location,org.bukkit.Effect,int,int)">
|
|
<h3>playEffect</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">playEffect</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
int data,
|
|
int radius)</span></div>
|
|
<div class="block">Plays an effect to all players within a given radius around a location.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - the <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> around which players must be to
|
|
hear the effect</dd>
|
|
<dd><code>effect</code> - the <a href="Effect.html" title="enum class in org.bukkit"><code>Effect</code></a></dd>
|
|
<dd><code>data</code> - a data bit needed for some effects</dd>
|
|
<dd><code>radius</code> - the radius around the location</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="playEffect(org.bukkit.Location,org.bukkit.Effect,T)">
|
|
<h3 id="playEffect(org.bukkit.Location,org.bukkit.Effect,java.lang.Object)">playEffect</h3>
|
|
<div class="member-signature"><span class="type-parameters"><T></span> <span class="return-type">void</span> <span class="element-name">playEffect</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
T data)</span></div>
|
|
<div class="block">Plays an effect to all players within a default radius around a given
|
|
location.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - data dependant on the type of effect</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - the <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> around which players must be to
|
|
hear the sound</dd>
|
|
<dd><code>effect</code> - the <a href="Effect.html" title="enum class in org.bukkit"><code>Effect</code></a></dd>
|
|
<dd><code>data</code> - a data bit needed for some effects</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="playEffect(org.bukkit.Location,org.bukkit.Effect,T,int)">
|
|
<h3 id="playEffect(org.bukkit.Location,org.bukkit.Effect,java.lang.Object,int)">playEffect</h3>
|
|
<div class="member-signature"><span class="type-parameters"><T></span> <span class="return-type">void</span> <span class="element-name">playEffect</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
T data,
|
|
int radius)</span></div>
|
|
<div class="block">Plays an effect to all players within a given radius around a location.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - data dependant on the type of effect</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - the <a href="Location.html" title="class in org.bukkit"><code>Location</code></a> around which players must be to
|
|
hear the effect</dd>
|
|
<dd><code>effect</code> - the <a href="Effect.html" title="enum class in org.bukkit"><code>Effect</code></a></dd>
|
|
<dd><code>data</code> - a data bit needed for some effects</dd>
|
|
<dd><code>radius</code> - the radius around the location</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getEmptyChunkSnapshot(int,int,boolean,boolean)">
|
|
<h3>getEmptyChunkSnapshot</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="ChunkSnapshot.html" title="interface in org.bukkit">ChunkSnapshot</a></span> <span class="element-name">getEmptyChunkSnapshot</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
boolean includeBiome,
|
|
boolean includeBiomeTemp)</span></div>
|
|
<div class="block">Get empty chunk snapshot (equivalent to all air blocks), optionally
|
|
including valid biome data. Used for representing an ungenerated chunk,
|
|
or for fetching only biome data without loading a chunk.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - - chunk x coordinate</dd>
|
|
<dd><code>z</code> - - chunk z coordinate</dd>
|
|
<dd><code>includeBiome</code> - - if true, snapshot includes per-coordinate biome
|
|
type</dd>
|
|
<dd><code>includeBiomeTemp</code> - - if true, snapshot includes per-coordinate
|
|
raw biome temperature</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The empty snapshot.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSpawnFlags(boolean,boolean)">
|
|
<h3>setSpawnFlags</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setSpawnFlags</span><wbr><span class="parameters">(boolean allowMonsters,
|
|
boolean allowAnimals)</span></div>
|
|
<div class="block">Sets the spawn flags for this.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>allowMonsters</code> - - if true, monsters are allowed to spawn in this
|
|
world.</dd>
|
|
<dd><code>allowAnimals</code> - - if true, animals are allowed to spawn in this
|
|
world.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAllowAnimals()">
|
|
<h3>getAllowAnimals</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">getAllowAnimals</span>()</div>
|
|
<div class="block">Gets whether animals can spawn in this world.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>whether animals can spawn in this world.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAllowMonsters()">
|
|
<h3>getAllowMonsters</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">getAllowMonsters</span>()</div>
|
|
<div class="block">Gets whether monsters can spawn in this world.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>whether monsters can spawn in this world.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getBiome(int,int)">
|
|
<h3>getBiome</h3>
|
|
<div class="member-signature"><span class="annotations"><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/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type"><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="block/Biome.html" title="enum class in org.bukkit.block">Biome</a></span> <span class="element-name">getBiome</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">biomes are now 3-dimensional</div>
|
|
</div>
|
|
<div class="block">Gets the biome for the given block coordinates.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X coordinate of the block</dd>
|
|
<dd><code>z</code> - Z coordinate of the block</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Biome of the requested block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setBiome(int,int,org.bukkit.block.Biome)">
|
|
<h3>setBiome</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setBiome</span><wbr><span class="parameters">(int x,
|
|
int z,
|
|
<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://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="block/Biome.html" title="enum class in org.bukkit.block">Biome</a> bio)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">biomes are now 3-dimensional</div>
|
|
</div>
|
|
<div class="block">Sets the biome for the given block coordinates</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X coordinate of the block</dd>
|
|
<dd><code>z</code> - Z coordinate of the block</dd>
|
|
<dd><code>bio</code> - new Biome type for this block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTemperature(int,int)">
|
|
<h3>getTemperature</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">double</span> <span class="element-name">getTemperature</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">biomes are now 3-dimensional</div>
|
|
</div>
|
|
<div class="block">Gets the temperature for the given block coordinates.
|
|
<p>
|
|
It is safe to run this method when the block does not exist, it will
|
|
not create the block.
|
|
<p>
|
|
This method will return the raw temperature without adjusting for block
|
|
height effects.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X coordinate of the block</dd>
|
|
<dd><code>z</code> - Z coordinate of the block</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Temperature of the requested block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTemperature(int,int,int)">
|
|
<h3>getTemperature</h3>
|
|
<div class="member-signature"><span class="return-type">double</span> <span class="element-name">getTemperature</span><wbr><span class="parameters">(int x,
|
|
int y,
|
|
int z)</span></div>
|
|
<div class="block">Gets the temperature for the given block coordinates.
|
|
<p>
|
|
It is safe to run this method when the block does not exist, it will
|
|
not create the block.
|
|
<p>
|
|
This method will return the raw temperature without adjusting for block
|
|
height effects.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X coordinate of the block</dd>
|
|
<dd><code>y</code> - Y coordinate of the block</dd>
|
|
<dd><code>z</code> - Z coordinate of the block</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Temperature of the requested block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHumidity(int,int)">
|
|
<h3>getHumidity</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">double</span> <span class="element-name">getHumidity</span><wbr><span class="parameters">(int x,
|
|
int z)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">biomes are now 3-dimensional</div>
|
|
</div>
|
|
<div class="block">Gets the humidity for the given block coordinates.
|
|
<p>
|
|
It is safe to run this method when the block does not exist, it will
|
|
not create the block.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X coordinate of the block</dd>
|
|
<dd><code>z</code> - Z coordinate of the block</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Humidity of the requested block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getHumidity(int,int,int)">
|
|
<h3>getHumidity</h3>
|
|
<div class="member-signature"><span class="return-type">double</span> <span class="element-name">getHumidity</span><wbr><span class="parameters">(int x,
|
|
int y,
|
|
int z)</span></div>
|
|
<div class="block">Gets the humidity for the given block coordinates.
|
|
<p>
|
|
It is safe to run this method when the block does not exist, it will
|
|
not create the block.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>x</code> - X coordinate of the block</dd>
|
|
<dd><code>y</code> - Y coordinate of the block</dd>
|
|
<dd><code>z</code> - Z coordinate of the block</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Humidity of the requested block</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getLogicalHeight()">
|
|
<h3>getLogicalHeight</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getLogicalHeight</span>()</div>
|
|
<div class="block">Gets the maximum height to which chorus fruits and nether portals can
|
|
bring players within this dimension.
|
|
|
|
This excludes portals that were already built above the limit as they
|
|
still connect normally. May not be greater than <a href="generator/WorldInfo.html#getMaxHeight()"><code>WorldInfo.getMaxHeight()</code></a>.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>maximum logical height for chorus fruits and nether portals</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isNatural()">
|
|
<h3>isNatural</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isNatural</span>()</div>
|
|
<div class="block">Gets if this world is natural.
|
|
|
|
When false, compasses spin randomly, and using a bed to set the respawn
|
|
point or sleep, is disabled. When true, nether portals can spawn
|
|
zombified piglins.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>true if world is natural</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isBedWorks()">
|
|
<h3>isBedWorks</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isBedWorks</span>()</div>
|
|
<div class="block">Gets if beds work in this world.
|
|
|
|
A non-working bed will blow up when trying to sleep. <a href="#isNatural()"><code>isNatural()</code></a>
|
|
defines if a bed can be used to set spawn point.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>true if beds work in this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasSkyLight()">
|
|
<h3>hasSkyLight</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">hasSkyLight</span>()</div>
|
|
<div class="block">Gets if this world has skylight access.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>true if this world has skylight access</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasCeiling()">
|
|
<h3>hasCeiling</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">hasCeiling</span>()</div>
|
|
<div class="block">Gets if this world has a ceiling.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>true if this world has a bedrock ceiling</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isPiglinSafe()">
|
|
<h3>isPiglinSafe</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isPiglinSafe</span>()</div>
|
|
<div class="block">Gets if this world allow to piglins to survive without shaking and
|
|
transforming to zombified piglins.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>true if piglins will not transform to zombified piglins</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isRespawnAnchorWorks()">
|
|
<h3>isRespawnAnchorWorks</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isRespawnAnchorWorks</span>()</div>
|
|
<div class="block">Gets if this world allows players to charge and use respawn anchors.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>true if players can charge and use respawn anchors</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasRaids()">
|
|
<h3>hasRaids</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">hasRaids</span>()</div>
|
|
<div class="block">Gets if players with the bad omen effect in this world will trigger a
|
|
raid.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>true if raids will be triggered</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isUltraWarm()">
|
|
<h3>isUltraWarm</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isUltraWarm</span>()</div>
|
|
<div class="block">Gets if various water/lava mechanics will be triggered in this world, eg:
|
|
<br>
|
|
<ul>
|
|
<li>Water is evaporated</li>
|
|
<li>Sponges dry</li>
|
|
<li>Lava spreads faster and further</li>
|
|
</ul></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>true if this world has the above mechanics</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSeaLevel()">
|
|
<h3>getSeaLevel</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getSeaLevel</span>()</div>
|
|
<div class="block">Gets the sea level for this world.
|
|
<p>
|
|
This is often half of <a href="generator/WorldInfo.html#getMaxHeight()"><code>WorldInfo.getMaxHeight()</code></a></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>Sea level</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getKeepSpawnInMemory()">
|
|
<h3>getKeepSpawnInMemory</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">getKeepSpawnInMemory</span>()</div>
|
|
<div class="block">Gets whether the world's spawn area should be kept loaded into memory
|
|
or not.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>true if the world's spawn area will be kept loaded into memory.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setKeepSpawnInMemory(boolean)">
|
|
<h3>setKeepSpawnInMemory</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setKeepSpawnInMemory</span><wbr><span class="parameters">(boolean keepLoaded)</span></div>
|
|
<div class="block">Sets whether the world's spawn area should be kept loaded into memory
|
|
or not.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>keepLoaded</code> - if true then the world's spawn area will be kept
|
|
loaded into memory.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isAutoSave()">
|
|
<h3>isAutoSave</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isAutoSave</span>()</div>
|
|
<div class="block">Gets whether or not the world will automatically save</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>true if the world will automatically save, otherwise false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAutoSave(boolean)">
|
|
<h3>setAutoSave</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setAutoSave</span><wbr><span class="parameters">(boolean value)</span></div>
|
|
<div class="block">Sets whether or not the world will automatically save</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>value</code> - true if the world should automatically save, otherwise
|
|
false</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setDifficulty(org.bukkit.Difficulty)">
|
|
<h3>setDifficulty</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setDifficulty</span><wbr><span class="parameters">(<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://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="Difficulty.html" title="enum class in org.bukkit">Difficulty</a> difficulty)</span></div>
|
|
<div class="block">Sets the Difficulty of the world.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>difficulty</code> - the new difficulty you want to set the world to</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getDifficulty()">
|
|
<h3>getDifficulty</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="Difficulty.html" title="enum class in org.bukkit">Difficulty</a></span> <span class="element-name">getDifficulty</span>()</div>
|
|
<div class="block">Gets the Difficulty of the world.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The difficulty of the world.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getWorldFolder()">
|
|
<h3>getWorldFolder</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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/io/File.html" title="class or interface in java.io" class="external-link">File</a></span> <span class="element-name">getWorldFolder</span>()</div>
|
|
<div class="block">Gets the folder of this world on disk.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The folder of this world.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getWorldType()">
|
|
<h3>getWorldType</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="WorldType.html" title="enum class in org.bukkit">WorldType</a></span> <span class="element-name">getWorldType</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">world type is only used to select the default word generation
|
|
settings and is not stored in Vanilla worlds, making it impossible for
|
|
this method to always return the correct value.</div>
|
|
</div>
|
|
<div class="block">Gets the type of this world.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>Type of this world.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="canGenerateStructures()">
|
|
<h3>canGenerateStructures</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">canGenerateStructures</span>()</div>
|
|
<div class="block">Gets whether or not structures are being generated.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>True if structures are being generated.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isHardcore()">
|
|
<h3>isHardcore</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isHardcore</span>()</div>
|
|
<div class="block">Gets whether the world is hardcore or not.
|
|
|
|
In a hardcore world the difficulty is locked to hard.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>hardcore status</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setHardcore(boolean)">
|
|
<h3>setHardcore</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setHardcore</span><wbr><span class="parameters">(boolean hardcore)</span></div>
|
|
<div class="block">Sets whether the world is hardcore or not.
|
|
|
|
In a hardcore world the difficulty is locked to hard.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>hardcore</code> - Whether the world is hardcore</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTicksPerAnimalSpawns()">
|
|
<h3>getTicksPerAnimalSpawns</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">long</span> <span class="element-name">getTicksPerAnimalSpawns</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)"><code>getTicksPerSpawns(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Gets the world's ticks per animal spawns value
|
|
<p>
|
|
This value determines how many ticks there are between attempts to
|
|
spawn animals.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn animals in
|
|
this world every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn animals
|
|
in this world every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b>
|
|
If set to 0, animal spawning will be disabled for this world. We
|
|
recommend using <a href="#setSpawnFlags(boolean,boolean)"><code>setSpawnFlags(boolean, boolean)</code></a> to control
|
|
this instead.
|
|
<p>
|
|
Minecraft default: 400.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The world's ticks per animal spawns value</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setTicksPerAnimalSpawns(int)">
|
|
<h3>setTicksPerAnimalSpawns</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setTicksPerAnimalSpawns</span><wbr><span class="parameters">(int ticksPerAnimalSpawns)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)"><code>setTicksPerSpawns(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the world's ticks per animal spawns value
|
|
<p>
|
|
This value determines how many ticks there are between attempts to
|
|
spawn animals.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn animals in
|
|
this world every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn animals
|
|
in this world every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b>
|
|
If set to 0, animal spawning will be disabled for this world. We
|
|
recommend using <a href="#setSpawnFlags(boolean,boolean)"><code>setSpawnFlags(boolean, boolean)</code></a> to control
|
|
this instead.
|
|
<p>
|
|
Minecraft default: 400.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>ticksPerAnimalSpawns</code> - the ticks per animal spawns value you want
|
|
to set the world to</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTicksPerMonsterSpawns()">
|
|
<h3>getTicksPerMonsterSpawns</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">long</span> <span class="element-name">getTicksPerMonsterSpawns</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)"><code>getTicksPerSpawns(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Gets the world's ticks per monster spawns value
|
|
<p>
|
|
This value determines how many ticks there are between attempts to
|
|
spawn monsters.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn monsters in
|
|
this world every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn monsters
|
|
in this world every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b>
|
|
If set to 0, monsters spawning will be disabled for this world. We
|
|
recommend using <a href="#setSpawnFlags(boolean,boolean)"><code>setSpawnFlags(boolean, boolean)</code></a> to control
|
|
this instead.
|
|
<p>
|
|
Minecraft default: 1.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The world's ticks per monster spawns value</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setTicksPerMonsterSpawns(int)">
|
|
<h3>setTicksPerMonsterSpawns</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setTicksPerMonsterSpawns</span><wbr><span class="parameters">(int ticksPerMonsterSpawns)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)"><code>setTicksPerSpawns(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the world's ticks per monster spawns value
|
|
<p>
|
|
This value determines how many ticks there are between attempts to
|
|
spawn monsters.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn monsters in
|
|
this world on every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn monsters
|
|
in this world every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b>
|
|
If set to 0, monsters spawning will be disabled for this world. We
|
|
recommend using <a href="#setSpawnFlags(boolean,boolean)"><code>setSpawnFlags(boolean, boolean)</code></a> to control
|
|
this instead.
|
|
<p>
|
|
Minecraft default: 1.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>ticksPerMonsterSpawns</code> - the ticks per monster spawns value you
|
|
want to set the world to</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTicksPerWaterSpawns()">
|
|
<h3>getTicksPerWaterSpawns</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">long</span> <span class="element-name">getTicksPerWaterSpawns</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)"><code>getTicksPerSpawns(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Gets the world's ticks per water mob spawns value
|
|
<p>
|
|
This value determines how many ticks there are between attempts to
|
|
spawn water mobs.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn water mobs in
|
|
this world every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn water mobs
|
|
in this world every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b>
|
|
If set to 0, water mobs spawning will be disabled for this world.
|
|
<p>
|
|
Minecraft default: 1.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The world's ticks per water mob spawns value</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setTicksPerWaterSpawns(int)">
|
|
<h3>setTicksPerWaterSpawns</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setTicksPerWaterSpawns</span><wbr><span class="parameters">(int ticksPerWaterSpawns)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)"><code>setTicksPerSpawns(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the world's ticks per water mob spawns value
|
|
<p>
|
|
This value determines how many ticks there are between attempts to
|
|
spawn water mobs.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn water mobs in
|
|
this world on every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn water mobs
|
|
in this world every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b>
|
|
If set to 0, water mobs spawning will be disabled for this world.
|
|
<p>
|
|
Minecraft default: 1.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>ticksPerWaterSpawns</code> - the ticks per water mob spawns value you
|
|
want to set the world to</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTicksPerWaterAmbientSpawns()">
|
|
<h3>getTicksPerWaterAmbientSpawns</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">long</span> <span class="element-name">getTicksPerWaterAmbientSpawns</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)"><code>getTicksPerSpawns(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Gets the default ticks per water ambient mob spawns value.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn water ambient mobs
|
|
every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn water ambient mobs
|
|
every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b> If set to 0, ambient mobs spawning will be disabled.
|
|
<p>
|
|
Minecraft default: 1.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>the default ticks per water ambient mobs spawn value</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setTicksPerWaterAmbientSpawns(int)">
|
|
<h3>setTicksPerWaterAmbientSpawns</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setTicksPerWaterAmbientSpawns</span><wbr><span class="parameters">(int ticksPerAmbientSpawns)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)"><code>setTicksPerSpawns(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the world's ticks per water ambient mob spawns value
|
|
<p>
|
|
This value determines how many ticks there are between attempts to
|
|
spawn water ambient mobs.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn water ambient mobs in
|
|
this world on every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn weater ambient mobs
|
|
in this world every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b>
|
|
If set to 0, water ambient mobs spawning will be disabled for this world.
|
|
<p>
|
|
Minecraft default: 1.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>ticksPerAmbientSpawns</code> - the ticks per water ambient mob spawns value you
|
|
want to set the world to</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTicksPerWaterUndergroundCreatureSpawns()">
|
|
<h3>getTicksPerWaterUndergroundCreatureSpawns</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">long</span> <span class="element-name">getTicksPerWaterUndergroundCreatureSpawns</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)"><code>getTicksPerSpawns(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Gets the default ticks per water underground creature spawns value.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn water underground creature
|
|
every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn water underground creature
|
|
every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b> If set to 0, water underground creature spawning will be disabled.
|
|
<p>
|
|
Minecraft default: 1.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>the default ticks per water underground creature spawn value</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setTicksPerWaterUndergroundCreatureSpawns(int)">
|
|
<h3>setTicksPerWaterUndergroundCreatureSpawns</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setTicksPerWaterUndergroundCreatureSpawns</span><wbr><span class="parameters">(int ticksPerWaterUndergroundCreatureSpawns)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)"><code>setTicksPerSpawns(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the world's ticks per water underground creature spawns value
|
|
<p>
|
|
This value determines how many ticks there are between attempts to
|
|
spawn water underground creature.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn water underground creature in
|
|
this world on every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn water underground creature
|
|
in this world every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b>
|
|
If set to 0, water underground creature spawning will be disabled for this world.
|
|
<p>
|
|
Minecraft default: 1.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>ticksPerWaterUndergroundCreatureSpawns</code> - the ticks per water underground creature spawns value you
|
|
want to set the world to</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTicksPerAmbientSpawns()">
|
|
<h3>getTicksPerAmbientSpawns</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">long</span> <span class="element-name">getTicksPerAmbientSpawns</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getTicksPerSpawns(org.bukkit.entity.SpawnCategory)"><code>getTicksPerSpawns(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Gets the world's ticks per ambient mob spawns value
|
|
<p>
|
|
This value determines how many ticks there are between attempts to
|
|
spawn ambient mobs.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn ambient mobs in
|
|
this world every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn ambient mobs
|
|
in this world every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b>
|
|
If set to 0, ambient mobs spawning will be disabled for this world.
|
|
<p>
|
|
Minecraft default: 1.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>the default ticks per ambient mobs spawn value</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setTicksPerAmbientSpawns(int)">
|
|
<h3>setTicksPerAmbientSpawns</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setTicksPerAmbientSpawns</span><wbr><span class="parameters">(int ticksPerAmbientSpawns)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)"><code>setTicksPerSpawns(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the world's ticks per ambient mob spawns value
|
|
<p>
|
|
This value determines how many ticks there are between attempts to
|
|
spawn ambient mobs.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn ambient mobs in
|
|
this world on every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn ambient mobs
|
|
in this world every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b>
|
|
If set to 0, ambient mobs spawning will be disabled for this world.
|
|
<p>
|
|
Minecraft default: 1.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>ticksPerAmbientSpawns</code> - the ticks per ambient mob spawns value you
|
|
want to set the world to</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getTicksPerSpawns(org.bukkit.entity.SpawnCategory)">
|
|
<h3>getTicksPerSpawns</h3>
|
|
<div class="member-signature"><span class="return-type">long</span> <span class="element-name">getTicksPerSpawns</span><wbr><span class="parameters">(<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://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="entity/SpawnCategory.html" title="enum class in org.bukkit.entity">SpawnCategory</a> spawnCategory)</span></div>
|
|
<div class="block">Gets the world's ticks per <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mob spawns value
|
|
<p>
|
|
This value determines how many ticks there are between attempts to
|
|
spawn <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mobs.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mobs in
|
|
this world every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mobs
|
|
in this world every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b>
|
|
If set to 0, <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mobs spawning will be disabled for this world.
|
|
<p>
|
|
Minecraft default: 1.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>spawnCategory</code> - the category spawn</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The world's ticks per <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mob spawns value</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setTicksPerSpawns(org.bukkit.entity.SpawnCategory,int)">
|
|
<h3>setTicksPerSpawns</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setTicksPerSpawns</span><wbr><span class="parameters">(<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://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="entity/SpawnCategory.html" title="enum class in org.bukkit.entity">SpawnCategory</a> spawnCategory,
|
|
int ticksPerCategorySpawn)</span></div>
|
|
<div class="block">Sets the world's ticks per <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mob spawns value
|
|
<p>
|
|
This value determines how many ticks there are between attempts to
|
|
spawn <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mobs.
|
|
<p>
|
|
<b>Example Usage:</b>
|
|
<ul>
|
|
<li>A value of 1 will mean the server will attempt to spawn <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mobs in
|
|
this world on every tick.
|
|
<li>A value of 400 will mean the server will attempt to spawn <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mobs
|
|
in this world every 400th tick.
|
|
<li>A value below 0 will be reset back to Minecraft's default.
|
|
</ul>
|
|
<p>
|
|
<b>Note:</b>
|
|
If set to 0, <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mobs spawning will be disabled for this world.
|
|
<p>
|
|
Minecraft default: 1.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>spawnCategory</code> - the category spawn</dd>
|
|
<dd><code>ticksPerCategorySpawn</code> - the ticks per <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> mob spawns value you
|
|
want to set the world to</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getMonsterSpawnLimit()">
|
|
<h3>getMonsterSpawnLimit</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">int</span> <span class="element-name">getMonsterSpawnLimit</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Gets limit for number of monsters that can spawn in a chunk in this
|
|
world</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The monster spawn limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setMonsterSpawnLimit(int)">
|
|
<h3>setMonsterSpawnLimit</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setMonsterSpawnLimit</span><wbr><span class="parameters">(int limit)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setSpawnLimit(org.bukkit.entity.SpawnCategory,int)"><code>setSpawnLimit(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the limit for number of monsters that can spawn in a chunk in this
|
|
world
|
|
<p>
|
|
<b>Note:</b> If set to a negative number the world will use the
|
|
server-wide spawn limit instead.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>limit</code> - the new mob limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAnimalSpawnLimit()">
|
|
<h3>getAnimalSpawnLimit</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">int</span> <span class="element-name">getAnimalSpawnLimit</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Gets the limit for number of animals that can spawn in a chunk in this
|
|
world</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The animal spawn limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAnimalSpawnLimit(int)">
|
|
<h3>setAnimalSpawnLimit</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setAnimalSpawnLimit</span><wbr><span class="parameters">(int limit)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the limit for number of animals that can spawn in a chunk in this
|
|
world
|
|
<p>
|
|
<b>Note:</b> If set to a negative number the world will use the
|
|
server-wide spawn limit instead.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>limit</code> - the new mob limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getWaterAnimalSpawnLimit()">
|
|
<h3>getWaterAnimalSpawnLimit</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">int</span> <span class="element-name">getWaterAnimalSpawnLimit</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Gets the limit for number of water animals that can spawn in a chunk in
|
|
this world</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The water animal spawn limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setWaterAnimalSpawnLimit(int)">
|
|
<h3>setWaterAnimalSpawnLimit</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setWaterAnimalSpawnLimit</span><wbr><span class="parameters">(int limit)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setSpawnLimit(org.bukkit.entity.SpawnCategory,int)"><code>setSpawnLimit(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the limit for number of water animals that can spawn in a chunk in
|
|
this world
|
|
<p>
|
|
<b>Note:</b> If set to a negative number the world will use the
|
|
server-wide spawn limit instead.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>limit</code> - the new mob limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getWaterUndergroundCreatureSpawnLimit()">
|
|
<h3>getWaterUndergroundCreatureSpawnLimit</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">int</span> <span class="element-name">getWaterUndergroundCreatureSpawnLimit</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Gets the limit for number of water underground creature that can spawn in a chunk in
|
|
this world</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The water underground creature spawn limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setWaterUndergroundCreatureSpawnLimit(int)">
|
|
<h3>setWaterUndergroundCreatureSpawnLimit</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setWaterUndergroundCreatureSpawnLimit</span><wbr><span class="parameters">(int limit)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setSpawnLimit(org.bukkit.entity.SpawnCategory,int)"><code>setSpawnLimit(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the limit for number of water underground creature that can spawn in a chunk in
|
|
this world
|
|
<p>
|
|
<b>Note:</b> If set to a negative number the world will use the
|
|
server-wide spawn limit instead.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>limit</code> - the new mob limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getWaterAmbientSpawnLimit()">
|
|
<h3>getWaterAmbientSpawnLimit</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">int</span> <span class="element-name">getWaterAmbientSpawnLimit</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Gets user-specified limit for number of water ambient mobs that can spawn
|
|
in a chunk.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>the water ambient spawn limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setWaterAmbientSpawnLimit(int)">
|
|
<h3>setWaterAmbientSpawnLimit</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setWaterAmbientSpawnLimit</span><wbr><span class="parameters">(int limit)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setSpawnLimit(org.bukkit.entity.SpawnCategory,int)"><code>setSpawnLimit(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the limit for number of water ambient mobs that can spawn in a chunk
|
|
in this world
|
|
<p>
|
|
<b>Note:</b> If set to a negative number the world will use the
|
|
server-wide spawn limit instead.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>limit</code> - the new mob limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getAmbientSpawnLimit()">
|
|
<h3>getAmbientSpawnLimit</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">int</span> <span class="element-name">getAmbientSpawnLimit</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#getSpawnLimit(org.bukkit.entity.SpawnCategory)"><code>getSpawnLimit(SpawnCategory)</code></a></div>
|
|
</div>
|
|
<div class="block">Gets the limit for number of ambient mobs that can spawn in a chunk in
|
|
this world</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The ambient spawn limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setAmbientSpawnLimit(int)">
|
|
<h3>setAmbientSpawnLimit</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setAmbientSpawnLimit</span><wbr><span class="parameters">(int limit)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favor of <a href="#setSpawnLimit(org.bukkit.entity.SpawnCategory,int)"><code>setSpawnLimit(SpawnCategory, int)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the limit for number of ambient mobs that can spawn in a chunk in
|
|
this world
|
|
<p>
|
|
<b>Note:</b> If set to a negative number the world will use the
|
|
server-wide spawn limit instead.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>limit</code> - the new mob limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSpawnLimit(org.bukkit.entity.SpawnCategory)">
|
|
<h3>getSpawnLimit</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getSpawnLimit</span><wbr><span class="parameters">(<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://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="entity/SpawnCategory.html" title="enum class in org.bukkit.entity">SpawnCategory</a> spawnCategory)</span></div>
|
|
<div class="block">Gets the limit for number of <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> entities that can spawn in a chunk in
|
|
this world</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>spawnCategory</code> - the entity category</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>The ambient spawn limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSpawnLimit(org.bukkit.entity.SpawnCategory,int)">
|
|
<h3>setSpawnLimit</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setSpawnLimit</span><wbr><span class="parameters">(<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://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="entity/SpawnCategory.html" title="enum class in org.bukkit.entity">SpawnCategory</a> spawnCategory,
|
|
int limit)</span></div>
|
|
<div class="block">Sets the limit for number of <a href="entity/SpawnCategory.html" title="enum class in org.bukkit.entity"><code>SpawnCategory</code></a> entities that can spawn in a chunk in
|
|
this world
|
|
<p>
|
|
<b>Note:</b> If set to a negative number the world will use the
|
|
server-wide spawn limit instead.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>spawnCategory</code> - the entity category</dd>
|
|
<dd><code>limit</code> - the new mob limit</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="playSound(org.bukkit.Location,org.bukkit.Sound,float,float)">
|
|
<h3>playSound</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">playSound</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="Sound.html" title="enum class in org.bukkit">Sound</a> sound,
|
|
float volume,
|
|
float pitch)</span></div>
|
|
<div class="block">Play a Sound at the provided Location in the World.
|
|
<p>
|
|
This function will fail silently if Location or Sound are null.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - The location to play the sound</dd>
|
|
<dd><code>sound</code> - The sound to play</dd>
|
|
<dd><code>volume</code> - The volume of the sound</dd>
|
|
<dd><code>pitch</code> - The pitch of the sound</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="playSound(org.bukkit.Location,java.lang.String,float,float)">
|
|
<h3>playSound</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">playSound</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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/String.html" title="class or interface in java.lang" class="external-link">String</a> sound,
|
|
float volume,
|
|
float pitch)</span></div>
|
|
<div class="block">Play a Sound at the provided Location in the World.
|
|
<p>
|
|
This function will fail silently if Location or Sound are null. No
|
|
sound will be heard by the players if their clients do not have the
|
|
respective sound for the value passed.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - the location to play the sound</dd>
|
|
<dd><code>sound</code> - the internal sound name to play</dd>
|
|
<dd><code>volume</code> - the volume of the sound</dd>
|
|
<dd><code>pitch</code> - the pitch of the sound</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="playSound(org.bukkit.Location,org.bukkit.Sound,org.bukkit.SoundCategory,float,float)">
|
|
<h3>playSound</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">playSound</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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="Sound.html" title="enum class in org.bukkit">Sound</a> sound,
|
|
<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://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="SoundCategory.html" title="enum class in org.bukkit">SoundCategory</a> category,
|
|
float volume,
|
|
float pitch)</span></div>
|
|
<div class="block">Play a Sound at the provided Location in the World.
|
|
<p>
|
|
This function will fail silently if Location or Sound are null.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - The location to play the sound</dd>
|
|
<dd><code>sound</code> - The sound to play</dd>
|
|
<dd><code>category</code> - the category of the sound</dd>
|
|
<dd><code>volume</code> - The volume of the sound</dd>
|
|
<dd><code>pitch</code> - The pitch of the sound</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="playSound(org.bukkit.Location,java.lang.String,org.bukkit.SoundCategory,float,float)">
|
|
<h3>playSound</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">playSound</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
<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://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/String.html" title="class or interface in java.lang" class="external-link">String</a> sound,
|
|
<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://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="SoundCategory.html" title="enum class in org.bukkit">SoundCategory</a> category,
|
|
float volume,
|
|
float pitch)</span></div>
|
|
<div class="block">Play a Sound at the provided Location in the World.
|
|
<p>
|
|
This function will fail silently if Location or Sound are null. No sound
|
|
will be heard by the players if their clients do not have the respective
|
|
sound for the value passed.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - the location to play the sound</dd>
|
|
<dd><code>sound</code> - the internal sound name to play</dd>
|
|
<dd><code>category</code> - the category of the sound</dd>
|
|
<dd><code>volume</code> - the volume of the sound</dd>
|
|
<dd><code>pitch</code> - the pitch of the sound</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="playSound(org.bukkit.entity.Entity,org.bukkit.Sound,float,float)">
|
|
<h3>playSound</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">playSound</span><wbr><span class="parameters">(<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://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="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> entity,
|
|
<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://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="Sound.html" title="enum class in org.bukkit">Sound</a> sound,
|
|
float volume,
|
|
float pitch)</span></div>
|
|
<div class="block">Play a Sound at the location of the provided entity in the World.
|
|
<p>
|
|
This function will fail silently if Entity or Sound are null.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>entity</code> - The entity to play the sound</dd>
|
|
<dd><code>sound</code> - The sound to play</dd>
|
|
<dd><code>volume</code> - The volume of the sound</dd>
|
|
<dd><code>pitch</code> - The pitch of the sound</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="playSound(org.bukkit.entity.Entity,org.bukkit.Sound,org.bukkit.SoundCategory,float,float)">
|
|
<h3>playSound</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">playSound</span><wbr><span class="parameters">(<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://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="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> entity,
|
|
<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://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="Sound.html" title="enum class in org.bukkit">Sound</a> sound,
|
|
<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://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="SoundCategory.html" title="enum class in org.bukkit">SoundCategory</a> category,
|
|
float volume,
|
|
float pitch)</span></div>
|
|
<div class="block">Play a Sound at the location of the provided entity in the World.
|
|
<p>
|
|
This function will fail silently if Entity or Sound are null.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>entity</code> - The entity to play the sound</dd>
|
|
<dd><code>sound</code> - The sound to play</dd>
|
|
<dd><code>category</code> - the category of the sound</dd>
|
|
<dd><code>volume</code> - The volume of the sound</dd>
|
|
<dd><code>pitch</code> - The pitch of the sound</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getGameRules()">
|
|
<h3>getGameRules</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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/String.html" title="class or interface in java.lang" class="external-link">String</a>[]</span> <span class="element-name">getGameRules</span>()</div>
|
|
<div class="block">Get an array containing the names of all the <a href="GameRule.html" title="class in org.bukkit"><code>GameRule</code></a>s.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>An array of <a href="GameRule.html" title="class in org.bukkit"><code>GameRule</code></a> names.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getGameRuleValue(java.lang.String)">
|
|
<h3>getGameRuleValue</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Contract.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Contract</a>("null -> null; !null -> !null")
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <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></span> <span class="element-name">getGameRuleValue</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <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> rule)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#getGameRuleValue(org.bukkit.GameRule)"><code>getGameRuleValue(GameRule)</code></a> instead</div>
|
|
</div>
|
|
<div class="block">Gets the current state of the specified rule
|
|
<p>
|
|
Will return null if rule passed is null</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>rule</code> - Rule to look up value of</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>String value of rule</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setGameRuleValue(java.lang.String,java.lang.String)">
|
|
<h3>setGameRuleValue</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">boolean</span> <span class="element-name">setGameRuleValue</span><wbr><span class="parameters">(<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://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/String.html" title="class or interface in java.lang" class="external-link">String</a> rule,
|
|
<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://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/String.html" title="class or interface in java.lang" class="external-link">String</a> value)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#setGameRule(org.bukkit.GameRule,T)"><code>setGameRule(GameRule, Object)</code></a> instead.</div>
|
|
</div>
|
|
<div class="block">Set the specified gamerule to specified value.
|
|
<p>
|
|
The rule may attempt to validate the value passed, will return true if
|
|
value was set.
|
|
<p>
|
|
If rule is null, the function will return false.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>rule</code> - Rule to set</dd>
|
|
<dd><code>value</code> - Value to set rule to</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>True if rule was set</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isGameRule(java.lang.String)">
|
|
<h3>isGameRule</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isGameRule</span><wbr><span class="parameters">(<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://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/String.html" title="class or interface in java.lang" class="external-link">String</a> rule)</span></div>
|
|
<div class="block">Checks if string is a valid game rule</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>rule</code> - Rule to check</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>True if rule exists</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getGameRuleValue(org.bukkit.GameRule)">
|
|
<h3>getGameRuleValue</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="type-parameters"><T></span> <span class="return-type">T</span> <span class="element-name">getGameRuleValue</span><wbr><span class="parameters">(<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://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="GameRule.html" title="class in org.bukkit">GameRule</a><T> rule)</span></div>
|
|
<div class="block">Get the current value for a given <a href="GameRule.html" title="class in org.bukkit"><code>GameRule</code></a>.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - the GameRule's type</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>rule</code> - the GameRule to check</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the current value</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getGameRuleDefault(org.bukkit.GameRule)">
|
|
<h3>getGameRuleDefault</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="type-parameters"><T></span> <span class="return-type">T</span> <span class="element-name">getGameRuleDefault</span><wbr><span class="parameters">(<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://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="GameRule.html" title="class in org.bukkit">GameRule</a><T> rule)</span></div>
|
|
<div class="block">Get the default value for a given <a href="GameRule.html" title="class in org.bukkit"><code>GameRule</code></a>. This value is not
|
|
guaranteed to match the current value.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - the type of GameRule</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>rule</code> - the rule to return a default value for</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the default value</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setGameRule(org.bukkit.GameRule,T)">
|
|
<h3 id="setGameRule(org.bukkit.GameRule,java.lang.Object)">setGameRule</h3>
|
|
<div class="member-signature"><span class="type-parameters"><T></span> <span class="return-type">boolean</span> <span class="element-name">setGameRule</span><wbr><span class="parameters">(<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://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="GameRule.html" title="class in org.bukkit">GameRule</a><T> rule,
|
|
<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>
|
|
T newValue)</span></div>
|
|
<div class="block">Set the given <a href="GameRule.html" title="class in org.bukkit"><code>GameRule</code></a>'s new value.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - the value type of the GameRule</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>rule</code> - the GameRule to update</dd>
|
|
<dd><code>newValue</code> - the new value</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>true if the value was successfully set</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getWorldBorder()">
|
|
<h3>getWorldBorder</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="WorldBorder.html" title="interface in org.bukkit">WorldBorder</a></span> <span class="element-name">getWorldBorder</span>()</div>
|
|
<div class="block">Gets the world border for this world.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The world border for this world.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,org.bukkit.Location,int)">
|
|
<h3>spawnParticle</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>location</code> - the location to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,double,double,double,int)">
|
|
<h3>spawnParticle</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>x</code> - the position on the x axis to spawn at</dd>
|
|
<dd><code>y</code> - the position on the y axis to spawn at</dd>
|
|
<dd><code>z</code> - the position on the z axis to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,T)">
|
|
<h3 id="spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,java.lang.Object)">spawnParticle</h3>
|
|
<div class="member-signature"><span class="type-parameters"><T></span> <span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
T data)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - type of particle data (see <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>location</code> - the location to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>data</code> - the data to use for the particle or null,
|
|
the type of this depends on <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,double,double,double,int,T)">
|
|
<h3 id="spawnParticle(org.bukkit.Particle,double,double,double,int,java.lang.Object)">spawnParticle</h3>
|
|
<div class="member-signature"><span class="type-parameters"><T></span> <span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
T data)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - type of particle data (see <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>x</code> - the position on the x axis to spawn at</dd>
|
|
<dd><code>y</code> - the position on the y axis to spawn at</dd>
|
|
<dd><code>z</code> - the position on the z axis to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>data</code> - the data to use for the particle or null,
|
|
the type of this depends on <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double)">
|
|
<h3>spawnParticle</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location. The position of each particle will be
|
|
randomized positively and negatively by the offset parameters
|
|
on each axis.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>location</code> - the location to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>offsetX</code> - the maximum random offset on the X axis</dd>
|
|
<dd><code>offsetY</code> - the maximum random offset on the Y axis</dd>
|
|
<dd><code>offsetZ</code> - the maximum random offset on the Z axis</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double)">
|
|
<h3>spawnParticle</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location. The position of each particle will be
|
|
randomized positively and negatively by the offset parameters
|
|
on each axis.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>x</code> - the position on the x axis to spawn at</dd>
|
|
<dd><code>y</code> - the position on the y axis to spawn at</dd>
|
|
<dd><code>z</code> - the position on the z axis to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>offsetX</code> - the maximum random offset on the X axis</dd>
|
|
<dd><code>offsetY</code> - the maximum random offset on the Y axis</dd>
|
|
<dd><code>offsetZ</code> - the maximum random offset on the Z axis</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,T)">
|
|
<h3 id="spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,java.lang.Object)">spawnParticle</h3>
|
|
<div class="member-signature"><span class="type-parameters"><T></span> <span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
T data)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location. The position of each particle will be
|
|
randomized positively and negatively by the offset parameters
|
|
on each axis.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - type of particle data (see <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>location</code> - the location to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>offsetX</code> - the maximum random offset on the X axis</dd>
|
|
<dd><code>offsetY</code> - the maximum random offset on the Y axis</dd>
|
|
<dd><code>offsetZ</code> - the maximum random offset on the Z axis</dd>
|
|
<dd><code>data</code> - the data to use for the particle or null,
|
|
the type of this depends on <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double,T)">
|
|
<h3 id="spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double,java.lang.Object)">spawnParticle</h3>
|
|
<div class="member-signature"><span class="type-parameters"><T></span> <span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
T data)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location. The position of each particle will be
|
|
randomized positively and negatively by the offset parameters
|
|
on each axis.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - type of particle data (see <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>x</code> - the position on the x axis to spawn at</dd>
|
|
<dd><code>y</code> - the position on the y axis to spawn at</dd>
|
|
<dd><code>z</code> - the position on the z axis to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>offsetX</code> - the maximum random offset on the X axis</dd>
|
|
<dd><code>offsetY</code> - the maximum random offset on the Y axis</dd>
|
|
<dd><code>offsetZ</code> - the maximum random offset on the Z axis</dd>
|
|
<dd><code>data</code> - the data to use for the particle or null,
|
|
the type of this depends on <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double)">
|
|
<h3>spawnParticle</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location. The position of each particle will be
|
|
randomized positively and negatively by the offset parameters
|
|
on each axis.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>location</code> - the location to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>offsetX</code> - the maximum random offset on the X axis</dd>
|
|
<dd><code>offsetY</code> - the maximum random offset on the Y axis</dd>
|
|
<dd><code>offsetZ</code> - the maximum random offset on the Z axis</dd>
|
|
<dd><code>extra</code> - the extra data for this particle, depends on the
|
|
particle used (normally speed)</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double,double)">
|
|
<h3>spawnParticle</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location. The position of each particle will be
|
|
randomized positively and negatively by the offset parameters
|
|
on each axis.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>x</code> - the position on the x axis to spawn at</dd>
|
|
<dd><code>y</code> - the position on the y axis to spawn at</dd>
|
|
<dd><code>z</code> - the position on the z axis to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>offsetX</code> - the maximum random offset on the X axis</dd>
|
|
<dd><code>offsetY</code> - the maximum random offset on the Y axis</dd>
|
|
<dd><code>offsetZ</code> - the maximum random offset on the Z axis</dd>
|
|
<dd><code>extra</code> - the extra data for this particle, depends on the
|
|
particle used (normally speed)</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double,T)">
|
|
<h3 id="spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double,java.lang.Object)">spawnParticle</h3>
|
|
<div class="member-signature"><span class="type-parameters"><T></span> <span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
T data)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location. The position of each particle will be
|
|
randomized positively and negatively by the offset parameters
|
|
on each axis.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - type of particle data (see <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>location</code> - the location to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>offsetX</code> - the maximum random offset on the X axis</dd>
|
|
<dd><code>offsetY</code> - the maximum random offset on the Y axis</dd>
|
|
<dd><code>offsetZ</code> - the maximum random offset on the Z axis</dd>
|
|
<dd><code>extra</code> - the extra data for this particle, depends on the
|
|
particle used (normally speed)</dd>
|
|
<dd><code>data</code> - the data to use for the particle or null,
|
|
the type of this depends on <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double,double,T)">
|
|
<h3 id="spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double,double,java.lang.Object)">spawnParticle</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="type-parameters"><T></span> <span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
T data)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location. The position of each particle will be
|
|
randomized positively and negatively by the offset parameters
|
|
on each axis.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - type of particle data (see <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>x</code> - the position on the x axis to spawn at</dd>
|
|
<dd><code>y</code> - the position on the y axis to spawn at</dd>
|
|
<dd><code>z</code> - the position on the z axis to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>offsetX</code> - the maximum random offset on the X axis</dd>
|
|
<dd><code>offsetY</code> - the maximum random offset on the Y axis</dd>
|
|
<dd><code>offsetZ</code> - the maximum random offset on the Z axis</dd>
|
|
<dd><code>extra</code> - the extra data for this particle, depends on the
|
|
particle used (normally speed)</dd>
|
|
<dd><code>data</code> - the data to use for the particle or null,
|
|
the type of this depends on <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,java.util.List,org.bukkit.entity.Player,double,double,double,int,double,double,double,double,T)">
|
|
<h3 id="spawnParticle(org.bukkit.Particle,java.util.List,org.bukkit.entity.Player,double,double,double,int,double,double,double,double,java.lang.Object)">spawnParticle</h3>
|
|
<div class="member-signature"><span class="modifiers">default</span> <span class="type-parameters"><T></span> <span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</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><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>> receivers,
|
|
<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://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="entity/Player.html" title="interface in org.bukkit.entity">Player</a> source,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
T data)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location. The position of each particle will be
|
|
randomized positively and negatively by the offset parameters
|
|
on each axis.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - Type</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>receivers</code> - List of players to receive the particles, or null for all in world</dd>
|
|
<dd><code>source</code> - Source of the particles to be used in visibility checks, or null if no player source</dd>
|
|
<dd><code>x</code> - the position on the x axis to spawn at</dd>
|
|
<dd><code>y</code> - the position on the y axis to spawn at</dd>
|
|
<dd><code>z</code> - the position on the z axis to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>offsetX</code> - the maximum random offset on the X axis</dd>
|
|
<dd><code>offsetY</code> - the maximum random offset on the Y axis</dd>
|
|
<dd><code>offsetZ</code> - the maximum random offset on the Z axis</dd>
|
|
<dd><code>extra</code> - the extra data for this particle, depends on the
|
|
particle used (normally speed)</dd>
|
|
<dd><code>data</code> - the data to use for the particle or null,
|
|
the type of this depends on <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,java.util.List,org.bukkit.entity.Player,double,double,double,int,double,double,double,double,T,boolean)">
|
|
<h3 id="spawnParticle(org.bukkit.Particle,java.util.List,org.bukkit.entity.Player,double,double,double,int,double,double,double,double,java.lang.Object,boolean)">spawnParticle</h3>
|
|
<div class="member-signature"><span class="type-parameters"><T></span> <span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</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><<a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a>> receivers,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Player.html" title="interface in org.bukkit.entity">Player</a> source,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
T data,
|
|
boolean force)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location. The position of each particle will be
|
|
randomized positively and negatively by the offset parameters
|
|
on each axis.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - Type</dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>receivers</code> - List of players to receive the particles, or null for all in world</dd>
|
|
<dd><code>source</code> - Source of the particles to be used in visibility checks, or null if no player source</dd>
|
|
<dd><code>x</code> - the position on the x axis to spawn at</dd>
|
|
<dd><code>y</code> - the position on the y axis to spawn at</dd>
|
|
<dd><code>z</code> - the position on the z axis to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>offsetX</code> - the maximum random offset on the X axis</dd>
|
|
<dd><code>offsetY</code> - the maximum random offset on the Y axis</dd>
|
|
<dd><code>offsetZ</code> - the maximum random offset on the Z axis</dd>
|
|
<dd><code>extra</code> - the extra data for this particle, depends on the
|
|
particle used (normally speed)</dd>
|
|
<dd><code>data</code> - the data to use for the particle or null,
|
|
the type of this depends on <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
<dd><code>force</code> - allows the particle to be seen further away from the player
|
|
and shows to players using any vanilla client particle settings</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double,T,boolean)">
|
|
<h3 id="spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double,java.lang.Object,boolean)">spawnParticle</h3>
|
|
<div class="member-signature"><span class="type-parameters"><T></span> <span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
T data,
|
|
boolean force)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location. The position of each particle will be
|
|
randomized positively and negatively by the offset parameters
|
|
on each axis.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - type of particle data (see <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>location</code> - the location to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>offsetX</code> - the maximum random offset on the X axis</dd>
|
|
<dd><code>offsetY</code> - the maximum random offset on the Y axis</dd>
|
|
<dd><code>offsetZ</code> - the maximum random offset on the Z axis</dd>
|
|
<dd><code>extra</code> - the extra data for this particle, depends on the
|
|
particle used (normally speed)</dd>
|
|
<dd><code>data</code> - the data to use for the particle or null,
|
|
the type of this depends on <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
<dd><code>force</code> - whether to send the particle to players within an extended
|
|
range and encourage their client to render it regardless of
|
|
settings</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double,double,T,boolean)">
|
|
<h3 id="spawnParticle(org.bukkit.Particle,double,double,double,int,double,double,double,double,java.lang.Object,boolean)">spawnParticle</h3>
|
|
<div class="member-signature"><span class="type-parameters"><T></span> <span class="return-type">void</span> <span class="element-name">spawnParticle</span><wbr><span class="parameters">(<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://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="Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
T data,
|
|
boolean force)</span></div>
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location. The position of each particle will be
|
|
randomized positively and negatively by the offset parameters
|
|
on each axis.</div>
|
|
<dl class="notes">
|
|
<dt>Type Parameters:</dt>
|
|
<dd><code>T</code> - type of particle data (see <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
<dt>Parameters:</dt>
|
|
<dd><code>particle</code> - the particle to spawn</dd>
|
|
<dd><code>x</code> - the position on the x axis to spawn at</dd>
|
|
<dd><code>y</code> - the position on the y axis to spawn at</dd>
|
|
<dd><code>z</code> - the position on the z axis to spawn at</dd>
|
|
<dd><code>count</code> - the number of particles</dd>
|
|
<dd><code>offsetX</code> - the maximum random offset on the X axis</dd>
|
|
<dd><code>offsetY</code> - the maximum random offset on the Y axis</dd>
|
|
<dd><code>offsetZ</code> - the maximum random offset on the Z axis</dd>
|
|
<dd><code>extra</code> - the extra data for this particle, depends on the
|
|
particle used (normally speed)</dd>
|
|
<dd><code>data</code> - the data to use for the particle or null,
|
|
the type of this depends on <a href="Particle.html#getDataType()"><code>Particle.getDataType()</code></a></dd>
|
|
<dd><code>force</code> - whether to send the particle to players within an extended
|
|
range and encourage their client to render it regardless of
|
|
settings</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="locateNearestStructure(org.bukkit.Location,org.bukkit.StructureType,int,boolean)">
|
|
<h3>locateNearestStructure</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Location.html" title="class in org.bukkit">Location</a></span> <span class="element-name">locateNearestStructure</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<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://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="StructureType.html" title="class in org.bukkit">StructureType</a> structureType,
|
|
int radius,
|
|
boolean findUnexplored)</span></div>
|
|
<div class="block">Find the closest nearby structure of a given <a href="StructureType.html" title="class in org.bukkit"><code>StructureType</code></a>.
|
|
Finding unexplored structures can, and will, block if the world is
|
|
looking in chunks that gave not generated yet. This can lead to the world
|
|
temporarily freezing while locating an unexplored structure.
|
|
<p>
|
|
The <code>radius</code> is not a rigid square radius. Each structure may alter
|
|
how many chunks to check for each iteration. Do not assume that only a
|
|
radius x radius chunk area will be checked. For example,
|
|
<a href="StructureType.html#WOODLAND_MANSION"><code>StructureType.WOODLAND_MANSION</code></a> can potentially check up to 20,000
|
|
blocks away (or more) regardless of the radius used.
|
|
<p>
|
|
This will <i>not</i> load or generate chunks. This can also lead to
|
|
instances where the server can hang if you are only looking for
|
|
unexplored structures. This is because it will keep looking further and
|
|
further out in order to find the structure.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>origin</code> - where to start looking for a structure</dd>
|
|
<dd><code>structureType</code> - the type of structure to find</dd>
|
|
<dd><code>radius</code> - the radius, in chunks, around which to search</dd>
|
|
<dd><code>findUnexplored</code> - true to only find unexplored structures</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the closest <a href="Location.html" title="class in org.bukkit"><code>Location</code></a>, or null if no structure of the
|
|
specified type exists.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="locateNearestBiome(org.bukkit.Location,org.bukkit.block.Biome,int)">
|
|
<h3>locateNearestBiome</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Location.html" title="class in org.bukkit">Location</a></span> <span class="element-name">locateNearestBiome</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<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://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="block/Biome.html" title="enum class in org.bukkit.block">Biome</a> biome,
|
|
int radius)</span></div>
|
|
<div class="block">Locates the nearest biome based on an origin, biome type, and radius to search.
|
|
Step defaults to <code>8</code>.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>origin</code> - Origin location</dd>
|
|
<dd><code>biome</code> - Biome to find</dd>
|
|
<dd><code>radius</code> - radius to search</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Location of biome or null if not found in specified radius</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="locateNearestBiome(org.bukkit.Location,org.bukkit.block.Biome,int,int)">
|
|
<h3>locateNearestBiome</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Location.html" title="class in org.bukkit">Location</a></span> <span class="element-name">locateNearestBiome</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<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://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="block/Biome.html" title="enum class in org.bukkit.block">Biome</a> biome,
|
|
int radius,
|
|
int step)</span></div>
|
|
<div class="block">Locates the nearest biome based on an origin, biome type, and radius to search
|
|
and step</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>origin</code> - Origin location</dd>
|
|
<dd><code>biome</code> - Biome to find</dd>
|
|
<dd><code>radius</code> - radius to search</dd>
|
|
<dd><code>step</code> - Search step 1 would mean checking every block, 8 would be every 8th block</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>Location of biome or null if not found in specified radius</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isUltrawarm()">
|
|
<h3>isUltrawarm</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">boolean</span> <span class="element-name">isUltrawarm</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#isUltraWarm()"><code>isUltraWarm()</code></a></div>
|
|
</div>
|
|
<div class="block">Checks if the world:
|
|
<ul>
|
|
<li>evaporates water</li>
|
|
<li>dries sponges</li>
|
|
<li>has lava spread faster and further</li>
|
|
</ul></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>true if ultrawarm, false if not</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getCoordinateScale()">
|
|
<h3>getCoordinateScale</h3>
|
|
<div class="member-signature"><span class="return-type">double</span> <span class="element-name">getCoordinateScale</span>()</div>
|
|
<div class="block">Gets the coordinate scaling of this world.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>the coordinate scale</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasSkylight()">
|
|
<h3>hasSkylight</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">boolean</span> <span class="element-name">hasSkylight</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#hasSkyLight()"><code>hasSkyLight()</code></a></div>
|
|
</div>
|
|
<div class="block">Checks if the world has skylight access</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>whether there is skylight</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="hasBedrockCeiling()">
|
|
<h3>hasBedrockCeiling</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">boolean</span> <span class="element-name">hasBedrockCeiling</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#hasCeiling()"><code>hasCeiling()</code></a></div>
|
|
</div>
|
|
<div class="block">Checks if the world has a bedrock ceiling</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>whether the world has a bedrock ceiling</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="doesBedWork()">
|
|
<h3>doesBedWork</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">boolean</span> <span class="element-name">doesBedWork</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#isBedWorks()"><code>isBedWorks()</code></a></div>
|
|
</div>
|
|
<div class="block">Checks if beds work</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>whether beds work</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="doesRespawnAnchorWork()">
|
|
<h3>doesRespawnAnchorWork</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">boolean</span> <span class="element-name">doesRespawnAnchorWork</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="#isRespawnAnchorWorks()"><code>isRespawnAnchorWorks()</code></a></div>
|
|
</div>
|
|
<div class="block">Checks if respawn anchors work</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>whether respawn anchors work</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="isFixedTime()">
|
|
<h3>isFixedTime</h3>
|
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isFixedTime</span>()</div>
|
|
<div class="block">Checks if this world has a fixed time</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>whether this world has fixed time</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getInfiniburn()">
|
|
<h3>getInfiniburn</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="Material.html" title="enum class in org.bukkit">Material</a>></span> <span class="element-name">getInfiniburn</span>()</div>
|
|
<div class="block">Gets the collection of materials that burn infinitely in this world.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>the materials that will forever stay lit by fire</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="sendGameEvent(org.bukkit.entity.Entity,org.bukkit.GameEvent,org.bukkit.util.Vector)">
|
|
<h3>sendGameEvent</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">sendGameEvent</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> sourceEntity,
|
|
<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://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="GameEvent.html" title="class in org.bukkit">GameEvent</a> gameEvent,
|
|
<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://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="util/Vector.html" title="class in org.bukkit.util">Vector</a> position)</span></div>
|
|
<div class="block">Posts a specified game event at a location</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>sourceEntity</code> - optional source entity</dd>
|
|
<dd><code>gameEvent</code> - the game event to post</dd>
|
|
<dd><code>position</code> - the position in the world where to post the event to listeners</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getViewDistance()">
|
|
<h3>getViewDistance</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getViewDistance</span>()</div>
|
|
<div class="block">Returns the view distance used for this world.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>the view distance used for this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSimulationDistance()">
|
|
<h3>getSimulationDistance</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getSimulationDistance</span>()</div>
|
|
<div class="block">Returns the simulation distance used for this world.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>the simulation distance used for this world</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setViewDistance(int)">
|
|
<h3>setViewDistance</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setViewDistance</span><wbr><span class="parameters">(int viewDistance)</span></div>
|
|
<div class="block">Sets the view distance for this world.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>viewDistance</code> - view distance in [2, 32]</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSimulationDistance(int)">
|
|
<h3>setSimulationDistance</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setSimulationDistance</span><wbr><span class="parameters">(int simulationDistance)</span></div>
|
|
<div class="block">Sets the simulation distance for this world.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>simulationDistance</code> - simulation distance in [2, 32]</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getNoTickViewDistance()">
|
|
<h3>getNoTickViewDistance</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">int</span> <span class="element-name">getNoTickViewDistance</span>()</div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use <a href="#getViewDistance()"><code>getViewDistance()</code></a></div>
|
|
</div>
|
|
<div class="block">Returns the no-tick view distance for this world.
|
|
<p>
|
|
No-tick view distance is the view distance where chunks will load, however the chunks and their entities will not
|
|
be set to tick.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The no-tick view distance for this world.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setNoTickViewDistance(int)">
|
|
<h3>setNoTickViewDistance</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
|
|
</span><span class="return-type">void</span> <span class="element-name">setNoTickViewDistance</span><wbr><span class="parameters">(int viewDistance)</span></div>
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use <a href="#setViewDistance(int)"><code>setViewDistance(int)</code></a></div>
|
|
</div>
|
|
<div class="block">Sets the no-tick view distance for this world.
|
|
<p>
|
|
No-tick view distance is the view distance where chunks will load, however the chunks and their entities will not
|
|
be set to tick.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>viewDistance</code> - view distance in [2, 32]</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getSendViewDistance()">
|
|
<h3>getSendViewDistance</h3>
|
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getSendViewDistance</span>()</div>
|
|
<div class="block">Gets the sending view distance for this world.
|
|
<p>
|
|
Sending view distance is the view distance where chunks will load in for players in this world.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>The sending view distance for this world.</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="setSendViewDistance(int)">
|
|
<h3>setSendViewDistance</h3>
|
|
<div class="member-signature"><span class="return-type">void</span> <span class="element-name">setSendViewDistance</span><wbr><span class="parameters">(int viewDistance)</span></div>
|
|
<div class="block">Sets the sending view distance for this world.
|
|
<p>
|
|
Sending view distance is the view distance where chunks will load in for players in this world.
|
|
</p></div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>viewDistance</code> - view distance in [2, 32] or -1</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="spigot()">
|
|
<h3>spigot</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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="World.Spigot.html" title="class in org.bukkit">World.Spigot</a></span> <span class="element-name">spigot</span>()</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="locateNearestRaid(org.bukkit.Location,int)">
|
|
<h3>locateNearestRaid</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Raid.html" title="interface in org.bukkit">Raid</a></span> <span class="element-name">locateNearestRaid</span><wbr><span class="parameters">(<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://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="Location.html" title="class in org.bukkit">Location</a> location,
|
|
int radius)</span></div>
|
|
<div class="block">Finds the nearest raid close to the given location.</div>
|
|
<dl class="notes">
|
|
<dt>Parameters:</dt>
|
|
<dd><code>location</code> - the origin location</dd>
|
|
<dd><code>radius</code> - the radius</dd>
|
|
<dt>Returns:</dt>
|
|
<dd>the closest <a href="Raid.html" title="interface in org.bukkit"><code>Raid</code></a>, or null if no raids were found</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getRaids()">
|
|
<h3>getRaids</h3>
|
|
<div class="member-signature"><span class="annotations"><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>
|
|
</span><span class="return-type"><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><<a href="Raid.html" title="interface in org.bukkit">Raid</a>></span> <span class="element-name">getRaids</span>()</div>
|
|
<div class="block">Gets all raids that are going on over this world.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>the list of all active raids</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="getEnderDragonBattle()">
|
|
<h3>getEnderDragonBattle</h3>
|
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
|
|
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="boss/DragonBattle.html" title="interface in org.bukkit.boss">DragonBattle</a></span> <span class="element-name">getEnderDragonBattle</span>()</div>
|
|
<div class="block">Get the <a href="boss/DragonBattle.html" title="interface in org.bukkit.boss"><code>DragonBattle</code></a> associated with this world.
|
|
|
|
If this world's environment is not <a href="World.Environment.html#THE_END"><code>World.Environment.THE_END</code></a>, null will
|
|
be returned.
|
|
<p>
|
|
If an end world, a dragon battle instance will be returned regardless of
|
|
whether or not a dragon is present in the world or a fight sequence has
|
|
been activated. The dragon battle instance acts as a state holder.</div>
|
|
<dl class="notes">
|
|
<dt>Returns:</dt>
|
|
<dd>the dragon battle instance</dd>
|
|
</dl>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
</main>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|