mirror of
https://github.com/AtlasMediaGroup/Scissors-Website.git
synced 2024-11-06 01:26:06 +00:00
3322 lines
459 KiB
HTML
3322 lines
459 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (17) -->
|
|
<title>Uses of Class org.bukkit.Location (Scissors-API 1.19.3-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="use: package: org.bukkit, class: Location">
|
|
<meta name="generator" content="javadoc/ClassUseWriter">
|
|
<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.6.0.min.js"></script>
|
|
<script type="text/javascript" src="../../../script-dir/jquery-ui.min.js"></script>
|
|
</head>
|
|
<body class="class-use-page">
|
|
<script type="text/javascript">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><a href="../Location.html" title="class in org.bukkit">Class</a></li>
|
|
<li class="nav-bar-cell1-rev">Use</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#use">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="sub-nav">
|
|
<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">
|
|
<div class="header">
|
|
<h1 title="Uses of Class org.bukkit.Location" class="title">Uses of Class<br>org.bukkit.Location</h1>
|
|
</div>
|
|
<div class="caption"><span>Packages that use <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table two-column-summary">
|
|
<div class="table-header col-first">Package</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><a href="#com.destroystokyo.paper">com.destroystokyo.paper</a></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><a href="#com.destroystokyo.paper.entity">com.destroystokyo.paper.entity</a></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><a href="#com.destroystokyo.paper.event.entity">com.destroystokyo.paper.event.entity</a></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><a href="#com.destroystokyo.paper.event.player">com.destroystokyo.paper.event.player</a></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><a href="#com.destroystokyo.paper.event.server">com.destroystokyo.paper.event.server</a></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><a href="#io.papermc.paper.event.entity">io.papermc.paper.event.entity</a></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><a href="#io.papermc.paper.event.world">io.papermc.paper.event.world</a></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><a href="#io.papermc.paper.event.world.border">io.papermc.paper.event.world.border</a></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><a href="#io.papermc.paper.math">io.papermc.paper.math</a></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><a href="#me.totalfreedom.scissors.event.block">me.totalfreedom.scissors.event.block</a></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><a href="#org.bukkit">org.bukkit</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The root package of the Bukkit API, contains generalized API classes.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><a href="#org.bukkit.block">org.bukkit.block</a></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Classes used to manipulate the voxels in a <a href="../World.html" title="interface in org.bukkit"><code>world</code></a>,
|
|
including special states.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><a href="#org.bukkit.block.data">org.bukkit.block.data</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Generalized BlockData classes.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><a href="#org.bukkit.boss">org.bukkit.boss</a></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Classes concerning the creation of boss bars that appear at the top of the
|
|
player's screen.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><a href="#org.bukkit.command">org.bukkit.command</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Classes relating to handling specialized non-chat player input.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><a href="#org.bukkit.configuration">org.bukkit.configuration</a></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Classes dedicated to handling a plugin's runtime configuration.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><a href="#org.bukkit.entity">org.bukkit.entity</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Interfaces for non-voxel objects that can exist in a <a href="../World.html" title="interface in org.bukkit"><code>world</code></a>, including all players, monsters, projectiles, etc.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><a href="#org.bukkit.entity.memory">org.bukkit.entity.memory</a></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Classes concerning an entity's persistent memory.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><a href="#org.bukkit.event.block">org.bukkit.event.block</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><a href="../event/Event.html" title="class in org.bukkit.event"><code>Events</code></a> relating to when a <a href="../block/Block.html" title="interface in org.bukkit.block"><code>block</code></a> is changed or interacts with the <a href="../World.html" title="interface in org.bukkit"><code>world</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><a href="#org.bukkit.event.entity">org.bukkit.event.entity</a></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><a href="../event/Event.html" title="class in org.bukkit.event"><code>Events</code></a> relating to <a href="../entity/Entity.html" title="interface in org.bukkit.entity"><code>entities</code></a>, excluding some directly referencing
|
|
some more specific entity types.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><a href="#org.bukkit.event.player">org.bukkit.event.player</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><a href="../event/Event.html" title="class in org.bukkit.event"><code>Events</code></a> relating to <a href="../entity/Player.html" title="interface in org.bukkit.entity"><code>players</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><a href="#org.bukkit.event.server">org.bukkit.event.server</a></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><a href="../event/Event.html" title="class in org.bukkit.event"><code>Events</code></a> relating to programmatic state
|
|
changes on the server.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><a href="#org.bukkit.event.vehicle">org.bukkit.event.vehicle</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><a href="../event/Event.html" title="class in org.bukkit.event"><code>Events</code></a> relating to <a href="../entity/Vehicle.html" title="interface in org.bukkit.entity"><code>vehicular entities</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><a href="#org.bukkit.event.world">org.bukkit.event.world</a></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><a href="../event/Event.html" title="class in org.bukkit.event"><code>Events</code></a> triggered by various <a href="../World.html" title="interface in org.bukkit"><code>world</code></a> states or changes.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><a href="#org.bukkit.generator">org.bukkit.generator</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Classes to facilitate <a href="../World.html" title="interface in org.bukkit"><code>world</code></a> generation
|
|
implementation.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><a href="#org.bukkit.inventory">org.bukkit.inventory</a></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Classes involved in manipulating player inventories and item interactions.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><a href="#org.bukkit.inventory.meta">org.bukkit.inventory.meta</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The interfaces used when manipulating extra data can can be stored inside
|
|
<a href="../inventory/ItemStack.html" title="class in org.bukkit.inventory"><code>item stacks</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><a href="#org.bukkit.loot">org.bukkit.loot</a></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Classes relevant to loot table manipulation and generation.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><a href="#org.bukkit.structure">org.bukkit.structure</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Classes related to creating or using <a href="../structure/Structure.html" title="interface in org.bukkit.structure"><code>structures</code></a> without creating <a href="../block/Structure.html" title="interface in org.bukkit.block"><code>Structure
|
|
blocks</code></a> in the world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><a href="#org.bukkit.util">org.bukkit.util</a></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Multi and single purpose classes to facilitate various programmatic
|
|
concepts.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><a href="#org.spigotmc.event.player">org.spigotmc.event.player</a></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Spigot-specific player events.</div>
|
|
</div>
|
|
</div>
|
|
<section class="class-uses">
|
|
<ul class="block-list">
|
|
<li>
|
|
<section class="detail" id="com.destroystokyo.paper">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../../../com/destroystokyo/paper/package-summary.html">com.destroystokyo.paper</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../../com/destroystokyo/paper/package-summary.html">com.destroystokyo.paper</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">ParticleBuilder.</span><code><a href="../../../com/destroystokyo/paper/ParticleBuilder.html#location()" class="member-name-link">location</a>()</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../../../com/destroystokyo/paper/package-summary.html">com.destroystokyo.paper</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><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="../../../com/destroystokyo/paper/ParticleBuilder.html" title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">ParticleBuilder.</span><code><a href="../../../com/destroystokyo/paper/ParticleBuilder.html#location(org.bukkit.Location)" class="member-name-link">location</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the location of where to spawn the particle</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="com.destroystokyo.paper.entity">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../../../com/destroystokyo/paper/entity/package-summary.html">com.destroystokyo.paper.entity</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../../com/destroystokyo/paper/entity/package-summary.html">com.destroystokyo.paper.entity</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Pathfinder.PathResult.</span><code><a href="../../../com/destroystokyo/paper/entity/Pathfinder.PathResult.html#getFinalPoint()" class="member-name-link">getFinalPoint</a>()</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Pathfinder.PathResult.</span><code><a href="../../../com/destroystokyo/paper/entity/Pathfinder.PathResult.html#getNextPoint()" class="member-name-link">getNextPoint</a>()</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../../../com/destroystokyo/paper/entity/package-summary.html">com.destroystokyo.paper.entity</a> that return types with arguments of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../Location.html" title="class in org.bukkit">Location</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Pathfinder.PathResult.</span><code><a href="../../../com/destroystokyo/paper/entity/Pathfinder.PathResult.html#getPoints()" class="member-name-link">getPoints</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">All currently calculated points to follow along the path to reach the destination location
|
|
|
|
Will return points the entity has already moved past, see <a href="../../../com/destroystokyo/paper/entity/Pathfinder.PathResult.html#getNextPointIndex()"><code>Pathfinder.PathResult.getNextPointIndex()</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../../../com/destroystokyo/paper/entity/package-summary.html">com.destroystokyo.paper.entity</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../../../com/destroystokyo/paper/entity/Pathfinder.PathResult.html" title="interface in com.destroystokyo.paper.entity">Pathfinder.PathResult</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Pathfinder.</span><code><a href="../../../com/destroystokyo/paper/entity/Pathfinder.html#findPath(org.bukkit.Location)" class="member-name-link">findPath</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Calculates a destination for the Entity to navigate to, but does not set it
|
|
as the current target.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Pathfinder.</span><code><a href="../../../com/destroystokyo/paper/entity/Pathfinder.html#moveTo(org.bukkit.Location)" class="member-name-link">moveTo</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Calculates a destination for the Entity to navigate to, and sets it with default speed
|
|
as the current target.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Pathfinder.</span><code><a href="../../../com/destroystokyo/paper/entity/Pathfinder.html#moveTo(org.bukkit.Location,double)" class="member-name-link">moveTo</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double speed)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Calculates a destination for the Entity to navigate to, with desired speed
|
|
as the current target.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="com.destroystokyo.paper.event.entity">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../../../com/destroystokyo/paper/event/entity/package-summary.html">com.destroystokyo.paper.event.entity</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../../com/destroystokyo/paper/event/entity/package-summary.html">com.destroystokyo.paper.event.entity</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">EntityPathfindEvent.</span><code><a href="../../../com/destroystokyo/paper/event/entity/EntityPathfindEvent.html#getLoc()" class="member-name-link">getLoc</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The Location of where the entity is about to move to.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">TurtleLayEggEvent.</span><code><a href="../../../com/destroystokyo/paper/event/entity/TurtleLayEggEvent.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Get the location where the eggs are being laid</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">TurtleStartDiggingEvent.</span><code><a href="../../../com/destroystokyo/paper/event/entity/TurtleStartDiggingEvent.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Get the location where the turtle is digging</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">PreSpawnerSpawnEvent.</span><code><a href="../../../com/destroystokyo/paper/event/entity/PreSpawnerSpawnEvent.html#getSpawnerLocation()" class="member-name-link">getSpawnerLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">PreCreatureSpawnEvent.</span><code><a href="../../../com/destroystokyo/paper/event/entity/PreCreatureSpawnEvent.html#getSpawnLocation()" class="member-name-link">getSpawnLocation</a>()</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../../../com/destroystokyo/paper/event/entity/package-summary.html">com.destroystokyo.paper.event.entity</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../com/destroystokyo/paper/event/entity/EntityPathfindEvent.html#%3Cinit%3E(org.bukkit.entity.Entity,org.bukkit.Location,org.bukkit.entity.Entity)" class="member-name-link">EntityPathfindEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> entity,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> targetEntity)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../../../com/destroystokyo/paper/event/entity/EntityTeleportEndGatewayEvent.html#%3Cinit%3E(org.bukkit.entity.Entity,org.bukkit.Location,org.bukkit.Location,org.bukkit.block.EndGateway)" class="member-name-link">EntityTeleportEndGatewayEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> what,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> to,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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/EndGateway.html" title="interface in org.bukkit.block">EndGateway</a> gateway)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../com/destroystokyo/paper/event/entity/PhantomPreSpawnEvent.html#%3Cinit%3E(org.bukkit.Location,org.bukkit.entity.Entity,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason)" class="member-name-link">PhantomPreSpawnEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> entity,
|
|
<a href="../event/entity/CreatureSpawnEvent.SpawnReason.html" title="enum class in org.bukkit.event.entity">CreatureSpawnEvent.SpawnReason</a> reason)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../../../com/destroystokyo/paper/event/entity/PreCreatureSpawnEvent.html#%3Cinit%3E(org.bukkit.Location,org.bukkit.entity.EntityType,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason)" class="member-name-link">PreCreatureSpawnEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/EntityType.html" title="enum class in org.bukkit.entity">EntityType</a> type,
|
|
<a href="../event/entity/CreatureSpawnEvent.SpawnReason.html" title="enum class in org.bukkit.event.entity">CreatureSpawnEvent.SpawnReason</a> reason)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../com/destroystokyo/paper/event/entity/PreSpawnerSpawnEvent.html#%3Cinit%3E(org.bukkit.Location,org.bukkit.entity.EntityType,org.bukkit.Location)" class="member-name-link">PreSpawnerSpawnEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/EntityType.html" title="enum class in org.bukkit.entity">EntityType</a> type,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> spawnerLocation)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../../../com/destroystokyo/paper/event/entity/TurtleLayEggEvent.html#%3Cinit%3E(org.bukkit.entity.Turtle,org.bukkit.Location,int)" class="member-name-link">TurtleLayEggEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Turtle.html" title="interface in org.bukkit.entity">Turtle</a> turtle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int eggCount)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../com/destroystokyo/paper/event/entity/TurtleStartDiggingEvent.html#%3Cinit%3E(org.bukkit.entity.Turtle,org.bukkit.Location)" class="member-name-link">TurtleStartDiggingEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Turtle.html" title="interface in org.bukkit.entity">Turtle</a> turtle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="com.destroystokyo.paper.event.player">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../../../com/destroystokyo/paper/event/player/package-summary.html">com.destroystokyo.paper.event.player</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../../com/destroystokyo/paper/event/player/package-summary.html">com.destroystokyo.paper.event.player</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">PlayerJumpEvent.</span><code><a href="../../../com/destroystokyo/paper/event/player/PlayerJumpEvent.html#getFrom()" class="member-name-link">getFrom</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the location this player jumped from</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">PlayerSetSpawnEvent.</span><code><a href="../../../com/destroystokyo/paper/event/player/PlayerSetSpawnEvent.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the location that the spawn is set to.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">PlayerPostRespawnEvent.</span><code><a href="../../../com/destroystokyo/paper/event/player/PlayerPostRespawnEvent.html#getRespawnedLocation()" class="member-name-link">getRespawnedLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Returns the location of the respawned player</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">PlayerJumpEvent.</span><code><a href="../../../com/destroystokyo/paper/event/player/PlayerJumpEvent.html#getTo()" class="member-name-link">getTo</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the location this player jumped to
|
|
|
|
This information is based on what the client sends, it typically
|
|
has little relation to the arc of the jump at any given point.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../../../com/destroystokyo/paper/event/player/package-summary.html">com.destroystokyo.paper.event.player</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">PlayerJumpEvent.</span><code><a href="../../../com/destroystokyo/paper/event/player/PlayerJumpEvent.html#setFrom(org.bukkit.Location)" class="member-name-link">setFrom</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> from)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the location to mark as where the player jumped from</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">PlayerSetSpawnEvent.</span><code><a href="../../../com/destroystokyo/paper/event/player/PlayerSetSpawnEvent.html#setLocation(org.bukkit.Location)" class="member-name-link">setLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the location to be set as the spawn location.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../../../com/destroystokyo/paper/event/player/package-summary.html">com.destroystokyo.paper.event.player</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../com/destroystokyo/paper/event/player/PlayerInitialSpawnEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location)" class="member-name-link">PlayerInitialSpawnEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> who,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> spawnLocation)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../../../com/destroystokyo/paper/event/player/PlayerJumpEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,org.bukkit.Location)" class="member-name-link">PlayerJumpEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> player,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> to)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../com/destroystokyo/paper/event/player/PlayerPostRespawnEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,boolean)" class="member-name-link">PlayerPostRespawnEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> respawnPlayer,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> respawnedLocation,
|
|
boolean isBedSpawn)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../../../com/destroystokyo/paper/event/player/PlayerSetSpawnEvent.html#%3Cinit%3E(org.bukkit.entity.Player,com.destroystokyo.paper.event.player.PlayerSetSpawnEvent.Cause,org.bukkit.Location,boolean,boolean,net.kyori.adventure.text.Component)" class="member-name-link">PlayerSetSpawnEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> who,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../../com/destroystokyo/paper/event/player/PlayerSetSpawnEvent.Cause.html" title="enum class in com.destroystokyo.paper.event.player">PlayerSetSpawnEvent.Cause</a> cause,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean forced,
|
|
boolean notifyPlayer,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html" title="class or interface in net.kyori.adventure.text" class="external-link">Component</a> notification)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../com/destroystokyo/paper/event/player/PlayerTeleportEndGatewayEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,org.bukkit.Location,org.bukkit.block.EndGateway)" class="member-name-link">PlayerTeleportEndGatewayEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> player,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> to,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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/EndGateway.html" title="interface in org.bukkit.block">EndGateway</a> gateway)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="com.destroystokyo.paper.event.server">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../../../com/destroystokyo/paper/event/server/package-summary.html">com.destroystokyo.paper.event.server</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../../com/destroystokyo/paper/event/server/package-summary.html">com.destroystokyo.paper.event.server</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">AsyncTabCompleteEvent.</span><code><a href="../../../com/destroystokyo/paper/event/server/AsyncTabCompleteEvent.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../../../com/destroystokyo/paper/event/server/package-summary.html">com.destroystokyo.paper.event.server</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../com/destroystokyo/paper/event/server/AsyncTabCompleteEvent.html#%3Cinit%3E(org.bukkit.command.CommandSender,java.lang.String,boolean,org.bukkit.Location)" class="member-name-link">AsyncTabCompleteEvent</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="../command/CommandSender.html" title="interface in org.bukkit.command">CommandSender</a> sender,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> buffer,
|
|
boolean isCommand,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../../../com/destroystokyo/paper/event/server/AsyncTabCompleteEvent.html#%3Cinit%3E(org.bukkit.command.CommandSender,java.util.List,java.lang.String,boolean,org.bukkit.Location)" class="member-name-link">AsyncTabCompleteEvent</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="../command/CommandSender.html" title="interface in org.bukkit.command">CommandSender</a> sender,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="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>> completions,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> buffer,
|
|
boolean isCommand,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="io.papermc.paper.event.entity">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../../../io/papermc/paper/event/entity/package-summary.html">io.papermc.paper.event.entity</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../../io/papermc/paper/event/entity/package-summary.html">io.papermc.paper.event.entity</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">EntityMoveEvent.</span><code><a href="../../../io/papermc/paper/event/entity/EntityMoveEvent.html#getFrom()" class="member-name-link">getFrom</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the location this entity moved from</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">EntityMoveEvent.</span><code><a href="../../../io/papermc/paper/event/entity/EntityMoveEvent.html#getTo()" class="member-name-link">getTo</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the location this entity moved to</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../../../io/papermc/paper/event/entity/package-summary.html">io.papermc.paper.event.entity</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">EntityMoveEvent.</span><code><a href="../../../io/papermc/paper/event/entity/EntityMoveEvent.html#setFrom(org.bukkit.Location)" class="member-name-link">setFrom</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> from)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the location to mark as where the entity moved from</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">EntityMoveEvent.</span><code><a href="../../../io/papermc/paper/event/entity/EntityMoveEvent.html#setTo(org.bukkit.Location)" class="member-name-link">setTo</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> to)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the location that this entity will move to</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../../../io/papermc/paper/event/entity/package-summary.html">io.papermc.paper.event.entity</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../io/papermc/paper/event/entity/EntityMoveEvent.html#%3Cinit%3E(org.bukkit.entity.LivingEntity,org.bukkit.Location,org.bukkit.Location)" class="member-name-link">EntityMoveEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a> entity,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> to)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="io.papermc.paper.event.world">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../../../io/papermc/paper/event/world/package-summary.html">io.papermc.paper.event.world</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../../io/papermc/paper/event/world/package-summary.html">io.papermc.paper.event.world</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">StructureLocateEvent.</span><code><a href="../../../io/papermc/paper/event/world/StructureLocateEvent.html#getOrigin()" class="member-name-link">getOrigin</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
|
|
<div class="block">Gets the <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> from which the search is to be conducted.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">StructuresLocateEvent.</span><code><a href="../../../io/papermc/paper/event/world/StructuresLocateEvent.html#getOrigin()" class="member-name-link">getOrigin</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> from which the search is to be conducted.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">StructureLocateEvent.</span><code><a href="../../../io/papermc/paper/event/world/StructureLocateEvent.html#getResult()" class="member-name-link">getResult</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
|
|
<div class="block">Gets the location set as the structure location, if it was defined.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">StructuresLocateEvent.Result.</span><code><a href="../../../io/papermc/paper/event/world/StructuresLocateEvent.Result.html#position()" class="member-name-link">position</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Returns the value of the <code>position</code> record component.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../../../io/papermc/paper/event/world/package-summary.html">io.papermc.paper.event.world</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">StructureLocateEvent.</span><code><a href="../../../io/papermc/paper/event/world/StructureLocateEvent.html#setResult(org.bukkit.Location)" class="member-name-link">setResult</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> result)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
|
|
<div class="block">Sets the result <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../../../io/papermc/paper/event/world/package-summary.html">io.papermc.paper.event.world</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../io/papermc/paper/event/world/StructuresLocateEvent.Result.html#%3Cinit%3E(org.bukkit.Location,io.papermc.paper.world.structure.ConfiguredStructure)" class="member-name-link">Result</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> position,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../../io/papermc/paper/world/structure/ConfiguredStructure.html" title="class in io.papermc.paper.world.structure">ConfiguredStructure</a> configuredStructure)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates an instance of a <code>Result</code> record class.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../../../io/papermc/paper/event/world/StructureLocateEvent.html#%3Cinit%3E(org.bukkit.World,org.bukkit.Location,org.bukkit.StructureType,int,boolean)" class="member-name-link">StructureLocateEvent</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="../World.html" title="interface in org.bukkit">World</a> world,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../StructureType.html" title="class in org.bukkit">StructureType</a> structureType,
|
|
int radius,
|
|
boolean findUnexplored)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../io/papermc/paper/event/world/StructuresLocateEvent.html#%3Cinit%3E(org.bukkit.World,org.bukkit.Location,java.util.List,int,boolean)" class="member-name-link">StructuresLocateEvent</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="../World.html" title="interface in org.bukkit">World</a> world,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../../../io/papermc/paper/world/structure/ConfiguredStructure.html" title="class in io.papermc.paper.world.structure">ConfiguredStructure</a>> configuredStructures,
|
|
int radius,
|
|
boolean findUnexplored)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="io.papermc.paper.event.world.border">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../../../io/papermc/paper/event/world/border/package-summary.html">io.papermc.paper.event.world.border</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../../io/papermc/paper/event/world/border/package-summary.html">io.papermc.paper.event.world.border</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">WorldBorderCenterChangeEvent.</span><code><a href="../../../io/papermc/paper/event/world/border/WorldBorderCenterChangeEvent.html#getNewCenter()" class="member-name-link">getNewCenter</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the new center location for the world border.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">WorldBorderCenterChangeEvent.</span><code><a href="../../../io/papermc/paper/event/world/border/WorldBorderCenterChangeEvent.html#getOldCenter()" class="member-name-link">getOldCenter</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the original center location of the world border.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../../../io/papermc/paper/event/world/border/package-summary.html">io.papermc.paper.event.world.border</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">WorldBorderCenterChangeEvent.</span><code><a href="../../../io/papermc/paper/event/world/border/WorldBorderCenterChangeEvent.html#setNewCenter(org.bukkit.Location)" class="member-name-link">setNewCenter</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> newCenter)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the new center location for the world border.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../../../io/papermc/paper/event/world/border/package-summary.html">io.papermc.paper.event.world.border</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../io/papermc/paper/event/world/border/WorldBorderCenterChangeEvent.html#%3Cinit%3E(org.bukkit.World,org.bukkit.WorldBorder,org.bukkit.Location,org.bukkit.Location)" class="member-name-link">WorldBorderCenterChangeEvent</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="../World.html" title="interface in org.bukkit">World</a> world,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../WorldBorder.html" title="interface in org.bukkit">WorldBorder</a> worldBorder,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> oldCenter,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> newCenter)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="io.papermc.paper.math">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../../../io/papermc/paper/math/package-summary.html">io.papermc.paper.math</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../../io/papermc/paper/math/package-summary.html">io.papermc.paper.math</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Position.</span><code><a href="../../../io/papermc/paper/math/Position.html#toLocation(org.bukkit.World)" class="member-name-link">toLocation</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="../World.html" title="interface in org.bukkit">World</a> world)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates a new location object at this position with the specified world</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../../../io/papermc/paper/math/package-summary.html">io.papermc.paper.math</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>static <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../../io/papermc/paper/math/BlockPosition.html" title="interface in io.papermc.paper.math">BlockPosition</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Position.</span><code><a href="../../../io/papermc/paper/math/Position.html#block(org.bukkit.Location)" class="member-name-link">block</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates a position from the location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../../io/papermc/paper/math/FinePosition.html" title="interface in io.papermc.paper.math">FinePosition</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Position.</span><code><a href="../../../io/papermc/paper/math/Position.html#fine(org.bukkit.Location)" class="member-name-link">fine</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Creates a position from the location.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="me.totalfreedom.scissors.event.block">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../../../me/totalfreedom/scissors/event/block/package-summary.html">me.totalfreedom.scissors.event.block</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../../me/totalfreedom/scissors/event/block/package-summary.html">me.totalfreedom.scissors.event.block</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">MasterBlockFireEvent.</span><code><a href="../../../me/totalfreedom/scissors/event/block/MasterBlockFireEvent.html#getAt()" class="member-name-link">getAt</a>()</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../../../me/totalfreedom/scissors/event/block/package-summary.html">me.totalfreedom.scissors.event.block</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../../me/totalfreedom/scissors/event/block/MasterBlockFireEvent.html#%3Cinit%3E(org.bukkit.Location)" class="member-name-link">MasterBlockFireEvent</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> at)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../package-summary.html">org.bukkit</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#add(double,double,double)" class="member-name-link">add</a><wbr>(double x,
|
|
double y,
|
|
double z)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Adds the location by another.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#add(org.bukkit.Location)" class="member-name-link">add</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> vec)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Adds the location by another.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#add(org.bukkit.Location,double,double,double)" class="member-name-link">add</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> base,
|
|
double x,
|
|
double y,
|
|
double z)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Takes the x/y/z from base and adds the specified x/y/z to it and returns self
|
|
|
|
This mutates this object, clone first.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#add(org.bukkit.util.Vector)" class="member-name-link">add</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> vec)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Adds the location by a vector.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#clone()" class="member-name-link">clone</a>()</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code>static <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#deserialize(java.util.Map)" class="member-name-link">deserialize</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/Map.html" title="class or interface in java.util" class="external-link">Map</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>,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>> args)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Required method for deserialization</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#findLightningRod(org.bukkit.Location)" class="member-name-link">findLightningRod</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Finds the location of the nearest unobstructed Lightning Rod in a 128-block
|
|
radius around the given location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#findLightningTarget(org.bukkit.Location)" class="member-name-link">findLightningTarget</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Finds a target <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> for lightning to strike.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">OfflinePlayer.</span><code><a href="../OfflinePlayer.html#getBedSpawnLocation()" class="member-name-link">getBedSpawnLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the Location where the player will spawn at their bed, null if
|
|
they have not slept in one or their current bed spawn is invalid.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">WorldBorder.</span><code><a href="../WorldBorder.html#getCenter()" class="member-name-link">getCenter</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the current border center.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">OfflinePlayer.</span><code><a href="../OfflinePlayer.html#getLastDeathLocation()" class="member-name-link">getLastDeathLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the player's last death location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Raid.</span><code><a href="../Raid.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the center location where the raid occurs.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Vibration.Destination.BlockDestination.</span><code><a href="../Vibration.Destination.BlockDestination.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getLocationAtKey(long)" class="member-name-link">getLocationAtKey</a><wbr>(long key)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> at the given block key</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Vibration.</span><code><a href="../Vibration.html#getOrigin()" class="member-name-link">getOrigin</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span>
|
|
<div class="deprecation-comment">unused as of 1.19</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getSpawnLocation()" class="member-name-link">getSpawnLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the default spawn <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> of this world</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#locateNearestBiome(org.bukkit.Location,org.bukkit.block.Biome,int)" class="member-name-link">locateNearestBiome</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/Biome.html" title="enum class in org.bukkit.block">Biome</a> biome,
|
|
int radius)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Locates the nearest biome based on an origin, biome type, and radius to search.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#locateNearestBiome(org.bukkit.Location,org.bukkit.block.Biome,int,int)" class="member-name-link">locateNearestBiome</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/Biome.html" title="enum class in org.bukkit.block">Biome</a> biome,
|
|
int radius,
|
|
int step)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Locates the nearest biome based on an origin, biome type, and radius to search
|
|
and step</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#locateNearestStructure(org.bukkit.Location,org.bukkit.StructureType,int,boolean)" class="member-name-link">locateNearestStructure</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<a href="../StructureType.html" title="class in org.bukkit">StructureType</a> structureType,
|
|
int radius,
|
|
boolean findUnexplored)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use
|
|
<a href="../World.html#locateNearestStructure(org.bukkit.Location,org.bukkit.generator.structure.Structure,int,boolean)"><code>World.locateNearestStructure(Location, Structure, int, boolean)</code></a> or
|
|
<a href="../World.html#locateNearestStructure(org.bukkit.Location,org.bukkit.generator.structure.StructureType,int,boolean)"><code>World.locateNearestStructure(Location, StructureType, int, boolean)</code></a>
|
|
instead.</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#multiply(double)" class="member-name-link">multiply</a><wbr>(double m)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Performs scalar multiplication, multiplying all components with a
|
|
scalar.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#set(double,double,double)" class="member-name-link">set</a><wbr>(double x,
|
|
double y,
|
|
double z)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the position of this Location and returns itself
|
|
|
|
This mutates this object, clone first.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#setDirection(org.bukkit.util.Vector)" class="member-name-link">setDirection</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> vector)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the <a href="../Location.html#getYaw()"><code>yaw</code></a> and <a href="../Location.html#getPitch()"><code>pitch</code></a> to point
|
|
in the direction of the vector.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#subtract(double,double,double)" class="member-name-link">subtract</a><wbr>(double x,
|
|
double y,
|
|
double z)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Subtracts the location by another.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#subtract(org.bukkit.Location)" class="member-name-link">subtract</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> vec)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Subtracts the location by another.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#subtract(org.bukkit.Location,double,double,double)" class="member-name-link">subtract</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> base,
|
|
double x,
|
|
double y,
|
|
double z)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Takes the x/y/z from base and subtracts the specified x/y/z to it and returns self
|
|
|
|
This mutates this object, clone first.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#subtract(org.bukkit.util.Vector)" class="member-name-link">subtract</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> vec)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Subtracts the location by a vector.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#toBlockLocation()" class="member-name-link">toBlockLocation</a>()</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#toCenterLocation()" class="member-name-link">toCenterLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#toHighestLocation()" class="member-name-link">toHighestLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Returns a copy of this location except with y = getWorld().getHighestBlockYAt(this.getBlockX(), this.getBlockZ())</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#toHighestLocation(org.bukkit.HeightMap)" class="member-name-link">toHighestLocation</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="../HeightMap.html" title="enum class in org.bukkit">HeightMap</a> heightMap)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Returns a copy of this location except with y = getWorld().getHighestBlockYAt(this.getBlockX(), this.getBlockZ(), heightMap)</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#toHighestLocation(com.destroystokyo.paper.HeightmapType)" class="member-name-link">toHighestLocation</a><wbr>(<a href="../../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper">HeightmapType</a> heightmap)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use <a href="../Location.html#toHighestLocation(org.bukkit.HeightMap)"><code>toHighestLocation(HeightMap)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#toLocation(org.bukkit.World)" class="member-name-link">toLocation</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="../World.html" title="interface in org.bukkit">World</a> world)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#zero()" class="member-name-link">zero</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Zero this location's components.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../package-summary.html">org.bukkit</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#add(org.bukkit.Location)" class="member-name-link">add</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> vec)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Adds the location by another.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#add(org.bukkit.Location,double,double,double)" class="member-name-link">add</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> base,
|
|
double x,
|
|
double y,
|
|
double z)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Takes the x/y/z from base and adds the specified x/y/z to it and returns self
|
|
|
|
This mutates this object, clone first.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>static <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Bukkit.</span><code><a href="../Bukkit.html#createExplorerMap(org.bukkit.World,org.bukkit.Location,org.bukkit.StructureType)" class="member-name-link">createExplorerMap</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="../World.html" title="interface in org.bukkit">World</a> world,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../StructureType.html" title="class in org.bukkit">StructureType</a> structureType)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Create a new explorer map targeting the closest nearby structure of a
|
|
given <a href="../StructureType.html" title="class in org.bukkit"><code>StructureType</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Bukkit.</span><code><a href="../Bukkit.html#createExplorerMap(org.bukkit.World,org.bukkit.Location,org.bukkit.StructureType,int,boolean)" class="member-name-link">createExplorerMap</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="../World.html" title="interface in org.bukkit">World</a> world,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../StructureType.html" title="class in org.bukkit">StructureType</a> structureType,
|
|
int radius,
|
|
boolean findUnexplored)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Create a new explorer map targeting the closest nearby structure of a
|
|
given <a href="../StructureType.html" title="class in org.bukkit"><code>StructureType</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><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="../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Server.</span><code><a href="../Server.html#createExplorerMap(org.bukkit.World,org.bukkit.Location,org.bukkit.StructureType)" class="member-name-link">createExplorerMap</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="../World.html" title="interface in org.bukkit">World</a> world,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../StructureType.html" title="class in org.bukkit">StructureType</a> structureType)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Create a new explorer map targeting the closest nearby structure of a
|
|
given <a href="../StructureType.html" title="class in org.bukkit"><code>StructureType</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><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="../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Server.</span><code><a href="../Server.html#createExplorerMap(org.bukkit.World,org.bukkit.Location,org.bukkit.StructureType,int,boolean)" class="member-name-link">createExplorerMap</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="../World.html" title="interface in org.bukkit">World</a> world,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../StructureType.html" title="class in org.bukkit">StructureType</a> structureType,
|
|
int radius,
|
|
boolean findUnexplored)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Create a new explorer map targeting the closest nearby structure of a
|
|
given <a href="../StructureType.html" title="class in org.bukkit"><code>StructureType</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#createExplosion(org.bukkit.Location,float)" class="member-name-link">createExplosion</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates explosion at given coordinates with given power</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#createExplosion(org.bukkit.Location,float,boolean)" class="member-name-link">createExplosion</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#createExplosion(org.bukkit.Location,float,boolean,boolean)" class="member-name-link">createExplosion</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire or breaking blocks.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#createExplosion(org.bukkit.Location,float,boolean,boolean,org.bukkit.entity.Entity)" class="member-name-link">createExplosion</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Creates explosion at given coordinates with given power and optionally
|
|
setting blocks on fire or breaking blocks.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#createExplosion(org.bukkit.entity.Entity,org.bukkit.Location,float)" class="member-name-link">createExplosion</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates explosion at given location with given power, with the specified entity as the source.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#createExplosion(org.bukkit.entity.Entity,org.bukkit.Location,float,boolean)" class="member-name-link">createExplosion</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Creates explosion at given location with given power and optionally
|
|
setting blocks on fire, with the specified entity as the source.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#createExplosion(org.bukkit.entity.Entity,org.bukkit.Location,float,boolean,boolean)" class="member-name-link">createExplosion</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> source,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float power,
|
|
boolean setFire,
|
|
boolean breakBlocks)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates explosion at given location with given power and optionally
|
|
setting blocks on fire, with the specified entity as the source.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>double</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#distance(org.bukkit.Location)" class="member-name-link">distance</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> o)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Get the distance between this location and another.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>double</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#distanceSquared(org.bukkit.Location)" class="member-name-link">distanceSquared</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> o)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Get the squared distance between this location and another.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Item.html" title="interface in org.bukkit.entity">Item</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#dropItem(org.bukkit.Location,org.bukkit.inventory.ItemStack)" class="member-name-link">dropItem</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Drops an item at the specified <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Item.html" title="interface in org.bukkit.entity">Item</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#dropItem(org.bukkit.Location,org.bukkit.inventory.ItemStack,org.bukkit.util.Consumer)" class="member-name-link">dropItem</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/Consumer.html" title="interface in org.bukkit.util">Consumer</a><<a href="../entity/Item.html" title="interface in org.bukkit.entity">Item</a>> function)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Drops an item at the specified <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>
|
|
Note that functions will run before the entity is spawned</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Item.html" title="interface in org.bukkit.entity">Item</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#dropItemNaturally(org.bukkit.Location,org.bukkit.inventory.ItemStack)" class="member-name-link">dropItemNaturally</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Drops an item at the specified <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> with a random offset</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Item.html" title="interface in org.bukkit.entity">Item</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#dropItemNaturally(org.bukkit.Location,org.bukkit.inventory.ItemStack,org.bukkit.util.Consumer)" class="member-name-link">dropItemNaturally</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/Consumer.html" title="interface in org.bukkit.util">Consumer</a><<a href="../entity/Item.html" title="interface in org.bukkit.entity">Item</a>> function)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Drops an item at the specified <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> with a random offset
|
|
Note that functions will run before the entity is spawned</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#findLightningRod(org.bukkit.Location)" class="member-name-link">findLightningRod</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Finds the location of the nearest unobstructed Lightning Rod in a 128-block
|
|
radius around the given location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#findLightningTarget(org.bukkit.Location)" class="member-name-link">findLightningTarget</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Finds a target <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> for lightning to strike.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#generateTree(org.bukkit.Location,java.util.Random,org.bukkit.TreeType)" class="member-name-link">generateTree</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Random.html" title="class or interface in java.util" class="external-link">Random</a> random,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../TreeType.html" title="enum class in org.bukkit">TreeType</a> type)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Creates a tree at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#generateTree(org.bukkit.Location,java.util.Random,org.bukkit.TreeType,java.util.function.Predicate)" class="member-name-link">generateTree</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Random.html" title="class or interface in java.util" class="external-link">Random</a> random,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../TreeType.html" title="enum class in org.bukkit">TreeType</a> type,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="../block/BlockState.html" title="interface in org.bukkit.block">BlockState</a>> statePredicate)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates a tree at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#generateTree(org.bukkit.Location,java.util.Random,org.bukkit.TreeType,org.bukkit.util.Consumer)" class="member-name-link">generateTree</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Random.html" title="class or interface in java.util" class="external-link">Random</a> random,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../TreeType.html" title="enum class in org.bukkit">TreeType</a> type,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/Consumer.html" title="interface in org.bukkit.util">Consumer</a><<a href="../block/BlockState.html" title="interface in org.bukkit.block">BlockState</a>> stateConsumer)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Creates a tree at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#generateTree(org.bukkit.Location,org.bukkit.TreeType)" class="member-name-link">generateTree</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../TreeType.html" title="enum class in org.bukkit">TreeType</a> type)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates a tree at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#generateTree(org.bukkit.Location,org.bukkit.TreeType,org.bukkit.BlockChangeDelegate)" class="member-name-link">generateTree</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../TreeType.html" title="enum class in org.bukkit">TreeType</a> type,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../BlockChangeDelegate.html" title="interface in org.bukkit">BlockChangeDelegate</a> delegate)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">this method does not handle tile entities (bee nests)</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/Biome.html" title="enum class in org.bukkit.block">Biome</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#getBiome(org.bukkit.Location)" class="member-name-link">getBiome</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the <a href="../block/Biome.html" title="enum class in org.bukkit.block"><code>Biome</code></a> at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getBlockAt(org.bukkit.Location)" class="member-name-link">getBlockAt</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the <a href="../block/Block.html" title="interface in org.bukkit.block"><code>Block</code></a> at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first even-row-color"><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/data/BlockData.html" title="interface in org.bukkit.block.data">BlockData</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#getBlockData(org.bukkit.Location)" class="member-name-link">getBlockData</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the <a href="../block/data/BlockData.html" title="interface in org.bukkit.block.data"><code>BlockData</code></a> at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><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 odd-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#getBlockState(org.bukkit.Location)" class="member-name-link">getBlockState</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the <a href="../block/BlockState.html" title="interface in org.bukkit.block"><code>BlockState</code></a> at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Chunk.html" title="interface in org.bukkit">Chunk</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getChunkAt(org.bukkit.Location)" class="member-name-link">getChunkAt</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the <a href="../Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="../Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getChunkAtAsync(org.bukkit.Location)" class="member-name-link">getChunkAtAsync</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Requests a <a href="../Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="../Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getChunkAtAsync(org.bukkit.Location,boolean)" class="member-name-link">getChunkAtAsync</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
boolean gen)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Requests a <a href="../Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getChunkAtAsync(org.bukkit.Location,boolean,java.util.function.Consumer)" class="member-name-link">getChunkAtAsync</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
boolean gen,
|
|
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a><<a href="../Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Requests a <a href="../Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getChunkAtAsync(org.bukkit.Location,org.bukkit.World.ChunkLoadCallback)" class="member-name-link">getChunkAtAsync</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../World.ChunkLoadCallback.html" title="interface in org.bukkit">World.ChunkLoadCallback</a> cb)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use either the Future or the Consumer based methods</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getChunkAtAsync(org.bukkit.Location,java.util.function.Consumer)" class="member-name-link">getChunkAtAsync</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Consumer.html" title="class or interface in java.util.function" class="external-link">Consumer</a><<a href="../Chunk.html" title="interface in org.bukkit">Chunk</a>> cb)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Requests a <a href="../Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="../Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getChunkAtAsyncUrgently(org.bukkit.Location)" class="member-name-link">getChunkAtAsyncUrgently</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Requests a <a href="../Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="../Chunk.html" title="interface in org.bukkit">Chunk</a>></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getChunkAtAsyncUrgently(org.bukkit.Location,boolean)" class="member-name-link">getChunkAtAsyncUrgently</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
boolean gen)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Requests a <a href="../Chunk.html" title="interface in org.bukkit"><code>Chunk</code></a> to be loaded at the given coordinates
|
|
|
|
This method makes no guarantee on how fast the chunk will load,
|
|
and will return the chunk to the callback at a later time.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>static long</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Chunk.</span><code><a href="../Chunk.html#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> loc)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getHighestBlockAt(org.bukkit.Location)" class="member-name-link">getHighestBlockAt</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the highest non-empty (impassable) block at the given coordinates.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><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"><span class="type-name-label">World.</span><code><a href="../World.html#getHighestBlockAt(org.bukkit.Location,org.bukkit.HeightMap)" class="member-name-link">getHighestBlockAt</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../HeightMap.html" title="enum class in org.bukkit">HeightMap</a> heightMap)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the highest block corresponding to the <a href="../HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a> at the
|
|
given coordinates.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getHighestBlockAt(org.bukkit.Location,com.destroystokyo.paper.HeightmapType)" class="member-name-link">getHighestBlockAt</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="../../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper">HeightmapType</a> heightmap)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Upstream has added support for this, use <a href="../World.html#getHighestBlockAt(org.bukkit.Location,org.bukkit.HeightMap)"><code>World.getHighestBlockAt(Location, HeightMap)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>int</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getHighestBlockYAt(org.bukkit.Location)" class="member-name-link">getHighestBlockYAt</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the highest non-empty (impassable) coordinate at the given
|
|
<a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>int</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getHighestBlockYAt(org.bukkit.Location,org.bukkit.HeightMap)" class="member-name-link">getHighestBlockYAt</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../HeightMap.html" title="enum class in org.bukkit">HeightMap</a> heightMap)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the highest coordinate corresponding to the <a href="../HeightMap.html" title="enum class in org.bukkit"><code>HeightMap</code></a> at the
|
|
given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default int</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getHighestBlockYAt(org.bukkit.Location,com.destroystokyo.paper.HeightmapType)" class="member-name-link">getHighestBlockYAt</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="../../../com/destroystokyo/paper/HeightmapType.html" title="enum class in com.destroystokyo.paper">HeightmapType</a> heightmap)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Upstream has added support for this, use <a href="../World.html#getHighestBlockYAt(org.bukkit.Location,org.bukkit.HeightMap)"><code>World.getHighestBlockYAt(Location, HeightMap)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyEntities(org.bukkit.Location,double,double,double)" class="member-name-link">getNearbyEntities</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
double x,
|
|
double y,
|
|
double z)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Returns a list of entities within a bounding box centered around a
|
|
Location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyEntities(org.bukkit.Location,double,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyEntities</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
double x,
|
|
double y,
|
|
double z,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Returns a list of entities within a bounding box centered around a
|
|
Location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <T extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyEntitiesByType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> clazz,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><T> predicate)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <T extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double)" class="member-name-link">getNearbyEntitiesByType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <T extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,double)" class="member-name-link">getNearbyEntitiesByType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius, with x and x radius matching (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <T extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,double,double)" class="member-name-link">getNearbyEntitiesByType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <T extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyEntitiesByType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><T> predicate)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius, with x and x radius matching (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <T extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><T></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyEntitiesByType(java.lang.Class,org.bukkit.Location,double,java.util.function.Predicate)" class="member-name-link">getNearbyEntitiesByType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends T> clazz,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><T> predicate)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets all nearby entities of the specified type, within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyLivingEntities(org.bukkit.Location,double)" class="member-name-link">getNearbyLivingEntities</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyLivingEntities(org.bukkit.Location,double,double)" class="member-name-link">getNearbyLivingEntities</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyLivingEntities(org.bukkit.Location,double,double,double)" class="member-name-link">getNearbyLivingEntities</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyLivingEntities(org.bukkit.Location,double,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyLivingEntities</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="../entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>> predicate)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyLivingEntities(org.bukkit.Location,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyLivingEntities</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="../entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>> predicate)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyLivingEntities(org.bukkit.Location,double,java.util.function.Predicate)" class="member-name-link">getNearbyLivingEntities</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="../entity/LivingEntity.html" title="interface in org.bukkit.entity">LivingEntity</a>> predicate)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets nearby LivingEntities within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyPlayers(org.bukkit.Location,double)" class="member-name-link">getNearbyPlayers</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyPlayers(org.bukkit.Location,double,double)" class="member-name-link">getNearbyPlayers</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyPlayers(org.bukkit.Location,double,double,double)" class="member-name-link">getNearbyPlayers</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyPlayers(org.bukkit.Location,double,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyPlayers</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xRadius,
|
|
double yRadius,
|
|
double zRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a>> predicate)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyPlayers(org.bukkit.Location,double,double,java.util.function.Predicate)" class="member-name-link">getNearbyPlayers</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double xzRadius,
|
|
double yRadius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a>> predicate)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#getNearbyPlayers(org.bukkit.Location,double,java.util.function.Predicate)" class="member-name-link">getNearbyPlayers</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double radius,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a>> predicate)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets nearby players within the specified radius (bounding box)</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><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="../Material.html" title="enum class in org.bukkit">Material</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#getType(org.bukkit.Location)" class="member-name-link">getType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the type of the block at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">WorldBorder.</span><code><a href="../WorldBorder.html#isInBounds(org.bukkit.Location)" class="member-name-link">isInBounds</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="../WorldBorder.html#isInside(org.bukkit.Location)"><code>WorldBorder.isInside(Location)</code></a> for an upstream compatible replacement</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">WorldBorder.</span><code><a href="../WorldBorder.html#isInside(org.bukkit.Location)" class="member-name-link">isInside</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Check if the specified location is inside this border.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#lineOfSightExists(org.bukkit.Location,org.bukkit.Location)" class="member-name-link">lineOfSightExists</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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> to)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Tell whether a line of sight exists between the given locations</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#locateNearestBiome(org.bukkit.Location,org.bukkit.block.Biome,int)" class="member-name-link">locateNearestBiome</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/Biome.html" title="enum class in org.bukkit.block">Biome</a> biome,
|
|
int radius)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Locates the nearest biome based on an origin, biome type, and radius to search.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#locateNearestBiome(org.bukkit.Location,org.bukkit.block.Biome,int,int)" class="member-name-link">locateNearestBiome</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/Biome.html" title="enum class in org.bukkit.block">Biome</a> biome,
|
|
int radius,
|
|
int step)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Locates the nearest biome based on an origin, biome type, and radius to search
|
|
and step</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Raid.html" title="interface in org.bukkit">Raid</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#locateNearestRaid(org.bukkit.Location,int)" class="member-name-link">locateNearestRaid</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int radius)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Finds the nearest raid close to the given location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/StructureSearchResult.html" title="interface in org.bukkit.util">StructureSearchResult</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#locateNearestStructure(org.bukkit.Location,org.bukkit.generator.structure.Structure,int,boolean)" class="member-name-link">locateNearestStructure</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../generator/structure/Structure.html" title="class in org.bukkit.generator.structure">Structure</a> structure,
|
|
int radius,
|
|
boolean findUnexplored)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Find the closest nearby structure of a given <a href="../generator/structure/Structure.html" title="class in org.bukkit.generator.structure"><code>Structure</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/StructureSearchResult.html" title="interface in org.bukkit.util">StructureSearchResult</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#locateNearestStructure(org.bukkit.Location,org.bukkit.generator.structure.StructureType,int,boolean)" class="member-name-link">locateNearestStructure</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../generator/structure/StructureType.html" title="class in org.bukkit.generator.structure">StructureType</a> structureType,
|
|
int radius,
|
|
boolean findUnexplored)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Find the closest nearby structure of a given <a href="../generator/structure/StructureType.html" title="class in org.bukkit.generator.structure"><code>StructureType</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#locateNearestStructure(org.bukkit.Location,org.bukkit.StructureType,int,boolean)" class="member-name-link">locateNearestStructure</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<a href="../StructureType.html" title="class in org.bukkit">StructureType</a> structureType,
|
|
int radius,
|
|
boolean findUnexplored)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Use
|
|
<a href="../World.html#locateNearestStructure(org.bukkit.Location,org.bukkit.generator.structure.Structure,int,boolean)"><code>World.locateNearestStructure(Location, Structure, int, boolean)</code></a> or
|
|
<a href="../World.html#locateNearestStructure(org.bukkit.Location,org.bukkit.generator.structure.StructureType,int,boolean)"><code>World.locateNearestStructure(Location, StructureType, int, boolean)</code></a>
|
|
instead.</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#playEffect(org.bukkit.Location,org.bukkit.Effect,int)" class="member-name-link">playEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
int data)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Plays an effect to all players within a default radius around a given
|
|
location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#playEffect(org.bukkit.Location,org.bukkit.Effect,int,int)" class="member-name-link">playEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
int data,
|
|
int radius)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Plays an effect to all players within a given radius around a location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><T> void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#playEffect(org.bukkit.Location,org.bukkit.Effect,T)" class="member-name-link">playEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
T data)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Plays an effect to all players within a default radius around a given
|
|
location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><T> void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#playEffect(org.bukkit.Location,org.bukkit.Effect,T,int)" class="member-name-link">playEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
T data,
|
|
int radius)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Plays an effect to all players within a given radius around a location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#playSound(org.bukkit.Location,java.lang.String,float,float)" class="member-name-link">playSound</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> sound,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Play a Sound at the provided Location in the World.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#playSound(org.bukkit.Location,java.lang.String,org.bukkit.SoundCategory,float,float)" class="member-name-link">playSound</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> sound,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../SoundCategory.html" title="enum class in org.bukkit">SoundCategory</a> category,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Play a Sound at the provided Location in the World.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#playSound(org.bukkit.Location,org.bukkit.Sound,float,float)" class="member-name-link">playSound</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Sound.html" title="enum class in org.bukkit">Sound</a> sound,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Play a Sound at the provided Location in the World.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#playSound(org.bukkit.Location,org.bukkit.Sound,org.bukkit.SoundCategory,float,float)" class="member-name-link">playSound</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Sound.html" title="enum class in org.bukkit">Sound</a> sound,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../SoundCategory.html" title="enum class in org.bukkit">SoundCategory</a> category,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Play a Sound at the provided Location in the World.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#rayTrace(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode,boolean,double,java.util.function.Predicate)" class="member-name-link">rayTrace</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> start,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a> fluidCollisionMode,
|
|
boolean ignorePassableBlocks,
|
|
double raySize,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Performs a ray trace that checks for both block and entity collisions.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#rayTraceBlocks(org.bukkit.Location,org.bukkit.util.Vector,double)" class="member-name-link">rayTraceBlocks</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> start,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Performs a ray trace that checks for block collisions using the blocks'
|
|
precise collision shapes.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#rayTraceBlocks(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode)" class="member-name-link">rayTraceBlocks</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> start,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a> fluidCollisionMode)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Performs a ray trace that checks for block collisions using the blocks'
|
|
precise collision shapes.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#rayTraceBlocks(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode,boolean)" class="member-name-link">rayTraceBlocks</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> start,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a> fluidCollisionMode,
|
|
boolean ignorePassableBlocks)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Performs a ray trace that checks for block collisions using the blocks'
|
|
precise collision shapes.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double)" class="member-name-link">rayTraceEntities</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> start,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Performs a ray trace that checks for entity collisions.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double,double)" class="member-name-link">rayTraceEntities</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> start,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
double raySize)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Performs a ray trace that checks for entity collisions.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double,double,java.util.function.Predicate)" class="member-name-link">rayTraceEntities</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> start,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
double raySize,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Performs a ray trace that checks for entity collisions.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#rayTraceEntities(org.bukkit.Location,org.bukkit.util.Vector,double,java.util.function.Predicate)" class="member-name-link">rayTraceEntities</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> start,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Predicate.html" title="class or interface in java.util.function" class="external-link">Predicate</a><<a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> filter)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Performs a ray trace that checks for entity collisions.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#setBiome(org.bukkit.Location,org.bukkit.block.Biome)" class="member-name-link">setBiome</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/Biome.html" title="enum class in org.bukkit.block">Biome</a> biome)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the <a href="../block/Biome.html" title="enum class in org.bukkit.block"><code>Biome</code></a> at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#setBlockData(org.bukkit.Location,org.bukkit.block.data.BlockData)" class="member-name-link">setBlockData</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/data/BlockData.html" title="interface in org.bukkit.block.data">BlockData</a> blockData)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the <a href="../block/data/BlockData.html" title="interface in org.bukkit.block.data"><code>BlockData</code></a> at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">WorldBorder.</span><code><a href="../WorldBorder.html#setCenter(org.bukkit.Location)" class="member-name-link">setCenter</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the new border center.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#setSpawnLocation(org.bukkit.Location)" class="member-name-link">setSpawnLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the spawn location of the world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#setType(org.bukkit.Location,org.bukkit.Material)" class="member-name-link">setType</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Material.html" title="enum class in org.bukkit">Material</a> material)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the <a href="../Material.html" title="enum class in org.bukkit"><code>Material</code></a> at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><T extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br>T</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#spawn(org.bukkit.Location,java.lang.Class)" class="member-name-link">spawn</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T> clazz)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Spawn an entity of a specific class at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><T extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br>T</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#spawn(org.bukkit.Location,java.lang.Class,boolean,org.bukkit.util.Consumer)" class="member-name-link">spawn</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T> clazz,
|
|
boolean randomizeData,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/Consumer.html" title="interface in org.bukkit.util">Consumer</a><T> function)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Creates a new entity at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> with the supplied
|
|
function run before the entity is added to the world.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <T extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br>T</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#spawn(org.bukkit.Location,java.lang.Class,org.bukkit.util.Consumer)" class="member-name-link">spawn</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T> clazz,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/Consumer.html" title="interface in org.bukkit.util">Consumer</a><T> function)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Spawn an entity of a specific class at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>, with
|
|
the supplied function run before the entity is added to the world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><T extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br>T</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#spawn(org.bukkit.Location,java.lang.Class,org.bukkit.util.Consumer,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason)" class="member-name-link">spawn</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T> clazz,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/Consumer.html" title="interface in org.bukkit.util">Consumer</a><T> function,
|
|
<a href="../event/entity/CreatureSpawnEvent.SpawnReason.html" title="enum class in org.bukkit.event.entity">CreatureSpawnEvent.SpawnReason</a> reason)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code>default <T extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br>T</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#spawn(org.bukkit.Location,java.lang.Class,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason)" class="member-name-link">spawn</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T> clazz,
|
|
<a href="../event/entity/CreatureSpawnEvent.SpawnReason.html" title="enum class in org.bukkit.event.entity">CreatureSpawnEvent.SpawnReason</a> reason)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code>default <T extends <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>><br>T</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#spawn(org.bukkit.Location,java.lang.Class,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason,org.bukkit.util.Consumer)" class="member-name-link">spawn</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T> clazz,
|
|
<a href="../event/entity/CreatureSpawnEvent.SpawnReason.html" title="enum class in org.bukkit.event.entity">CreatureSpawnEvent.SpawnReason</a> reason,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/Consumer.html" title="interface in org.bukkit.util">Consumer</a><T> function)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Arrow.html" title="interface in org.bukkit.entity">Arrow</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#spawnArrow(org.bukkit.Location,org.bukkit.util.Vector,float,float)" class="member-name-link">spawnArrow</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
float speed,
|
|
float spread)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates an <a href="../entity/Arrow.html" title="interface in org.bukkit.entity"><code>Arrow</code></a> entity at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><T extends <a href="../entity/AbstractArrow.html" title="interface in org.bukkit.entity">AbstractArrow</a>><br>T</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#spawnArrow(org.bukkit.Location,org.bukkit.util.Vector,float,float,java.lang.Class)" class="member-name-link">spawnArrow</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
float speed,
|
|
float spread,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><T> clazz)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Creates an arrow entity of the given class at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first even-row-color"><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"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#spawnEntity(org.bukkit.Location,org.bukkit.entity.EntityType)" class="member-name-link">spawnEntity</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/EntityType.html" title="enum class in org.bukkit.entity">EntityType</a> type)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates a entity at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><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 odd-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#spawnEntity(org.bukkit.Location,org.bukkit.entity.EntityType,boolean)" class="member-name-link">spawnEntity</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/EntityType.html" title="enum class in org.bukkit.entity">EntityType</a> type,
|
|
boolean randomizeData)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Creates a new entity at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><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="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#spawnEntity(org.bukkit.Location,org.bukkit.entity.EntityType,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason)" class="member-name-link">spawnEntity</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="../entity/EntityType.html" title="enum class in org.bukkit.entity">EntityType</a> type,
|
|
<a href="../event/entity/CreatureSpawnEvent.SpawnReason.html" title="enum class in org.bukkit.event.entity">CreatureSpawnEvent.SpawnReason</a> reason)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><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="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">RegionAccessor.</span><code><a href="../RegionAccessor.html#spawnEntity(org.bukkit.Location,org.bukkit.entity.EntityType,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason,org.bukkit.util.Consumer)" class="member-name-link">spawnEntity</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="../entity/EntityType.html" title="enum class in org.bukkit.entity">EntityType</a> type,
|
|
<a href="../event/entity/CreatureSpawnEvent.SpawnReason.html" title="enum class in org.bukkit.event.entity">CreatureSpawnEvent.SpawnReason</a> reason,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/Consumer.html" title="interface in org.bukkit.util">Consumer</a><<a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a>> function)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/FallingBlock.html" title="interface in org.bukkit.entity">FallingBlock</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#spawnFallingBlock(org.bukkit.Location,org.bukkit.block.data.BlockData)" class="member-name-link">spawnFallingBlock</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/data/BlockData.html" title="interface in org.bukkit.block.data">BlockData</a> data)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Spawn a <a href="../entity/FallingBlock.html" title="interface in org.bukkit.entity"><code>FallingBlock</code></a> entity at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> of
|
|
the specified <a href="../Material.html" title="enum class in org.bukkit"><code>Material</code></a>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/FallingBlock.html" title="interface in org.bukkit.entity">FallingBlock</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#spawnFallingBlock(org.bukkit.Location,org.bukkit.material.MaterialData)" class="member-name-link">spawnFallingBlock</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../material/MaterialData.html" title="class in org.bukkit.material">MaterialData</a> data)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">use <a href="../World.html#spawnFallingBlock(org.bukkit.Location,org.bukkit.block.data.BlockData)"><code>World.spawnFallingBlock(Location, BlockData)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/FallingBlock.html" title="interface in org.bukkit.entity">FallingBlock</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#spawnFallingBlock(org.bukkit.Location,org.bukkit.Material,byte)" class="member-name-link">spawnFallingBlock</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Material.html" title="enum class in org.bukkit">Material</a> material,
|
|
byte data)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<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"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><T> void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double,T)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
T data)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><T> void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double,T,boolean)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
T data,
|
|
boolean force)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><T> void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,T)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
T data)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><T> void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,T)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
T data)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/LightningStrike.html" title="interface in org.bukkit.entity">LightningStrike</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.Spigot.</span><code><a href="../World.Spigot.html#strikeLightning(org.bukkit.Location,boolean)" class="member-name-link">strikeLightning</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
boolean isSilent)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Strikes lightning at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> and possibly without sound</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/LightningStrike.html" title="interface in org.bukkit.entity">LightningStrike</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#strikeLightning(org.bukkit.Location)" class="member-name-link">strikeLightning</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Strikes lightning at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a></div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/LightningStrike.html" title="interface in org.bukkit.entity">LightningStrike</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">World.Spigot.</span><code><a href="../World.Spigot.html#strikeLightningEffect(org.bukkit.Location,boolean)" class="member-name-link">strikeLightningEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
boolean isSilent)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Strikes lightning at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> without doing damage and possibly without sound</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/LightningStrike.html" title="interface in org.bukkit.entity">LightningStrike</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">World.</span><code><a href="../World.html#strikeLightningEffect(org.bukkit.Location)" class="member-name-link">strikeLightningEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Strikes lightning at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> without doing damage</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#subtract(org.bukkit.Location)" class="member-name-link">subtract</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> vec)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Subtracts the location by another.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Location.</span><code><a href="../Location.html#subtract(org.bukkit.Location,double,double,double)" class="member-name-link">subtract</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> base,
|
|
double x,
|
|
double y,
|
|
double z)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Takes the x/y/z from base and subtracts the specified x/y/z to it and returns self
|
|
|
|
This mutates this object, clone first.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../package-summary.html">org.bukkit</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../Vibration.Destination.BlockDestination.html#%3Cinit%3E(org.bukkit.Location)" class="member-name-link">BlockDestination</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> block)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../Vibration.html#%3Cinit%3E(org.bukkit.Location,org.bukkit.Vibration.Destination,int)" class="member-name-link">Vibration</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Vibration.Destination.html" title="interface in org.bukkit">Vibration.Destination</a> destination,
|
|
int arrivalTime)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.block">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../block/package-summary.html">org.bukkit.block</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../block/package-summary.html">org.bukkit.block</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">EndGateway.</span><code><a href="../block/EndGateway.html#getExitLocation()" class="member-name-link">getExitLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the location that entities are teleported to when
|
|
entering the gateway portal.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Beehive.</span><code><a href="../block/Beehive.html#getFlower()" class="member-name-link">getFlower</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Get the hive's flower location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Block.</span><code><a href="../block/Block.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the Location of the block</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Block.</span><code><a href="../block/Block.html#getLocation(org.bukkit.Location)" class="member-name-link">getLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Stores the location of the block in the provided Location object.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">BlockState.</span><code><a href="../block/BlockState.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the location of this block state.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">BlockState.</span><code><a href="../block/BlockState.html#getLocation(org.bukkit.Location)" class="member-name-link">getLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Stores the location of this block state in the provided Location object.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">DoubleChest.</span><code><a href="../block/DoubleChest.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../block/package-summary.html">org.bukkit.block</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Block.</span><code><a href="../block/Block.html#getLocation(org.bukkit.Location)" class="member-name-link">getLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Stores the location of the block in the provided Location object.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">BlockState.</span><code><a href="../block/BlockState.html#getLocation(org.bukkit.Location)" class="member-name-link">getLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Stores the location of this block state in the provided Location object.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Block.</span><code><a href="../block/Block.html#rayTrace(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode)" class="member-name-link">rayTrace</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> start,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> direction,
|
|
double maxDistance,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a> fluidCollisionMode)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Performs a ray trace that checks for collision with this specific block
|
|
in its current state using its precise collision shape.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">EndGateway.</span><code><a href="../block/EndGateway.html#setExitLocation(org.bukkit.Location)" class="member-name-link">setExitLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the exit location that entities are teleported to when
|
|
they enter the gateway portal.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Beehive.</span><code><a href="../block/Beehive.html#setFlower(org.bukkit.Location)" class="member-name-link">setFlower</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Set the hive's flower location.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.block.data">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../block/data/package-summary.html">org.bukkit.block.data</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../block/data/package-summary.html">org.bukkit.block.data</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">BlockData.</span><code><a href="../block/data/BlockData.html#isSupported(org.bukkit.Location)" class="member-name-link">isSupported</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Checks if this state would be properly supported if it were placed at
|
|
the block at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a>.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.boss">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../boss/package-summary.html">org.bukkit.boss</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../boss/package-summary.html">org.bukkit.boss</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">DragonBattle.</span><code><a href="../boss/DragonBattle.html#getEndPortalLocation()" class="member-name-link">getEndPortalLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Get the location of the end portal.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.command">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../command/package-summary.html">org.bukkit.command</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../command/package-summary.html">org.bukkit.command</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="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"><span class="type-name-label">Command.</span><code><a href="../command/Command.html#tabComplete(org.bukkit.command.CommandSender,java.lang.String,java.lang.String%5B%5D,org.bukkit.Location)" class="member-name-link">tabComplete</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="../command/CommandSender.html" title="interface in org.bukkit.command">CommandSender</a> sender,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> alias,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>[] args,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Executed on tab completion for this command, returning a list of
|
|
options the player can tab through.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</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 odd-row-color"><span class="type-name-label">CommandMap.</span><code><a href="../command/CommandMap.html#tabComplete(org.bukkit.command.CommandSender,java.lang.String,org.bukkit.Location)" class="member-name-link">tabComplete</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="../command/CommandSender.html" title="interface in org.bukkit.command">CommandSender</a> sender,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> cmdLine,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Looks for the requested command and executes an appropriate
|
|
tab-completer if found.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</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"><span class="type-name-label">SimpleCommandMap.</span><code><a href="../command/SimpleCommandMap.html#tabComplete(org.bukkit.command.CommandSender,java.lang.String,org.bukkit.Location)" class="member-name-link">tabComplete</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="../command/CommandSender.html" title="interface in org.bukkit.command">CommandSender</a> sender,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> cmdLine,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.configuration">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../configuration/package-summary.html">org.bukkit.configuration</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../configuration/package-summary.html">org.bukkit.configuration</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">ConfigurationSection.</span><code><a href="../configuration/ConfigurationSection.html#getLocation(java.lang.String)" class="member-name-link">getLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> path)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the requested Location by path.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">ConfigurationSection.</span><code><a href="../configuration/ConfigurationSection.html#getLocation(java.lang.String,org.bukkit.Location)" class="member-name-link">getLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> path,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> def)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the requested <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> by path, returning a default value if
|
|
not found.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">MemorySection.</span><code><a href="../configuration/MemorySection.html#getLocation(java.lang.String)" class="member-name-link">getLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> path)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">MemorySection.</span><code><a href="../configuration/MemorySection.html#getLocation(java.lang.String,org.bukkit.Location)" class="member-name-link">getLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> path,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> def)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../configuration/package-summary.html">org.bukkit.configuration</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">ConfigurationSection.</span><code><a href="../configuration/ConfigurationSection.html#getLocation(java.lang.String,org.bukkit.Location)" class="member-name-link">getLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> path,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> def)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the requested <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> by path, returning a default value if
|
|
not found.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">MemorySection.</span><code><a href="../configuration/MemorySection.html#getLocation(java.lang.String,org.bukkit.Location)" class="member-name-link">getLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> path,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> def)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.entity">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../entity/package-summary.html">org.bukkit.entity</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../entity/package-summary.html">org.bukkit.entity</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Phantom.</span><code><a href="../entity/Phantom.html#getAnchorLocation()" class="member-name-link">getAnchorLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the location that this phantom circles around when not attacking a player
|
|
This will be changed after attacking a player.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">EnderCrystal.</span><code><a href="../entity/EnderCrystal.html#getBeamTarget()" class="member-name-link">getBeamTarget</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the location that this end crystal is pointing its beam to.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#getBedLocation()" class="member-name-link">getBedLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the location of the bed the player is currently sleeping in</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#getBedSpawnLocation()" class="member-name-link">getBedSpawnLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the Location where the player will spawn at their bed, null if
|
|
they have not slept in one or their current bed spawn is invalid.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Vex.</span><code><a href="../entity/Vex.html#getBound()" class="member-name-link">getBound</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the bound of this entity.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#getCompassTarget()" class="member-name-link">getCompassTarget</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Get the previously set compass target.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">LivingEntity.</span><code><a href="../entity/LivingEntity.html#getEyeLocation()" class="member-name-link">getEyeLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Get a Location detailing the current eye position of the living entity.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Bee.</span><code><a href="../entity/Bee.html#getFlower()" class="member-name-link">getFlower</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Get the bee's flower location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Bee.</span><code><a href="../entity/Bee.html#getHive()" class="member-name-link">getHive</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Get the bee's hive location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Turtle.</span><code><a href="../entity/Turtle.html#getHome()" class="member-name-link">getHome</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Get the turtle's home location</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Allay.</span><code><a href="../entity/Allay.html#getJukebox()" class="member-name-link">getJukebox</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the jukebox the allay is set to dance to.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#getLastDeathLocation()" class="member-name-link">getLastDeathLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the player's last death location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the entity's current position</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#getLocation(org.bukkit.Location)" class="member-name-link">getLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Stores the entity's current position in the provided Location object.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#getOrigin()" class="member-name-link">getOrigin</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the location where this entity originates from.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">EnderDragon.</span><code><a href="../entity/EnderDragon.html#getPodium()" class="member-name-link">getPodium</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Get the podium location used by the ender dragon.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#getPotentialBedLocation()" class="member-name-link">getPotentialBedLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the Location of the player's bed, null if they have not slept
|
|
in one.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">FallingBlock.</span><code><a href="../entity/FallingBlock.html#getSourceLoc()" class="member-name-link">getSourceLoc</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">replaced by <a href="../entity/Entity.html#getOrigin()"><code>Entity.getOrigin()</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">TNTPrimed.</span><code><a href="../entity/TNTPrimed.html#getSourceLoc()" class="member-name-link">getSourceLoc</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">replaced by <a href="../entity/Entity.html#getOrigin()"><code>Entity.getOrigin()</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Bat.</span><code><a href="../entity/Bat.html#getTargetLocation()" class="member-name-link">getTargetLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the location that this bat is currently trying to move towards.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">EnderSignal.</span><code><a href="../entity/EnderSignal.html#getTargetLocation()" class="member-name-link">getTargetLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Get the location this EnderSignal is moving towards.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Dolphin.</span><code><a href="../entity/Dolphin.html#getTreasureLocation()" class="member-name-link">getTreasureLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the treasure location this dolphin tries to guide players to.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">WanderingTrader.</span><code><a href="../entity/WanderingTrader.html#getWanderingTowards()" class="member-name-link">getWanderingTowards</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the location that this wandering trader is currently
|
|
wandering towards.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../entity/package-summary.html">org.bukkit.entity</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#collidesAt(org.bukkit.Location)" class="member-name-link">collidesAt</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Checks for any collisions with the entity's bounding box at the provided location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#getLocation(org.bukkit.Location)" class="member-name-link">getLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Stores the entity's current position in the provided Location object.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">LivingEntity.</span><code><a href="../entity/LivingEntity.html#hasLineOfSight(org.bukkit.Location)" class="member-name-link">hasLineOfSight</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Checks whether the living entity has block line of sight to the given block.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Mob.</span><code><a href="../entity/Mob.html#lookAt(org.bukkit.Location)" class="member-name-link">lookAt</a><wbr>(<a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Instruct this Mob to look at a specific Location</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Mob.</span><code><a href="../entity/Mob.html#lookAt(org.bukkit.Location,float,float)" class="member-name-link">lookAt</a><wbr>(<a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
float headRotationSpeed,
|
|
float maxHeadPitch)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Instruct this Mob to look at a specific Location</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#lookAt(org.bukkit.Location,io.papermc.paper.entity.LookAnchor)" class="member-name-link">lookAt</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="../../../io/papermc/paper/entity/LookAnchor.html" title="enum class in io.papermc.paper.entity">LookAnchor</a> playerAnchor)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Causes the player to look towards the given location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/InventoryView.html" title="class in org.bukkit.inventory">InventoryView</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#openAnvil(org.bukkit.Location,boolean)" class="member-name-link">openAnvil</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean force)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Opens an empty anvil inventory window with the player's inventory
|
|
on the bottom.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/InventoryView.html" title="class in org.bukkit.inventory">InventoryView</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#openCartographyTable(org.bukkit.Location,boolean)" class="member-name-link">openCartographyTable</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean force)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Opens an empty cartography table inventory window with the player's inventory
|
|
on the bottom.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/InventoryView.html" title="class in org.bukkit.inventory">InventoryView</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#openEnchanting(org.bukkit.Location,boolean)" class="member-name-link">openEnchanting</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean force)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Opens an empty enchanting inventory window with the player's inventory
|
|
on the bottom.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/InventoryView.html" title="class in org.bukkit.inventory">InventoryView</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#openGrindstone(org.bukkit.Location,boolean)" class="member-name-link">openGrindstone</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean force)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Opens an empty grindstone inventory window with the player's inventory
|
|
on the bottom.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/InventoryView.html" title="class in org.bukkit.inventory">InventoryView</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#openLoom(org.bukkit.Location,boolean)" class="member-name-link">openLoom</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean force)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Opens an empty loom inventory window with the player's inventory
|
|
on the bottom.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/InventoryView.html" title="class in org.bukkit.inventory">InventoryView</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#openSmithingTable(org.bukkit.Location,boolean)" class="member-name-link">openSmithingTable</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean force)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Opens an empty smithing table inventory window with the player's inventory
|
|
on the bottom.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/InventoryView.html" title="class in org.bukkit.inventory">InventoryView</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#openStonecutter(org.bukkit.Location,boolean)" class="member-name-link">openStonecutter</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean force)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Opens an empty stonecutter inventory window with the player's inventory
|
|
on the bottom.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/InventoryView.html" title="class in org.bukkit.inventory">InventoryView</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#openWorkbench(org.bukkit.Location,boolean)" class="member-name-link">openWorkbench</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean force)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Opens an empty workbench inventory window with the player's inventory
|
|
on the bottom.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#playEffect(org.bukkit.Location,org.bukkit.Effect,int)" class="member-name-link">playEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
int data)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<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"><code><T> void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#playEffect(org.bukkit.Location,org.bukkit.Effect,T)" class="member-name-link">playEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Effect.html" title="enum class in org.bukkit">Effect</a> effect,
|
|
T data)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Plays an effect to just this player.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#playNote(org.bukkit.Location,byte,byte)" class="member-name-link">playNote</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
byte instrument,
|
|
byte note)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<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"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#playNote(org.bukkit.Location,org.bukkit.Instrument,org.bukkit.Note)" class="member-name-link">playNote</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Instrument.html" title="enum class in org.bukkit">Instrument</a> instrument,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Note.html" title="class in org.bukkit">Note</a> note)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Play a note for a player at a location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#playSound(org.bukkit.Location,java.lang.String,float,float)" class="member-name-link">playSound</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> sound,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Play a sound for a player at the location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#playSound(org.bukkit.Location,java.lang.String,org.bukkit.SoundCategory,float,float)" class="member-name-link">playSound</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> sound,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../SoundCategory.html" title="enum class in org.bukkit">SoundCategory</a> category,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Play a sound for a player at the location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#playSound(org.bukkit.Location,org.bukkit.Sound,float,float)" class="member-name-link">playSound</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Sound.html" title="enum class in org.bukkit">Sound</a> sound,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Play a sound for a player at the location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#playSound(org.bukkit.Location,org.bukkit.Sound,org.bukkit.SoundCategory,float,float)" class="member-name-link">playSound</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Sound.html" title="enum class in org.bukkit">Sound</a> sound,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../SoundCategory.html" title="enum class in org.bukkit">SoundCategory</a> category,
|
|
float volume,
|
|
float pitch)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Play a sound for a player at the location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendBlockChange(org.bukkit.Location,org.bukkit.block.data.BlockData)" class="member-name-link">sendBlockChange</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/data/BlockData.html" title="interface in org.bukkit.block.data">BlockData</a> block)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Send a block change.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendBlockChange(org.bukkit.Location,org.bukkit.Material,byte)" class="member-name-link">sendBlockChange</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Material.html" title="enum class in org.bukkit">Material</a> material,
|
|
byte data)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Magic value</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendBlockDamage(org.bukkit.Location,float)" class="member-name-link">sendBlockDamage</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float progress)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Send block damage.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendBlockDamage(org.bukkit.Location,float,int)" class="member-name-link">sendBlockDamage</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
float progress,
|
|
int destroyerIdentity)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Send block damage.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendSignChange(org.bukkit.Location,java.lang.String%5B%5D)" class="member-name-link">sendSignChange</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>[] lines)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">in favour of <a href="../entity/Player.html#sendSignChange(org.bukkit.Location,java.util.List)"><code>Player.sendSignChange(org.bukkit.Location, java.util.List)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendSignChange(org.bukkit.Location,java.lang.String%5B%5D,org.bukkit.DyeColor)" class="member-name-link">sendSignChange</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>[] lines,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../DyeColor.html" title="enum class in org.bukkit">DyeColor</a> dyeColor)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">in favour of <a href="../entity/Player.html#sendSignChange(org.bukkit.Location,java.util.List,org.bukkit.DyeColor)"><code>Player.sendSignChange(org.bukkit.Location, java.util.List, org.bukkit.DyeColor)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendSignChange(org.bukkit.Location,java.lang.String%5B%5D,org.bukkit.DyeColor,boolean)" class="member-name-link">sendSignChange</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>[] lines,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../DyeColor.html" title="enum class in org.bukkit">DyeColor</a> dyeColor,
|
|
boolean hasGlowingText)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
<div class="deprecation-comment">Deprecated in favour of <a href="../entity/Player.html#sendSignChange(org.bukkit.Location,java.util.List,org.bukkit.DyeColor,boolean)"><code>Player.sendSignChange(Location, java.util.List, DyeColor, boolean)</code></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendSignChange(org.bukkit.Location,java.util.List)" class="member-name-link">sendSignChange</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html" title="class or interface in net.kyori.adventure.text" class="external-link">Component</a>> lines)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Send a sign change.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendSignChange(org.bukkit.Location,java.util.List,boolean)" class="member-name-link">sendSignChange</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html" title="class or interface in net.kyori.adventure.text" class="external-link">Component</a>> lines,
|
|
boolean hasGlowingText)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Send a sign change.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendSignChange(org.bukkit.Location,java.util.List,org.bukkit.DyeColor)" class="member-name-link">sendSignChange</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html" title="class or interface in net.kyori.adventure.text" class="external-link">Component</a>> lines,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../DyeColor.html" title="enum class in org.bukkit">DyeColor</a> dyeColor)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Send a sign change.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendSignChange(org.bukkit.Location,java.util.List,org.bukkit.DyeColor,boolean)" class="member-name-link">sendSignChange</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html" title="class or interface in net.kyori.adventure.text" class="external-link">Component</a>> lines,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../DyeColor.html" title="enum class in org.bukkit">DyeColor</a> dyeColor,
|
|
boolean hasGlowingText)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Send a sign change.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Phantom.</span><code><a href="../entity/Phantom.html#setAnchorLocation(org.bukkit.Location)" class="member-name-link">setAnchorLocation</a><wbr>(<a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the location that this phantom circles around when not attacking a player</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">EnderCrystal.</span><code><a href="../entity/EnderCrystal.html#setBeamTarget(org.bukkit.Location)" class="member-name-link">setBeamTarget</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the location that this end crystal is pointing to.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#setBedSpawnLocation(org.bukkit.Location)" class="member-name-link">setBedSpawnLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the Location where the player will spawn at their bed.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#setBedSpawnLocation(org.bukkit.Location,boolean)" class="member-name-link">setBedSpawnLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean force)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the Location where the player will spawn at their bed.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Vex.</span><code><a href="../entity/Vex.html#setBound(org.bukkit.Location)" class="member-name-link">setBound</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the bound of this entity.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#setCompassTarget(org.bukkit.Location)" class="member-name-link">setCompassTarget</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Set the target of the player's compass.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Warden.</span><code><a href="../entity/Warden.html#setDisturbanceLocation(org.bukkit.Location)" class="member-name-link">setDisturbanceLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Make the warden sense a disturbance in the force at the location given.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Bee.</span><code><a href="../entity/Bee.html#setFlower(org.bukkit.Location)" class="member-name-link">setFlower</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Set the bee's flower location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Bee.</span><code><a href="../entity/Bee.html#setHive(org.bukkit.Location)" class="member-name-link">setHive</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Set the bee's hive location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Turtle.</span><code><a href="../entity/Turtle.html#setHome(org.bukkit.Location)" class="member-name-link">setHome</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Set the turtle's home location</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#setLastDeathLocation(org.bukkit.Location)" class="member-name-link">setLastDeathLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the player's last death location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">EnderDragon.</span><code><a href="../entity/EnderDragon.html#setPodium(org.bukkit.Location)" class="member-name-link">setPodium</a><wbr>(<a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the location of the podium for the ender dragon.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Bat.</span><code><a href="../entity/Bat.html#setTargetLocation(org.bukkit.Location)" class="member-name-link">setTargetLocation</a><wbr>(<a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the location that this bat is currently trying to move towards.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">EnderSignal.</span><code><a href="../entity/EnderSignal.html#setTargetLocation(org.bukkit.Location)" class="member-name-link">setTargetLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Set the <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> this EnderSignal is moving towards.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">EnderSignal.</span><code><a href="../entity/EnderSignal.html#setTargetLocation(org.bukkit.Location,boolean)" class="member-name-link">setTargetLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean update)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Set the <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> this EnderSignal is moving towards.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Dolphin.</span><code><a href="../entity/Dolphin.html#setTreasureLocation(org.bukkit.Location)" class="member-name-link">setTreasureLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the treasure location that this dolphin will try to lead the player to.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">WanderingTrader.</span><code><a href="../entity/WanderingTrader.html#setWanderingTowards(org.bukkit.Location)" class="member-name-link">setWanderingTowards</a><wbr>(<a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the location that this wandering trader is currently wandering towards.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">HumanEntity.</span><code><a href="../entity/HumanEntity.html#sleep(org.bukkit.Location,boolean)" class="member-name-link">sleep</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean force)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Attempts to make the entity sleep at the given location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Villager.</span><code><a href="../entity/Villager.html#sleep(org.bukkit.Location)" class="member-name-link">sleep</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Attempts to make this villager sleep at the given location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#spawnAt(org.bukkit.Location)" class="member-name-link">spawnAt</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Spawns the entity in the world at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> with the default spawn reason.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#spawnAt(org.bukkit.Location,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason)" class="member-name-link">spawnAt</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="../event/entity/CreatureSpawnEvent.SpawnReason.html" title="enum class in org.bukkit.event.entity">CreatureSpawnEvent.SpawnReason</a> reason)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Spawns the entity in the world at the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> with the reason given.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><T> void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double,T)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
double extra,
|
|
T data)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><T> void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,T)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
double offsetX,
|
|
double offsetY,
|
|
double offsetZ,
|
|
T data)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><T> void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,T)" class="member-name-link">spawnParticle</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Particle.html" title="enum class in org.bukkit">Particle</a> particle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
int count,
|
|
T data)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Spawns the particle (the number of times specified by count)
|
|
at the target location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Allay.</span><code><a href="../entity/Allay.html#startDancing(org.bukkit.Location)" class="member-name-link">startDancing</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Causes the allay to start dancing because of the provided jukebox
|
|
location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#teleport(org.bukkit.Location)" class="member-name-link">teleport</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Teleports this entity to the given location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#teleport(org.bukkit.Location,boolean)" class="member-name-link">teleport</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean ignorePassengers)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Teleports this entity to the given location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#teleport(org.bukkit.Location,boolean,boolean)" class="member-name-link">teleport</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean ignorePassengers,
|
|
boolean dismount)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Teleports this entity to the given location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#teleport(org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause)" class="member-name-link">teleport</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../event/player/PlayerTeleportEvent.TeleportCause.html" title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Teleports this entity to the given location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#teleport(org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause,boolean)" class="member-name-link">teleport</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../event/player/PlayerTeleportEvent.TeleportCause.html" title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause,
|
|
boolean ignorePassengers)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Teleports this entity to the given location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#teleport(org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause,boolean,boolean)" class="member-name-link">teleport</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../event/player/PlayerTeleportEvent.TeleportCause.html" title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause,
|
|
boolean ignorePassengers,
|
|
boolean dismount)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Teleports this entity to the given location.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>boolean</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#teleport(org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause,boolean,boolean,io.papermc.paper.entity.RelativeTeleportFlag...)" class="member-name-link">teleport</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="../event/player/PlayerTeleportEvent.TeleportCause.html" title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause,
|
|
boolean ignorePassengers,
|
|
boolean dismount,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../../../io/papermc/paper/entity/RelativeTeleportFlag.html" title="enum class in io.papermc.paper.entity">RelativeTeleportFlag</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> ... teleportFlags)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Teleports this entity to the given location.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#teleportAsync(org.bukkit.Location)" class="member-name-link">teleportAsync</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Loads/Generates(in 1.13+) the Chunk asynchronously, and then teleports the entity when the chunk is ready.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>default <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Entity.</span><code><a href="../entity/Entity.html#teleportAsync(org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause)" class="member-name-link">teleportAsync</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../event/player/PlayerTeleportEvent.TeleportCause.html" title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Loads/Generates(in 1.13+) the Chunk asynchronously, and then teleports the entity when the chunk is ready.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Method parameters in <a href="../entity/package-summary.html">org.bukkit.entity</a> with type arguments of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>default void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendMultiBlockChange(java.util.Map)" class="member-name-link">sendMultiBlockChange</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="../Location.html" title="class in org.bukkit">Location</a>,<wbr><a href="../block/data/BlockData.html" title="interface in org.bukkit.block.data">BlockData</a>> blockChanges)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Send multiple block changes.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Player.</span><code><a href="../entity/Player.html#sendMultiBlockChange(java.util.Map,boolean)" class="member-name-link">sendMultiBlockChange</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="../Location.html" title="class in org.bukkit">Location</a>,<wbr><a href="../block/data/BlockData.html" title="interface in org.bukkit.block.data">BlockData</a>> blockChanges,
|
|
boolean suppressLightUpdates)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Send multiple block changes.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.entity.memory">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../entity/memory/package-summary.html">org.bukkit.entity.memory</a></h2>
|
|
<div class="caption"><span>Fields in <a href="../entity/memory/package-summary.html">org.bukkit.entity.memory</a> with type parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Field</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>static final <a href="../entity/memory/MemoryKey.html" title="class in org.bukkit.entity.memory">MemoryKey</a><<a href="../Location.html" title="class in org.bukkit">Location</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">MemoryKey.</span><code><a href="../entity/memory/MemoryKey.html#HOME" class="member-name-link">HOME</a></code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code>static final <a href="../entity/memory/MemoryKey.html" title="class in org.bukkit.entity.memory">MemoryKey</a><<a href="../Location.html" title="class in org.bukkit">Location</a>></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">MemoryKey.</span><code><a href="../entity/memory/MemoryKey.html#JOB_SITE" class="member-name-link">JOB_SITE</a></code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code>static final <a href="../entity/memory/MemoryKey.html" title="class in org.bukkit.entity.memory">MemoryKey</a><<a href="../Location.html" title="class in org.bukkit">Location</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">MemoryKey.</span><code><a href="../entity/memory/MemoryKey.html#LIKED_NOTEBLOCK_POSITION" class="member-name-link">LIKED_NOTEBLOCK_POSITION</a></code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code>static final <a href="../entity/memory/MemoryKey.html" title="class in org.bukkit.entity.memory">MemoryKey</a><<a href="../Location.html" title="class in org.bukkit">Location</a>></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">MemoryKey.</span><code><a href="../entity/memory/MemoryKey.html#MEETING_POINT" class="member-name-link">MEETING_POINT</a></code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code>static final <a href="../entity/memory/MemoryKey.html" title="class in org.bukkit.entity.memory">MemoryKey</a><<a href="../Location.html" title="class in org.bukkit">Location</a>></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">MemoryKey.</span><code><a href="../entity/memory/MemoryKey.html#POTENTIAL_JOB_SITE" class="member-name-link">POTENTIAL_JOB_SITE</a></code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.event.block">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../event/block/package-summary.html">org.bukkit.event.block</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../event/block/package-summary.html">org.bukkit.event.block</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">BlockPistonRetractEvent.</span><code><a href="../event/block/BlockPistonRetractEvent.html#getRetractLocation()" class="member-name-link">getRetractLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.event.entity">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../event/entity/package-summary.html">org.bukkit.event.entity</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../event/entity/package-summary.html">org.bukkit.event.entity</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">EntityTeleportEvent.</span><code><a href="../event/entity/EntityTeleportEvent.html#getFrom()" class="member-name-link">getFrom</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the location that this entity moved from</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">EntityExplodeEvent.</span><code><a href="../event/entity/EntityExplodeEvent.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Returns the location where the explosion happened.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">EntityPortalEnterEvent.</span><code><a href="../event/entity/EntityPortalEnterEvent.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the portal block the entity is touching</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">EntitySpawnEvent.</span><code><a href="../event/entity/EntitySpawnEvent.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the location at which the entity is spawning.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">ItemDespawnEvent.</span><code><a href="../event/entity/ItemDespawnEvent.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the location at which the item is despawning.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">EntityTeleportEvent.</span><code><a href="../event/entity/EntityTeleportEvent.html#getTo()" class="member-name-link">getTo</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the location that this entity moved to</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../event/entity/package-summary.html">org.bukkit.event.entity</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">EntityTeleportEvent.</span><code><a href="../event/entity/EntityTeleportEvent.html#setFrom(org.bukkit.Location)" class="member-name-link">setFrom</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> from)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the location that this entity moved from</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">EntityTeleportEvent.</span><code><a href="../event/entity/EntityTeleportEvent.html#setTo(org.bukkit.Location)" class="member-name-link">setTo</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> to)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the location that this entity moved to</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../event/entity/package-summary.html">org.bukkit.event.entity</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/entity/EntityExplodeEvent.html#%3Cinit%3E(org.bukkit.entity.Entity,org.bukkit.Location,java.util.List,float)" class="member-name-link">EntityExplodeEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> what,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../block/Block.html" title="interface in org.bukkit.block">Block</a>> blocks,
|
|
float yield)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../event/entity/EntityPortalEnterEvent.html#%3Cinit%3E(org.bukkit.entity.Entity,org.bukkit.Location)" class="member-name-link">EntityPortalEnterEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> entity,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/entity/EntityPortalEvent.html#%3Cinit%3E(org.bukkit.entity.Entity,org.bukkit.Location,org.bukkit.Location)" class="member-name-link">EntityPortalEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> entity,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> to)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../event/entity/EntityPortalEvent.html#%3Cinit%3E(org.bukkit.entity.Entity,org.bukkit.Location,org.bukkit.Location,int)" class="member-name-link">EntityPortalEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> entity,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> to,
|
|
int searchRadius)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/entity/EntityPortalExitEvent.html#%3Cinit%3E(org.bukkit.entity.Entity,org.bukkit.Location,org.bukkit.Location,org.bukkit.util.Vector,org.bukkit.util.Vector)" class="member-name-link">EntityPortalExitEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> entity,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> to,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> before,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/Vector.html" title="class in org.bukkit.util">Vector</a> after)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../event/entity/EntityTeleportEvent.html#%3Cinit%3E(org.bukkit.entity.Entity,org.bukkit.Location,org.bukkit.Location)" class="member-name-link">EntityTeleportEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> what,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> to)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/entity/ItemDespawnEvent.html#%3Cinit%3E(org.bukkit.entity.Item,org.bukkit.Location)" class="member-name-link">ItemDespawnEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Item.html" title="interface in org.bukkit.entity">Item</a> despawnee,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../event/entity/ItemSpawnEvent.html#%3Cinit%3E(org.bukkit.entity.Item,org.bukkit.Location)" class="member-name-link">ItemSpawnEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Item.html" title="interface in org.bukkit.entity">Item</a> spawnee,
|
|
<a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.event.player">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../event/player/package-summary.html">org.bukkit.event.player</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../event/player/package-summary.html">org.bukkit.event.player</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">PlayerMoveEvent.</span><code><a href="../event/player/PlayerMoveEvent.html#getFrom()" class="member-name-link">getFrom</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the location this player moved from</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">PlayerInteractEvent.</span><code><a href="../event/player/PlayerInteractEvent.html#getInteractionPoint()" class="member-name-link">getInteractionPoint</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">The exact point at which the interaction occurred.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">PlayerRespawnEvent.</span><code><a href="../event/player/PlayerRespawnEvent.html#getRespawnLocation()" class="member-name-link">getRespawnLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the current respawn location</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">PlayerMoveEvent.</span><code><a href="../event/player/PlayerMoveEvent.html#getTo()" class="member-name-link">getTo</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the location this player moved to</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../event/player/package-summary.html">org.bukkit.event.player</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">PlayerMoveEvent.</span><code><a href="../event/player/PlayerMoveEvent.html#setFrom(org.bukkit.Location)" class="member-name-link">setFrom</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> from)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the location to mark as where the player moved from</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">PlayerRespawnEvent.</span><code><a href="../event/player/PlayerRespawnEvent.html#setRespawnLocation(org.bukkit.Location)" class="member-name-link">setRespawnLocation</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> respawnLocation)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Sets the new respawn location</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">PlayerMoveEvent.</span><code><a href="../event/player/PlayerMoveEvent.html#setTo(org.bukkit.Location)" class="member-name-link">setTo</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> to)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the location that this player will move to</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../event/player/package-summary.html">org.bukkit.event.player</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/player/PlayerInteractEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.event.block.Action,org.bukkit.inventory.ItemStack,org.bukkit.block.Block,org.bukkit.block.BlockFace,org.bukkit.inventory.EquipmentSlot,org.bukkit.Location)" class="member-name-link">PlayerInteractEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> who,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../event/block/Action.html" title="enum class in org.bukkit.event.block">Action</a> action,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a> item,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a> clickedBlock,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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/BlockFace.html" title="enum class in org.bukkit.block">BlockFace</a> clickedFace,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a> hand,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> interactionPoint)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../event/player/PlayerMoveEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,org.bukkit.Location)" class="member-name-link">PlayerMoveEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> player,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> to)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/player/PlayerPortalEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,org.bukkit.Location)" class="member-name-link">PlayerPortalEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> player,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> to)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../event/player/PlayerPortalEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause)" class="member-name-link">PlayerPortalEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> player,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> to,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../event/player/PlayerTeleportEvent.TeleportCause.html" title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/player/PlayerPortalEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause,int,boolean,int)" class="member-name-link">PlayerPortalEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> player,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> to,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../event/player/PlayerTeleportEvent.TeleportCause.html" title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause,
|
|
int getSearchRadius,
|
|
boolean canCreatePortal,
|
|
int creationRadius)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../event/player/PlayerRespawnEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,boolean)" class="member-name-link">PlayerRespawnEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> respawnPlayer,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> respawnLocation,
|
|
boolean isBedSpawn)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/player/PlayerRespawnEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,boolean,boolean)" class="member-name-link">PlayerRespawnEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> respawnPlayer,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> respawnLocation,
|
|
boolean isBedSpawn,
|
|
boolean isAnchorSpawn)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../event/player/PlayerRespawnEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,boolean,boolean,com.google.common.collect.ImmutableSet.Builder)" class="member-name-link">PlayerRespawnEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> respawnPlayer,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> respawnLocation,
|
|
boolean isBedSpawn,
|
|
boolean isAnchorSpawn,
|
|
<a href="https://guava.dev/releases/31.0.1-jre/api/docs/com/google/common/collect/ImmutableSet.Builder.html" title="class or interface in com.google.common.collect" class="external-link">ImmutableSet.Builder</a><<a href="../event/player/PlayerRespawnEvent.RespawnFlag.html" title="enum class in org.bukkit.event.player">PlayerRespawnEvent.RespawnFlag</a>> respawnFlags)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/player/PlayerTeleportEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,org.bukkit.Location)" class="member-name-link">PlayerTeleportEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> player,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> to)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../event/player/PlayerTeleportEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause)" class="member-name-link">PlayerTeleportEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> player,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> to,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../event/player/PlayerTeleportEvent.TeleportCause.html" title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/player/PlayerTeleportEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location,org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause,boolean,java.util.Set)" class="member-name-link">PlayerTeleportEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> player,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> to,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../event/player/PlayerTeleportEvent.TeleportCause.html" title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause,
|
|
boolean dismounted,
|
|
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</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="../../../io/papermc/paper/entity/RelativeTeleportFlag.html" title="enum class in io.papermc.paper.entity">RelativeTeleportFlag</a>> teleportFlagSet)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.event.server">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../event/server/package-summary.html">org.bukkit.event.server</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../event/server/package-summary.html">org.bukkit.event.server</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">TabCompleteEvent.</span><code><a href="../event/server/TabCompleteEvent.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../event/server/package-summary.html">org.bukkit.event.server</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/server/TabCompleteEvent.html#%3Cinit%3E(org.bukkit.command.CommandSender,java.lang.String,java.util.List,boolean,org.bukkit.Location)" class="member-name-link">TabCompleteEvent</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="../command/CommandSender.html" title="interface in org.bukkit.command">CommandSender</a> sender,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> buffer,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="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>> completions,
|
|
boolean isCommand,
|
|
<a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.event.vehicle">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../event/vehicle/package-summary.html">org.bukkit.event.vehicle</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../event/vehicle/package-summary.html">org.bukkit.event.vehicle</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">VehicleMoveEvent.</span><code><a href="../event/vehicle/VehicleMoveEvent.html#getFrom()" class="member-name-link">getFrom</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Get the previous position.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">VehicleMoveEvent.</span><code><a href="../event/vehicle/VehicleMoveEvent.html#getTo()" class="member-name-link">getTo</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Get the next position.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../event/vehicle/package-summary.html">org.bukkit.event.vehicle</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/vehicle/VehicleMoveEvent.html#%3Cinit%3E(org.bukkit.entity.Vehicle,org.bukkit.Location,org.bukkit.Location)" class="member-name-link">VehicleMoveEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Vehicle.html" title="interface in org.bukkit.entity">Vehicle</a> vehicle,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> from,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> to)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.event.world">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../event/world/package-summary.html">org.bukkit.event.world</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../event/world/package-summary.html">org.bukkit.event.world</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">GenericGameEvent.</span><code><a href="../event/world/GenericGameEvent.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Get the location where the event occurred.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">StructureGrowEvent.</span><code><a href="../event/world/StructureGrowEvent.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets the location of the structure.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">SpawnChangeEvent.</span><code><a href="../event/world/SpawnChangeEvent.html#getPreviousLocation()" class="member-name-link">getPreviousLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the previous spawn location</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../event/world/package-summary.html">org.bukkit.event.world</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/world/GenericGameEvent.html#%3Cinit%3E(org.bukkit.GameEvent,org.bukkit.Location,org.bukkit.entity.Entity,int,boolean)" class="member-name-link">GenericGameEvent</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="../GameEvent.html" title="class in org.bukkit">GameEvent</a> event,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../entity/Entity.html" title="interface in org.bukkit.entity">Entity</a> entity,
|
|
int radius,
|
|
boolean isAsync)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../event/world/SpawnChangeEvent.html#%3Cinit%3E(org.bukkit.World,org.bukkit.Location)" class="member-name-link">SpawnChangeEvent</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="../World.html" title="interface in org.bukkit">World</a> world,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> previousLocation)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../event/world/StructureGrowEvent.html#%3Cinit%3E(org.bukkit.Location,org.bukkit.TreeType,boolean,org.bukkit.entity.Player,java.util.List)" class="member-name-link">StructureGrowEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../TreeType.html" title="enum class in org.bukkit">TreeType</a> species,
|
|
boolean bonemeal,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> player,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../block/BlockState.html" title="interface in org.bukkit.block">BlockState</a>> blocks)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.generator">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../generator/package-summary.html">org.bukkit.generator</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../generator/package-summary.html">org.bukkit.generator</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">ChunkGenerator.</span><code><a href="../generator/ChunkGenerator.html#getFixedSpawnLocation(org.bukkit.World,java.util.Random)" class="member-name-link">getFixedSpawnLocation</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="../World.html" title="interface in org.bukkit">World</a> world,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/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/Random.html" title="class or interface in java.util" class="external-link">Random</a> random)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets a fixed spawn location to use for a given world.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../generator/package-summary.html">org.bukkit.generator</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>boolean</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">LimitedRegion.</span><code><a href="../generator/LimitedRegion.html#isInRegion(org.bukkit.Location)" class="member-name-link">isInRegion</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Checks if the given <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> is in the region.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.inventory">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../inventory/package-summary.html">org.bukkit.inventory</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../inventory/package-summary.html">org.bukkit.inventory</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Inventory.</span><code><a href="../inventory/Inventory.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Get the location of the block or entity which corresponds to this inventory.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.inventory.meta">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../inventory/meta/package-summary.html">org.bukkit.inventory.meta</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../inventory/meta/package-summary.html">org.bukkit.inventory.meta</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">CompassMeta.</span><code><a href="../inventory/meta/CompassMeta.html#getLodestone()" class="member-name-link">getLodestone</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets the location that this compass will point to.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../inventory/meta/package-summary.html">org.bukkit.inventory.meta</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">CompassMeta.</span><code><a href="../inventory/meta/CompassMeta.html#setLodestone(org.bukkit.Location)" class="member-name-link">setLodestone</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../Location.html" title="class in org.bukkit">Location</a> lodestone)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets the location this lodestone compass will point to.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.loot">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../loot/package-summary.html">org.bukkit.loot</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../loot/package-summary.html">org.bukkit.loot</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">LootContext.</span><code><a href="../loot/LootContext.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The <a href="../Location.html" title="class in org.bukkit"><code>Location</code></a> to store where the loot will be generated.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../loot/package-summary.html">org.bukkit.loot</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../loot/LootContext.Builder.html#%3Cinit%3E(org.bukkit.Location)" class="member-name-link">Builder</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates a new LootContext.Builder instance to facilitate easy
|
|
creation of <a href="../loot/LootContext.html" title="class in org.bukkit.loot"><code>LootContext</code></a>s.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.structure">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../structure/package-summary.html">org.bukkit.structure</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../structure/package-summary.html">org.bukkit.structure</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Structure.</span><code><a href="../structure/Structure.html#fill(org.bukkit.Location,org.bukkit.Location,boolean)" class="member-name-link">fill</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> corner1,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> corner2,
|
|
boolean includeEntities)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Fills the structure from an area in a world.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>void</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Structure.</span><code><a href="../structure/Structure.html#fill(org.bukkit.Location,org.bukkit.util.BlockVector,boolean)" class="member-name-link">fill</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> origin,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/BlockVector.html" title="class in org.bukkit.util">BlockVector</a> size,
|
|
boolean includeEntities)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Fills the Structure from an area in a world, starting at the specified
|
|
origin and extending in each axis according to the specified size vector.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Structure.</span><code><a href="../structure/Structure.html#place(org.bukkit.Location,boolean,org.bukkit.block.structure.StructureRotation,org.bukkit.block.structure.Mirror,int,float,java.util.Random)" class="member-name-link">place</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location,
|
|
boolean includeEntities,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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/structure/StructureRotation.html" title="enum class in org.bukkit.block.structure">StructureRotation</a> structureRotation,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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/structure/Mirror.html" title="enum class in org.bukkit.block.structure">Mirror</a> mirror,
|
|
int palette,
|
|
float integrity,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/annotations/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/Random.html" title="class or interface in java.util" class="external-link">Random</a> random)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Place a structure in the world.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.bukkit.util">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../util/package-summary.html">org.bukkit.util</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../util/package-summary.html">org.bukkit.util</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">StructureSearchResult.</span><code><a href="../util/StructureSearchResult.html#getLocation()" class="member-name-link">getLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Return the location of the structure.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">Vector.</span><code><a href="../util/Vector.html#toLocation(org.bukkit.World)" class="member-name-link">toLocation</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="../World.html" title="interface in org.bukkit">World</a> world)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Gets a Location version of this vector with yaw and pitch being 0.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Vector.</span><code><a href="../util/Vector.html#toLocation(org.bukkit.World,float,float)" class="member-name-link">toLocation</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="../World.html" title="interface in org.bukkit">World</a> world,
|
|
float yaw,
|
|
float pitch)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets a Location version of this vector.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../util/package-summary.html">org.bukkit.util</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>static <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/BoundingBox.html" title="class in org.bukkit.util">BoundingBox</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">BoundingBox.</span><code><a href="../util/BoundingBox.html#of(org.bukkit.Location,double,double,double)" class="member-name-link">of</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> center,
|
|
double x,
|
|
double y,
|
|
double z)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Creates a new bounding box using the given center and extents.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static <a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../util/BoundingBox.html" title="class in org.bukkit.util">BoundingBox</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">BoundingBox.</span><code><a href="../util/BoundingBox.html#of(org.bukkit.Location,org.bukkit.Location)" class="member-name-link">of</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> corner1,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> corner2)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Creates a new bounding box using the coordinates of the given locations
|
|
as corners.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><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="../util/BoundingBox.html" title="class in org.bukkit.util">BoundingBox</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">BoundingBox.</span><code><a href="../util/BoundingBox.html#shift(org.bukkit.Location)" class="member-name-link">shift</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> shift)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Shifts this bounding box by the given amounts.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><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="../util/BoundingBox.html" title="class in org.bukkit.util">BoundingBox</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">BoundingBox.</span><code><a href="../util/BoundingBox.html#union(org.bukkit.Location)" class="member-name-link">union</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> position)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Expands this bounding box to contain (or border) the specified position.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../util/package-summary.html">org.bukkit.util</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../util/BlockIterator.html#%3Cinit%3E(org.bukkit.Location)" class="member-name-link">BlockIterator</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Constructs the BlockIterator.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../util/BlockIterator.html#%3Cinit%3E(org.bukkit.Location,double)" class="member-name-link">BlockIterator</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double yOffset)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Constructs the BlockIterator.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../util/BlockIterator.html#%3Cinit%3E(org.bukkit.Location,double,int)" class="member-name-link">BlockIterator</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> loc,
|
|
double yOffset,
|
|
int maxDistance)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Constructs the BlockIterator.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="org.spigotmc.event.player">
|
|
<h2>Uses of <a href="../Location.html" title="class in org.bukkit">Location</a> in <a href="../../spigotmc/event/player/package-summary.html">org.spigotmc.event.player</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../spigotmc/event/player/package-summary.html">org.spigotmc.event.player</a> that return <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">PlayerSpawnLocationEvent.</span><code><a href="../../spigotmc/event/player/PlayerSpawnLocationEvent.html#getSpawnLocation()" class="member-name-link">getSpawnLocation</a>()</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Gets player's spawn location.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../../spigotmc/event/player/package-summary.html">org.spigotmc.event.player</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Method</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">PlayerSpawnLocationEvent.</span><code><a href="../../spigotmc/event/player/PlayerSpawnLocationEvent.html#setSpawnLocation(org.bukkit.Location)" class="member-name-link">setSpawnLocation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a> location)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Sets player's spawn location.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../../spigotmc/event/player/package-summary.html">org.spigotmc.event.player</a> with parameters of type <a href="../Location.html" title="class in org.bukkit">Location</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../spigotmc/event/player/PlayerSpawnLocationEvent.html#%3Cinit%3E(org.bukkit.entity.Player,org.bukkit.Location)" class="member-name-link">PlayerSpawnLocationEvent</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../entity/Player.html" title="interface in org.bukkit.entity">Player</a> who,
|
|
<a href="https://javadoc.io/doc/org.jetbrains/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> spawnLocation)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|