<divclass="col-second even-row-color"><code><ahref="Pathfinder.PathResult.html"class="type-name-link"title="interface in com.destroystokyo.paper.entity">Pathfinder.PathResult</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">Represents the result of a pathfinding calculation</div>
<divclass="block">Checks if this pathfinder allows passing through open doors.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Pathfinder.PathResult.html"title="interface in com.destroystokyo.paper.entity">Pathfinder.PathResult</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#findPath(org.bukkit.entity.LivingEntity)"class="member-name-link">findPath</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/entity/LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a> target)</code></div>
<divclass="block">Calculates a destination for the Entity to navigate to to reach the target entity,
but does not set it as the current target.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Pathfinder.PathResult.html"title="interface in com.destroystokyo.paper.entity">Pathfinder.PathResult</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#findPath(org.bukkit.Location)"class="member-name-link">findPath</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/Location.html"title="class in org.bukkit">Location</a> loc)</code></div>
<divclass="block">Calculates a destination for the Entity to navigate to, but does not set it
as the current target.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Pathfinder.PathResult.html"title="interface in com.destroystokyo.paper.entity">Pathfinder.PathResult</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/entity/Mob.html"title="interface in org.bukkit.entity">Mob</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#moveTo(com.destroystokyo.paper.entity.Pathfinder.PathResult)"class="member-name-link">moveTo</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Pathfinder.PathResult.html"title="interface in com.destroystokyo.paper.entity">Pathfinder.PathResult</a> path)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#moveTo(com.destroystokyo.paper.entity.Pathfinder.PathResult,double)"class="member-name-link">moveTo</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Pathfinder.PathResult.html"title="interface in com.destroystokyo.paper.entity">Pathfinder.PathResult</a> path,
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#moveTo(org.bukkit.entity.LivingEntity)"class="member-name-link">moveTo</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/entity/LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a> target)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#moveTo(org.bukkit.entity.LivingEntity,double)"class="member-name-link">moveTo</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/entity/LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a> target,
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#moveTo(org.bukkit.Location)"class="member-name-link">moveTo</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/Location.html"title="class in org.bukkit">Location</a> loc)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#moveTo(org.bukkit.Location,double)"class="member-name-link">moveTo</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/Location.html"title="class in org.bukkit">Location</a> loc,
<divclass="block">Instructs the Entity to stop trying to navigate to its current desired location</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<sectionclass="details">
<ulclass="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<sectionclass="method-details"id="method-detail">
<h2>Method Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="getEntity()">
<h3>getEntity</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/entity/Mob.html"title="interface in org.bukkit.entity">Mob</a></span> <spanclass="element-name">getEntity</span>()</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The entity that is controlled by this pathfinder</dd>
<divclass="block">If the entity is currently trying to navigate to a destination, this will return true</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>true if the entity is navigating to a destination</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getCurrentPath()">
<h3>getCurrentPath</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Pathfinder.PathResult.html"title="interface in com.destroystokyo.paper.entity">Pathfinder.PathResult</a></span> <spanclass="element-name">getCurrentPath</span>()</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The location the entity is trying to navigate to, or null if there is no destination</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Pathfinder.PathResult.html"title="interface in com.destroystokyo.paper.entity">Pathfinder.PathResult</a></span> <spanclass="element-name">findPath</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/Location.html"title="class in org.bukkit">Location</a> loc)</span></div>
<divclass="block">Calculates a destination for the Entity to navigate to, but does not set it
as the current target. Useful for calculating what would happen before setting it.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>loc</code> - Location to navigate to</dd>
<dt>Returns:</dt>
<dd>The closest Location the Entity can get to for this navigation, or null if no path could be calculated</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Pathfinder.PathResult.html"title="interface in com.destroystokyo.paper.entity">Pathfinder.PathResult</a></span> <spanclass="element-name">findPath</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/entity/LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a> target)</span></div>
<divclass="block">Calculates a destination for the Entity to navigate to to reach the target entity,
but does not set it as the current target.
Useful for calculating what would happen before setting it.
The behavior of this PathResult is subject to the games pathfinding rules, and may
result in the pathfinding automatically updating to follow the target Entity.
However, this behavior is not guaranteed, and is subject to the games behavior.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>target</code> - the Entity to navigate to</dd>
<dt>Returns:</dt>
<dd>The closest Location the Entity can get to for this navigation, or null if no path could be calculated</dd>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type">boolean</span> <spanclass="element-name">moveTo</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/Location.html"title="class in org.bukkit">Location</a> loc)</span></div>
<divclass="block">Calculates a destination for the Entity to navigate to, and sets it with default speed
as the current target.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>loc</code> - Location to navigate to</dd>
<dt>Returns:</dt>
<dd>If the pathfinding was successfully started</dd>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type">boolean</span> <spanclass="element-name">moveTo</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/Location.html"title="class in org.bukkit">Location</a> loc,
double speed)</span></div>
<divclass="block">Calculates a destination for the Entity to navigate to, with desired speed
as the current target.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>loc</code> - Location to navigate to</dd>
<dd><code>speed</code> - Speed multiplier to navigate at, where 1 is 'normal'</dd>
<dt>Returns:</dt>
<dd>If the pathfinding was successfully started</dd>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type">boolean</span> <spanclass="element-name">moveTo</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/entity/LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a> target)</span></div>
<divclass="block">Calculates a destination for the Entity to navigate to to reach the target entity,
and sets it with default speed.
The behavior of this PathResult is subject to the games pathfinding rules, and may
result in the pathfinding automatically updating to follow the target Entity.
However, this behavior is not guaranteed, and is subject to the games behavior.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>target</code> - the Entity to navigate to</dd>
<dt>Returns:</dt>
<dd>If the pathfinding was successfully started</dd>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type">boolean</span> <spanclass="element-name">moveTo</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/entity/LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a> target,
double speed)</span></div>
<divclass="block">Calculates a destination for the Entity to navigate to to reach the target entity,
and sets it with specified speed.
The behavior of this PathResult is subject to the games pathfinding rules, and may
result in the pathfinding automatically updating to follow the target Entity.
However, this behavior is not guaranteed, and is subject to the games behavior.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>target</code> - the Entity to navigate to</dd>
<dd><code>speed</code> - Speed multiplier to navigate at, where 1 is 'normal'</dd>
<dt>Returns:</dt>
<dd>If the pathfinding was successfully started</dd>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type">boolean</span> <spanclass="element-name">moveTo</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Pathfinder.PathResult.html"title="interface in com.destroystokyo.paper.entity">Pathfinder.PathResult</a> path)</span></div>
<divclass="block">Takes the result of a previous pathfinding calculation and sets it
as the active pathfinding with default speed.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>path</code> - The Path to start following</dd>
<dt>Returns:</dt>
<dd>If the pathfinding was successfully started</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">moveTo</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Pathfinder.PathResult.html"title="interface in com.destroystokyo.paper.entity">Pathfinder.PathResult</a> path,
double speed)</span></div>
<divclass="block">Takes the result of a previous pathfinding calculation and sets it
as the active pathfinding,</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>path</code> - The Path to start following</dd>
<dd><code>speed</code> - Speed multiplier to navigate at, where 1 is 'normal'</dd>
<dt>Returns:</dt>
<dd>If the pathfinding was successfully started</dd>