Scissors-Website/public/javadoc/1.18.2/org/bukkit/Chunk.html
2022-07-05 18:33:56 -05:00

688 lines
48 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Chunk (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: Chunk">
<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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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>&nbsp;<a href="package-summary.html">org.bukkit</a></div>
<h1 title="Interface Chunk" class="title">Interface Chunk</h1>
</div>
<section class="class-description" id="class-description">
<dl class="notes">
<dt>All Superinterfaces:</dt>
<dd><code><a href="persistence/PersistentDataHolder.html" title="interface in org.bukkit.persistence">PersistentDataHolder</a></code></dd>
</dl>
<hr>
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">Chunk</span><span class="extends-implements">
extends <a href="persistence/PersistentDataHolder.html" title="interface in org.bukkit.persistence">PersistentDataHolder</a></span></div>
<div class="block">Represents a chunk of blocks</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ========== 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-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static 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></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(org.bukkit.plugin.Plugin)" class="member-name-link">addPluginChunkTicket</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Adds a plugin ticket for this chunk, loading this 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-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="#contains(org.bukkit.block.data.BlockData)" class="member-name-link">contains</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/data/BlockData.html" title="interface in org.bukkit.block.data">BlockData</a>&nbsp;block)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Tests if this chunk contains the specified block.</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="#getBlock(int,int,int)" class="member-name-link">getBlock</a><wbr>(int&nbsp;x,
int&nbsp;y,
int&nbsp;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 a block from this chunk</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default long</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getChunkKey()" class="member-name-link">getChunkKey</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1"><code>static long</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1"><code><a href="#getChunkKey(int,int)" class="member-name-link">getChunkKey</a><wbr>(int&nbsp;x,
int&nbsp;z)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1"><code>static long</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1"><code><a href="#getChunkKey(org.bukkit.Location)" class="member-name-link">getChunkKey</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>&nbsp;loc)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1">&nbsp;</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="ChunkSnapshot.html" title="interface in org.bukkit">ChunkSnapshot</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getChunkSnapshot()" class="member-name-link">getChunkSnapshot</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Capture thread-safe read-only snapshot of chunk data</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="#getChunkSnapshot(boolean,boolean,boolean)" class="member-name-link">getChunkSnapshot</a><wbr>(boolean&nbsp;includeMaxblocky,
boolean&nbsp;includeBiome,
boolean&nbsp;includeBiomeTempRain)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Capture thread-safe read-only snapshot of chunk 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/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>[]</code></div>
<div class="col-second even-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 even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Get a list of all entities in the chunk.</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="#getInhabitedTime()" class="member-name-link">getInhabitedTime</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 amount of time in ticks that this chunk has been inhabited.</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>&lt;<a href="plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&gt;</code></div>
<div class="col-second even-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 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 this
chunk.</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="block/BlockState.html" title="interface in org.bukkit.block">BlockState</a>[]</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getTileEntities()" class="member-name-link">getTileEntities</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Get a list of all tile entities in the chunk.</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/BlockState.html" title="interface in org.bukkit.block">BlockState</a>[]</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTileEntities(boolean)" class="member-name-link">getTileEntities</a><wbr>(boolean&nbsp;useSnapshot)</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 tile entities in the 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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="block/BlockState.html" title="interface in org.bukkit.block">BlockState</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTileEntities(java.util.function.Predicate,boolean)" class="member-name-link">getTileEntities</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/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a>&lt;<a href="block/Block.html" title="interface in org.bukkit.block">Block</a>&gt;&nbsp;blockPredicate,
boolean&nbsp;useSnapshot)</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 tile entities that match a given predicate in the chunk.</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="World.html" title="interface in org.bukkit">World</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getWorld()" class="member-name-link">getWorld</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 world containing this chunk</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="#getX()" class="member-name-link">getX</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 X-coordinate of this chunk</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="#getZ()" class="member-name-link">getZ</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 Z-coordinate of this chunk</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="#isEntitiesLoaded()" class="member-name-link">isEntitiesLoaded</a>()</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 entities in this chunk are 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="#isForceLoaded()" class="member-name-link">isForceLoaded</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 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="#isLoaded()" class="member-name-link">isLoaded</a>()</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 chunk 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="#isSlimeChunk()" class="member-name-link">isSlimeChunk</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 chunk can spawn slimes without being a swamp biome.</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="#load()" class="member-name-link">load</a>()</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 chunk.</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="#load(boolean)" class="member-name-link">load</a><wbr>(boolean&nbsp;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 chunk.</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="#removePluginChunkTicket(org.bukkit.plugin.Plugin)" class="member-name-link">removePluginChunkTicket</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&nbsp;plugin)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Removes the specified plugin's ticket for this chunk</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="#setForceLoaded(boolean)" class="member-name-link">setForceLoaded</a><wbr>(boolean&nbsp;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="#setInhabitedTime(long)" class="member-name-link">setInhabitedTime</a><wbr>(long&nbsp;ticks)</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 amount of time in ticks that this chunk has been inhabited.</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="#unload()" class="member-name-link">unload</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Unloads and optionally saves the Chunk</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="#unload(boolean)" class="member-name-link">unload</a><wbr>(boolean&nbsp;save)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Unloads and optionally saves the Chunk</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.persistence.PersistentDataHolder">Methods inherited from interface&nbsp;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>
</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="getX()">
<h3>getX</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getX</span>()</div>
<div class="block">Gets the X-coordinate of this chunk</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>X-coordinate</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getZ()">
<h3>getZ</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getZ</span>()</div>
<div class="block">Gets the Z-coordinate of this chunk</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Z-coordinate</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChunkKey()">
<h3>getChunkKey</h3>
<div class="member-signature"><span class="modifiers">default</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">getChunkKey</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The Chunks X and Z coordinates packed into a long</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChunkKey(org.bukkit.Location)">
<h3>getChunkKey</h3>
<div class="member-signature"><span class="modifiers">static</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">getChunkKey</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>&nbsp;loc)</span></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>loc</code> - Location to get chunk key</dd>
<dt>Returns:</dt>
<dd>Location's chunk coordinates packed into a long</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChunkKey(int,int)">
<h3>getChunkKey</h3>
<div class="member-signature"><span class="modifiers">static</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">getChunkKey</span><wbr><span class="parameters">(int&nbsp;x,
int&nbsp;z)</span></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>x</code> - X Coordinate</dd>
<dd><code>z</code> - Z Coordinate</dd>
<dt>Returns:</dt>
<dd>Chunk coordinates packed into a long</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getWorld()">
<h3>getWorld</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.html" title="interface in org.bukkit">World</a></span>&nbsp;<span class="element-name">getWorld</span>()</div>
<div class="block">Gets the world containing this chunk</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Parent World</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBlock(int,int,int)">
<h3>getBlock</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>&nbsp;<span class="element-name">getBlock</span><wbr><span class="parameters">(int&nbsp;x,
int&nbsp;y,
int&nbsp;z)</span></div>
<div class="block">Gets a block from this chunk</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>x</code> - 0-15</dd>
<dd><code>y</code> - world minHeight (inclusive) - world maxHeight (exclusive)</dd>
<dd><code>z</code> - 0-15</dd>
<dt>Returns:</dt>
<dd>the Block</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChunkSnapshot()">
<h3>getChunkSnapshot</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>&nbsp;<span class="element-name">getChunkSnapshot</span>()</div>
<div class="block">Capture thread-safe read-only snapshot of chunk data</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>ChunkSnapshot</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChunkSnapshot(boolean,boolean,boolean)">
<h3>getChunkSnapshot</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>&nbsp;<span class="element-name">getChunkSnapshot</span><wbr><span class="parameters">(boolean&nbsp;includeMaxblocky,
boolean&nbsp;includeBiome,
boolean&nbsp;includeBiomeTempRain)</span></div>
<div class="block">Capture thread-safe read-only snapshot of chunk data</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>includeMaxblocky</code> - - if true, snapshot includes per-coordinate
maximum Y values</dd>
<dd><code>includeBiome</code> - - if true, snapshot includes per-coordinate biome
type</dd>
<dd><code>includeBiomeTempRain</code> - - if true, snapshot includes per-coordinate
raw biome temperature and rainfall</dd>
<dt>Returns:</dt>
<dd>ChunkSnapshot</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isEntitiesLoaded()">
<h3>isEntitiesLoaded</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isEntitiesLoaded</span>()</div>
<div class="block">Checks if entities in this chunk are loaded.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>True if entities are loaded.</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="entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>[]</span>&nbsp;<span class="element-name">getEntities</span>()</div>
<div class="block">Get a list of all entities in the chunk.
This will force load any entities, which are not loaded.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The entities.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTileEntities()">
<h3>getTileEntities</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>&nbsp;<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/BlockState.html" title="interface in org.bukkit.block">BlockState</a>[]</span>&nbsp;<span class="element-name">getTileEntities</span>()</div>
<div class="block">Get a list of all tile entities in the chunk.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The tile entities.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTileEntities(boolean)">
<h3>getTileEntities</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/BlockState.html" title="interface in org.bukkit.block">BlockState</a>[]</span>&nbsp;<span class="element-name">getTileEntities</span><wbr><span class="parameters">(boolean&nbsp;useSnapshot)</span></div>
<div class="block">Get a list of all tile entities in the chunk.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>useSnapshot</code> - Take snapshots or direct references</dd>
<dt>Returns:</dt>
<dd>The tile entities.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTileEntities(java.util.function.Predicate,boolean)">
<h3>getTileEntities</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>&lt;<a href="block/BlockState.html" title="interface in org.bukkit.block">BlockState</a>&gt;</span>&nbsp;<span class="element-name">getTileEntities</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/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a>&lt;<a href="block/Block.html" title="interface in org.bukkit.block">Block</a>&gt;&nbsp;blockPredicate,
boolean&nbsp;useSnapshot)</span></div>
<div class="block">Get a list of all tile entities that match a given predicate in the chunk.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>blockPredicate</code> - The predicate of blocks to return tile entities for</dd>
<dd><code>useSnapshot</code> - Take snapshots or direct references</dd>
<dt>Returns:</dt>
<dd>The tile entities.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isLoaded()">
<h3>isLoaded</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isLoaded</span>()</div>
<div class="block">Checks if the chunk is loaded.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>True if it is loaded.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="load(boolean)">
<h3>load</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">load</span><wbr><span class="parameters">(boolean&nbsp;generate)</span></div>
<div class="block">Loads the chunk.</div>
<dl class="notes">
<dt>Parameters:</dt>
<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="load()">
<h3>load</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">load</span>()</div>
<div class="block">Loads the chunk.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if the chunk has loaded successfully, otherwise false</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="unload(boolean)">
<h3>unload</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">unload</span><wbr><span class="parameters">(boolean&nbsp;save)</span></div>
<div class="block">Unloads and optionally saves the Chunk</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>save</code> - Controls whether the chunk is saved</dd>
<dt>Returns:</dt>
<dd>true if the chunk has unloaded successfully, otherwise false</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="unload()">
<h3>unload</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">unload</span>()</div>
<div class="block">Unloads and optionally saves the Chunk</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if the chunk has unloaded successfully, otherwise false</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isSlimeChunk()">
<h3>isSlimeChunk</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isSlimeChunk</span>()</div>
<div class="block">Checks if this chunk can spawn slimes without being a swamp biome.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if slimes are able to spawn in this chunk</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isForceLoaded()">
<h3>isForceLoaded</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isForceLoaded</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>Returns:</dt>
<dd>force load status</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list-long">
<li><a href="World.html#isChunkForceLoaded(int,int)"><code>World.isChunkForceLoaded(int, int)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setForceLoaded(boolean)">
<h3>setForceLoaded</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setForceLoaded</span><wbr><span class="parameters">(boolean&nbsp;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>forced</code> - force load status</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list-long">
<li><a href="World.html#setChunkForceLoaded(int,int,boolean)"><code>World.setChunkForceLoaded(int, int, boolean)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addPluginChunkTicket(org.bukkit.plugin.Plugin)">
<h3>addPluginChunkTicket</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">addPluginChunkTicket</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>&nbsp;plugin)</span></div>
<div class="block">Adds a plugin ticket for this chunk, loading this 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>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="World.html#addPluginChunkTicket(int,int,org.bukkit.plugin.Plugin)"><code>World.addPluginChunkTicket(int, int, Plugin)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="removePluginChunkTicket(org.bukkit.plugin.Plugin)">
<h3>removePluginChunkTicket</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">removePluginChunkTicket</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>&nbsp;plugin)</span></div>
<div class="block">Removes the specified plugin's ticket for this 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>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="World.html#removePluginChunkTicket(int,int,org.bukkit.plugin.Plugin)"><code>World.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/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="plugin/Plugin.html" title="interface in org.bukkit.plugin">Plugin</a>&gt;</span>&nbsp;<span class="element-name">getPluginChunkTickets</span>()</div>
<div class="block">Retrieves a collection specifying which plugins have tickets for this
chunk. This collection is not updated when plugin tickets are added or
removed to this 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>Returns:</dt>
<dd>unmodifiable collection containing which plugins have tickets for
this chunk</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list-long">
<li><a href="World.html#getPluginChunkTickets(int,int)"><code>World.getPluginChunkTickets(int, int)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getInhabitedTime()">
<h3>getInhabitedTime</h3>
<div class="member-signature"><span class="return-type">long</span>&nbsp;<span class="element-name">getInhabitedTime</span>()</div>
<div class="block">Gets the amount of time in ticks that this chunk has been inhabited.
Note that the time is incremented once per tick per player in the chunk.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>inhabited time</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setInhabitedTime(long)">
<h3>setInhabitedTime</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setInhabitedTime</span><wbr><span class="parameters">(long&nbsp;ticks)</span></div>
<div class="block">Sets the amount of time in ticks that this chunk has been inhabited.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>ticks</code> - new inhabited time</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="contains(org.bukkit.block.data.BlockData)">
<h3>contains</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">contains</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/data/BlockData.html" title="interface in org.bukkit.block.data">BlockData</a>&nbsp;block)</span></div>
<div class="block">Tests if this chunk contains the specified block.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>block</code> - block to test</dd>
<dt>Returns:</dt>
<dd>if the block is contained within</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
</div>
</div>
</body>
</html>