mirror of
https://github.com/AtlasMediaGroup/Scissors-Website.git
synced 2024-11-06 01:26:06 +00:00
477 lines
29 KiB
HTML
477 lines
29 KiB
HTML
|
<!DOCTYPE HTML>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<!-- Generated by javadoc (17) -->
|
||
|
<title>ChunkSnapshot (Scissors-API 1.17.1-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: ChunkSnapshot">
|
||
|
<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>Nested | </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 ChunkSnapshot" class="title">Interface ChunkSnapshot</h1>
|
||
|
</div>
|
||
|
<section class="class-description" id="class-description">
|
||
|
<hr>
|
||
|
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">ChunkSnapshot</span></div>
|
||
|
<div class="block">Represents a static, thread-safe snapshot of chunk of blocks.
|
||
|
<p>
|
||
|
Purpose is to allow clean, efficient copy of a chunk data to be made, and
|
||
|
then handed off for processing in another thread (e.g. map rendering)</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-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-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="#contains(org.bukkit.block.data.BlockData)" class="member-name-link">contains</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/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> block)</code></div>
|
||
|
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
||
|
<div class="block">Tests if this snapshot contains the specified block.</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/21.0.1/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/21.0.1/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 even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBiome(int,int,int)" class="member-name-link">getBiome</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">Get biome at 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/21.0.1/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></code></div>
|
||
|
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBlockData(int,int,int)" class="member-name-link">getBlockData</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">Get block data for block at corresponding coordinate in the 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="#getBlockEmittedLight(int,int,int)" class="member-name-link">getBlockEmittedLight</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">Get light level emitted by block at corresponding coordinate in the
|
||
|
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="#getBlockSkyLight(int,int,int)" class="member-name-link">getBlockSkyLight</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">Get sky light level for block at corresponding coordinate 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/21.0.1/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></code></div>
|
||
|
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBlockType(int,int,int)" class="member-name-link">getBlockType</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">Get block type for block at corresponding coordinate 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="#getCaptureFullTime()" class="member-name-link">getCaptureFullTime</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 world full time when chunk snapshot was captured</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="#getData(int,int,int)" class="member-name-link">getData</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 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>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-air 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 method-summary-table-tab6"><code>double</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="#getRawBiomeTemperature(int,int)" class="member-name-link">getRawBiomeTemperature</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 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 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="#getRawBiomeTemperature(int,int,int)" class="member-name-link">getRawBiomeTemperature</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">Get raw biome temperature at 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/21.0.1/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="#getWorldName()" class="member-name-link">getWorldName</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 name of 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="#isSectionEmpty(int)" class="member-name-link">isSectionEmpty</a><wbr>(int sy)</code></div>
|
||
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
|
||
|
<div class="block">Test if section is empty</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</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> <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> <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="getWorldName()">
|
||
|
<h3>getWorldName</h3>
|
||
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/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/21.0.1/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">getWorldName</span>()</div>
|
||
|
<div class="block">Gets name of the world containing this chunk</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>Parent World Name</dd>
|
||
|
</dl>
|
||
|
</section>
|
||
|
</li>
|
||
|
<li>
|
||
|
<section class="detail" id="getBlockType(int,int,int)">
|
||
|
<h3>getBlockType</h3>
|
||
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/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/21.0.1/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></span> <span class="element-name">getBlockType</span><wbr><span class="parameters">(int x,
|
||
|
int y,
|
||
|
int z)</span></div>
|
||
|
<div class="block">Get block type for block at corresponding coordinate in the chunk</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Parameters:</dt>
|
||
|
<dd><code>x</code> - 0-15</dd>
|
||
|
<dd><code>y</code> - 0-255</dd>
|
||
|
<dd><code>z</code> - 0-15</dd>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>block material type</dd>
|
||
|
</dl>
|
||
|
</section>
|
||
|
</li>
|
||
|
<li>
|
||
|
<section class="detail" id="getBlockData(int,int,int)">
|
||
|
<h3>getBlockData</h3>
|
||
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/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/21.0.1/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></span> <span class="element-name">getBlockData</span><wbr><span class="parameters">(int x,
|
||
|
int y,
|
||
|
int z)</span></div>
|
||
|
<div class="block">Get block data for block at corresponding coordinate in the chunk</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Parameters:</dt>
|
||
|
<dd><code>x</code> - 0-15</dd>
|
||
|
<dd><code>y</code> - 0-255</dd>
|
||
|
<dd><code>z</code> - 0-15</dd>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>block material type</dd>
|
||
|
</dl>
|
||
|
</section>
|
||
|
</li>
|
||
|
<li>
|
||
|
<section class="detail" id="getData(int,int,int)">
|
||
|
<h3>getData</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">getData</span><wbr><span class="parameters">(int x,
|
||
|
int y,
|
||
|
int z)</span></div>
|
||
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
||
|
<div class="deprecation-comment">Magic value</div>
|
||
|
</div>
|
||
|
<div class="block">Get block data for block at corresponding coordinate in the chunk</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Parameters:</dt>
|
||
|
<dd><code>x</code> - 0-15</dd>
|
||
|
<dd><code>y</code> - 0-255</dd>
|
||
|
<dd><code>z</code> - 0-15</dd>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>0-15</dd>
|
||
|
</dl>
|
||
|
</section>
|
||
|
</li>
|
||
|
<li>
|
||
|
<section class="detail" id="getBlockSkyLight(int,int,int)">
|
||
|
<h3>getBlockSkyLight</h3>
|
||
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getBlockSkyLight</span><wbr><span class="parameters">(int x,
|
||
|
int y,
|
||
|
int z)</span></div>
|
||
|
<div class="block">Get sky light level for block at corresponding coordinate in the chunk</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Parameters:</dt>
|
||
|
<dd><code>x</code> - 0-15</dd>
|
||
|
<dd><code>y</code> - 0-255</dd>
|
||
|
<dd><code>z</code> - 0-15</dd>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>0-15</dd>
|
||
|
</dl>
|
||
|
</section>
|
||
|
</li>
|
||
|
<li>
|
||
|
<section class="detail" id="getBlockEmittedLight(int,int,int)">
|
||
|
<h3>getBlockEmittedLight</h3>
|
||
|
<div class="member-signature"><span class="return-type">int</span> <span class="element-name">getBlockEmittedLight</span><wbr><span class="parameters">(int x,
|
||
|
int y,
|
||
|
int z)</span></div>
|
||
|
<div class="block">Get light level emitted by block at corresponding coordinate in the
|
||
|
chunk</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Parameters:</dt>
|
||
|
<dd><code>x</code> - 0-15</dd>
|
||
|
<dd><code>y</code> - 0-255</dd>
|
||
|
<dd><code>z</code> - 0-15</dd>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>0-15</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-air coordinate at the given coordinates</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Parameters:</dt>
|
||
|
<dd><code>x</code> - X-coordinate of the blocks (0-15)</dd>
|
||
|
<dd><code>z</code> - Z-coordinate of the blocks (0-15)</dd>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>Y-coordinate of the highest non-air block</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/21.0.1/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/21.0.1/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">Get biome at given coordinates</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Parameters:</dt>
|
||
|
<dd><code>x</code> - X-coordinate (0-15)</dd>
|
||
|
<dd><code>z</code> - Z-coordinate (0-15)</dd>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>Biome at given coordinate</dd>
|
||
|
</dl>
|
||
|
</section>
|
||
|
</li>
|
||
|
<li>
|
||
|
<section class="detail" id="getBiome(int,int,int)">
|
||
|
<h3>getBiome</h3>
|
||
|
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/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/21.0.1/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 y,
|
||
|
int z)</span></div>
|
||
|
<div class="block">Get biome at given coordinates</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Parameters:</dt>
|
||
|
<dd><code>x</code> - X-coordinate (0-15)</dd>
|
||
|
<dd><code>y</code> - Y-coordinate (0-255)</dd>
|
||
|
<dd><code>z</code> - Z-coordinate (0-15)</dd>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>Biome at given coordinate</dd>
|
||
|
</dl>
|
||
|
</section>
|
||
|
</li>
|
||
|
<li>
|
||
|
<section class="detail" id="getRawBiomeTemperature(int,int)">
|
||
|
<h3>getRawBiomeTemperature</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">getRawBiomeTemperature</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">Get raw biome temperature at given coordinates</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Parameters:</dt>
|
||
|
<dd><code>x</code> - X-coordinate (0-15)</dd>
|
||
|
<dd><code>z</code> - Z-coordinate (0-15)</dd>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>temperature at given coordinate</dd>
|
||
|
</dl>
|
||
|
</section>
|
||
|
</li>
|
||
|
<li>
|
||
|
<section class="detail" id="getRawBiomeTemperature(int,int,int)">
|
||
|
<h3>getRawBiomeTemperature</h3>
|
||
|
<div class="member-signature"><span class="return-type">double</span> <span class="element-name">getRawBiomeTemperature</span><wbr><span class="parameters">(int x,
|
||
|
int y,
|
||
|
int z)</span></div>
|
||
|
<div class="block">Get raw biome temperature at given coordinates</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Parameters:</dt>
|
||
|
<dd><code>x</code> - X-coordinate (0-15)</dd>
|
||
|
<dd><code>y</code> - Y-coordinate (0-15)</dd>
|
||
|
<dd><code>z</code> - Z-coordinate (0-15)</dd>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>temperature at given coordinate</dd>
|
||
|
</dl>
|
||
|
</section>
|
||
|
</li>
|
||
|
<li>
|
||
|
<section class="detail" id="getCaptureFullTime()">
|
||
|
<h3>getCaptureFullTime</h3>
|
||
|
<div class="member-signature"><span class="return-type">long</span> <span class="element-name">getCaptureFullTime</span>()</div>
|
||
|
<div class="block">Get world full time when chunk snapshot was captured</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>time in ticks</dd>
|
||
|
</dl>
|
||
|
</section>
|
||
|
</li>
|
||
|
<li>
|
||
|
<section class="detail" id="isSectionEmpty(int)">
|
||
|
<h3>isSectionEmpty</h3>
|
||
|
<div class="member-signature"><span class="return-type">boolean</span> <span class="element-name">isSectionEmpty</span><wbr><span class="parameters">(int sy)</span></div>
|
||
|
<div class="block">Test if section is empty</div>
|
||
|
<dl class="notes">
|
||
|
<dt>Parameters:</dt>
|
||
|
<dd><code>sy</code> - - section Y coordinate (block Y / 16, 0-255)</dd>
|
||
|
<dt>Returns:</dt>
|
||
|
<dd>true if empty, false if not</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> <span class="element-name">contains</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/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/21.0.1/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> block)</span></div>
|
||
|
<div class="block">Tests if this snapshot 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>
|