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

404 lines
26 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>WorldBorder (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: WorldBorder">
<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 WorldBorder" class="title">Interface WorldBorder</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">WorldBorder</span></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-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><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="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="#getCenter()" class="member-name-link">getCenter</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 border center.</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="#getDamageAmount()" class="member-name-link">getDamageAmount</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 current border damage amount.</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="#getDamageBuffer()" class="member-name-link">getDamageBuffer</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 border damage buffer.</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="#getSize()" class="member-name-link">getSize</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 current side length of the border.</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="#getWarningDistance()" class="member-name-link">getWarningDistance</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 border warning distance.</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="#getWarningTime()" class="member-name-link">getWarningTime</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 current border warning time in seconds.</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 boolean</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="#isInBounds(org.bukkit.Location)" class="member-name-link">isInBounds</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="Location.html" title="class in org.bukkit">Location</a>&nbsp;location)</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 <a href="#isInside(org.bukkit.Location)"><code>isInside(Location)</code></a> for an upstream compatible replacement</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="#isInside(org.bukkit.Location)" class="member-name-link">isInside</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="Location.html" title="class in org.bukkit">Location</a>&nbsp;location)</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 the specified location is inside this border.</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="#reset()" class="member-name-link">reset</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Resets the border to default values.</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="#setCenter(double,double)" class="member-name-link">setCenter</a><wbr>(double&nbsp;x,
double&nbsp;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 new border center.</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="#setCenter(org.bukkit.Location)" class="member-name-link">setCenter</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="Location.html" title="class in org.bukkit">Location</a>&nbsp;location)</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 new border center.</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="#setDamageAmount(double)" class="member-name-link">setDamageAmount</a><wbr>(double&nbsp;damage)</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 damage a player takes when outside the border plus the border buffer.</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="#setDamageBuffer(double)" class="member-name-link">setDamageBuffer</a><wbr>(double&nbsp;blocks)</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 amount of blocks a player may safely be outside the border before taking damage.</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="#setSize(double)" class="member-name-link">setSize</a><wbr>(double&nbsp;newSize)</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 border to a square region with the specified side length in blocks.</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="#setSize(double,long)" class="member-name-link">setSize</a><wbr>(double&nbsp;newSize,
long&nbsp;seconds)</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 border to a square region with the specified side length in blocks.</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="#setWarningDistance(int)" class="member-name-link">setWarningDistance</a><wbr>(int&nbsp;distance)</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 warning distance that causes the screen to be tinted red when the player is within the specified number of blocks from the border.</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="#setWarningTime(int)" class="member-name-link">setWarningTime</a><wbr>(int&nbsp;seconds)</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 warning time that causes the screen to be tinted red when a contracting border will reach the player within the specified time.</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="reset()">
<h3>reset</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">reset</span>()</div>
<div class="block">Resets the border to default values.</div>
</section>
</li>
<li>
<section class="detail" id="getSize()">
<h3>getSize</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getSize</span>()</div>
<div class="block">Gets the current side length of the border.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The current side length of the border.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setSize(double)">
<h3>setSize</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setSize</span><wbr><span class="parameters">(double&nbsp;newSize)</span></div>
<div class="block">Sets the border to a square region with the specified side length in blocks.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>newSize</code> - The new size of the border.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setSize(double,long)">
<h3>setSize</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setSize</span><wbr><span class="parameters">(double&nbsp;newSize,
long&nbsp;seconds)</span></div>
<div class="block">Sets the border to a square region with the specified side length in blocks.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>newSize</code> - The new side length of the border.</dd>
<dd><code>seconds</code> - The time in seconds in which the border grows or shrinks from the previous size to that being set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCenter()">
<h3>getCenter</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="Location.html" title="class in org.bukkit">Location</a></span>&nbsp;<span class="element-name">getCenter</span>()</div>
<div class="block">Gets the current border center.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The current border center.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setCenter(double,double)">
<h3>setCenter</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setCenter</span><wbr><span class="parameters">(double&nbsp;x,
double&nbsp;z)</span></div>
<div class="block">Sets the new border center.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>x</code> - The new center x-coordinate.</dd>
<dd><code>z</code> - The new center z-coordinate.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setCenter(org.bukkit.Location)">
<h3>setCenter</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setCenter</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="Location.html" title="class in org.bukkit">Location</a>&nbsp;location)</span></div>
<div class="block">Sets the new border center.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - The new location of the border center. (Only x/z used)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDamageBuffer()">
<h3>getDamageBuffer</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getDamageBuffer</span>()</div>
<div class="block">Gets the current border damage buffer.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The current border damage buffer.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDamageBuffer(double)">
<h3>setDamageBuffer</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setDamageBuffer</span><wbr><span class="parameters">(double&nbsp;blocks)</span></div>
<div class="block">Sets the amount of blocks a player may safely be outside the border before taking damage.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>blocks</code> - The amount of blocks. (The default is 5 blocks.)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDamageAmount()">
<h3>getDamageAmount</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getDamageAmount</span>()</div>
<div class="block">Gets the current border damage amount.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The current border damage amount.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDamageAmount(double)">
<h3>setDamageAmount</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setDamageAmount</span><wbr><span class="parameters">(double&nbsp;damage)</span></div>
<div class="block">Sets the amount of damage a player takes when outside the border plus the border buffer.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>damage</code> - The amount of damage. (The default is 0.2 damage per second per block.)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getWarningTime()">
<h3>getWarningTime</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getWarningTime</span>()</div>
<div class="block">Gets the current border warning time in seconds.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The current border warning time in seconds.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setWarningTime(int)">
<h3>setWarningTime</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setWarningTime</span><wbr><span class="parameters">(int&nbsp;seconds)</span></div>
<div class="block">Sets the warning time that causes the screen to be tinted red when a contracting border will reach the player within the specified time.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>seconds</code> - The amount of time in seconds. (The default is 15 seconds.)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getWarningDistance()">
<h3>getWarningDistance</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getWarningDistance</span>()</div>
<div class="block">Gets the current border warning distance.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The current border warning distance.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setWarningDistance(int)">
<h3>setWarningDistance</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setWarningDistance</span><wbr><span class="parameters">(int&nbsp;distance)</span></div>
<div class="block">Sets the warning distance that causes the screen to be tinted red when the player is within the specified number of blocks from the border.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>distance</code> - The distance in blocks. (The default is 5 blocks.)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isInside(org.bukkit.Location)">
<h3>isInside</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isInside</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="Location.html" title="class in org.bukkit">Location</a>&nbsp;location)</span></div>
<div class="block">Check if the specified location is inside this border.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - the location to check</dd>
<dt>Returns:</dt>
<dd>if this location is inside the border or not</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isInBounds(org.bukkit.Location)">
<h3>isInBounds</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>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isInBounds</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="Location.html" title="class in org.bukkit">Location</a>&nbsp;location)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">use <a href="#isInside(org.bukkit.Location)"><code>isInside(Location)</code></a> for an upstream compatible replacement</div>
</div>
<div class="block">Checks if the location is within the boundaries of this border.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - specific location to check</dd>
<dt>Returns:</dt>
<dd>true if the location is within the bounds of this border, false otherwise.</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
</div>
</div>
</body>
</html>