<dd><code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html"title="class or interface in net.kyori.adventure.audience"class="external-link">Audience</a></code>, <code><ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a></code>, <code><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEventSource</a><<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEvent.ShowEntity.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEvent.ShowEntity</a>></code>, <code><ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></code>, <code><ahref="../Nameable.html"title="interface in org.bukkit">Nameable</a></code>, <code><ahref="../permissions/Permissible.html"title="interface in org.bukkit.permissions">Permissible</a></code>, <code><ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html"title="class or interface in net.kyori.adventure.pointer"class="external-link">Pointered</a></code>, <code><ahref="Projectile.html"title="interface in org.bukkit.entity">Projectile</a></code>, <code><ahref="../permissions/ServerOperator.html"title="interface in org.bukkit.permissions">ServerOperator</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/sound/Sound.Emitter.html"title="class or interface in net.kyori.adventure.sound"class="external-link">Sound.Emitter</a></code></dd>
<divclass="col-second even-row-color"><code><ahref="FishHook.HookState.html"class="type-name-link"title="enum class in org.bukkit.entity">FishHook.HookState</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">Represents a state in which a fishing hook may be.</div>
</div>
</div>
<divclass="inherited-list">
<h2id="nested-classes-inherited-from-class-org.bukkit.entity.Entity">Nested classes/interfaces inherited from interface org.bukkit.entity.<ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></h2>
<code><ahref="Entity.Spigot.html"title="class in org.bukkit.entity">Entity.Spigot</a></code></div>
<divclass="deprecation-comment">has no effect in newer Minecraft versions</div>
</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="Entity.html"title="interface in org.bukkit.entity">Entity</a></code></div>
<divclass="block">Get the minimum number of ticks one has to wait for a fish biting.</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/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="FishHook.HookState.html"title="enum class in org.bukkit.entity">FishHook.HookState</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setHookedEntity(org.bukkit.entity.Entity)"class="member-name-link">setHookedEntity</a><wbr>(<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="Entity.html"title="interface in org.bukkit.entity">Entity</a> entity)</code></div>
<h3id="methods-inherited-from-class-net.kyori.adventure.audience.Audience">Methods inherited from interface net.kyori.adventure.audience.<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html"title="class or interface in net.kyori.adventure.audience"class="external-link">Audience</a></h3>
<code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#clearTitle()"title="class or interface in net.kyori.adventure.audience"class="external-link">clearTitle</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#deleteMessage(net.kyori.adventure.chat.SignedMessage)"title="class or interface in net.kyori.adventure.audience"class="external-link">deleteMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#deleteMessage(net.kyori.adventure.chat.SignedMessage.Signature)"title="class or interface in net.kyori.adventure.audience"class="external-link">deleteMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#filterAudience(java.util.function.Predicate)"title="class or interface in net.kyori.adventure.audience"class="external-link">filterAudience</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#forEachAudience(java.util.function.Consumer)"title="class or interface in net.kyori.adventure.audience"class="external-link">forEachAudience</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#hideBossBar(net.kyori.adventure.bossbar.BossBar)"title="class or interface in net.kyori.adventure.audience"class="external-link">hideBossBar</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#openBook(net.kyori.adventure.inventory.Book)"title="class or interface in net.kyori.adventure.audience"class="external-link">openBook</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#openBook(net.kyori.adventure.inventory.Book.Builder)"title="class or interface in net.kyori.adventure.audience"class="external-link">openBook</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#playSound(net.kyori.adventure.sound.Sound)"title="class or interface in net.kyori.adventure.audience"class="external-link">playSound</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#playSound(net.kyori.adventure.sound.Sound,double,double,double)"title="class or interface in net.kyori.adventure.audience"class="external-link">playSound</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#playSound(net.kyori.adventure.sound.Sound,net.kyori.adventure.sound.Sound.Emitter)"title="class or interface in net.kyori.adventure.audience"class="external-link">playSound</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#resetTitle()"title="class or interface in net.kyori.adventure.audience"class="external-link">resetTitle</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendActionBar(net.kyori.adventure.text.Component)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendActionBar</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendActionBar(net.kyori.adventure.text.ComponentLike)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendActionBar</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.chat.SignedMessage,net.kyori.adventure.chat.ChatType.Bound)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified,net.kyori.adventure.text.Component)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified
<h3id="methods-inherited-from-class-org.bukkit.command.CommandSender">Methods inherited from interface org.bukkit.command.<ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.entity.Entity">Methods inherited from interface org.bukkit.entity.<ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></h3>
<h3id="methods-inherited-from-class-net.kyori.adventure.text.event.HoverEventSource">Methods inherited from interface net.kyori.adventure.text.event.<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEventSource</a></h3>
<code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html#asHoverEvent()"title="class or interface in net.kyori.adventure.text.event"class="external-link">asHoverEvent</a></code></div>
<h3id="methods-inherited-from-class-org.bukkit.metadata.Metadatable">Methods inherited from interface org.bukkit.metadata.<ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.Nameable">Methods inherited from interface org.bukkit.<ahref="../Nameable.html"title="interface in org.bukkit">Nameable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.permissions.Permissible">Methods inherited from interface org.bukkit.permissions.<ahref="../permissions/Permissible.html"title="interface in org.bukkit.permissions">Permissible</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.persistence.PersistentDataHolder">Methods inherited from interface org.bukkit.persistence.<ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></h3>
<h3id="methods-inherited-from-class-net.kyori.adventure.pointer.Pointered">Methods inherited from interface net.kyori.adventure.pointer.<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html"title="class or interface in net.kyori.adventure.pointer"class="external-link">Pointered</a></h3>
<code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html#get(net.kyori.adventure.pointer.Pointer)"title="class or interface in net.kyori.adventure.pointer"class="external-link">get</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html#getOrDefault(net.kyori.adventure.pointer.Pointer,T)"title="class or interface in net.kyori.adventure.pointer"class="external-link">getOrDefault</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html#getOrDefaultFrom(net.kyori.adventure.pointer.Pointer,java.util.function.Supplier)"title="class or interface in net.kyori.adventure.pointer"class="external-link">getOrDefaultFrom</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html#pointers()"title="class or interface in net.kyori.adventure.pointer"class="external-link">pointers</a></code></div>
<h3id="methods-inherited-from-class-org.bukkit.entity.Projectile">Methods inherited from interface org.bukkit.entity.<ahref="Projectile.html"title="interface in org.bukkit.entity">Projectile</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.permissions.ServerOperator">Methods inherited from interface org.bukkit.permissions.<ahref="../permissions/ServerOperator.html"title="interface in org.bukkit.permissions">ServerOperator</a></h3>
<divclass="block">Set whether the lure enchantment should be applied to reduce the wait
time.
<p>
The default is true.<br>
Lure reduces the wait time by 100 ticks (5 seconds) for each level of the
enchantment.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>applyLure</code> - Whether the lure enchantment should be applied to reduce
the wait time</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getBiteChance()">
<h3>getBiteChance</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
<divclass="deprecation-comment">has no effect in newer Minecraft versions</div>
</div>
<divclass="block">Gets the chance of a fish biting.
<p>
0.0 = No Chance.<br>
1.0 = Instant catch.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>chance the bite chance</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="setBiteChance(double)">
<h3>setBiteChance</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html"title="class or interface in java.lang"class="external-link">IllegalArgumentException</a></span></div>
<divclass="deprecation-comment">has no effect in newer Minecraft versions</div>
</div>
<divclass="block">Sets the chance of a fish biting.
<p>
0.0 = No Chance.<br>
1.0 = Instant catch.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>chance</code> - the bite chance</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html"title="class or interface in java.lang"class="external-link">IllegalArgumentException</a></code> - if the bite chance is not between 0
<divclass="block">Check whether or not this fish hook is in open water.
<p>
Open water is defined by a 5x4x5 area of water, air and lily pads. If in
open water, treasure items may be caught.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>true if in open water, false otherwise</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getHookedEntity()">
<h3>getHookedEntity</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="Entity.html"title="interface in org.bukkit.entity">Entity</a></span> <spanclass="element-name">getHookedEntity</span>()</div>
<divclass="block">Get the entity hooked by this fish hook.</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setHookedEntity</span><wbr><spanclass="parameters">(<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="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="Entity.html"title="interface in org.bukkit.entity">Entity</a> entity)</span></div>
<divclass="block">Set the entity hooked by this fish hook.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>entity</code> - the entity to set, or null to unhook</dd>
<divclass="block">Pull the hooked entity to the caster of this fish hook. If no entity is
hooked, this method has no effect.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>true if pulled, false if no entity is hooked</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getState()">
<h3>getState</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="FishHook.HookState.html"title="enum class in org.bukkit.entity">FishHook.HookState</a></span> <spanclass="element-name">getState</span>()</div>
<divclass="block">Get the current state of this fish hook.</div>