<dd><code><ahref="Ageable.html"title="interface in org.bukkit.entity">Ageable</a></code>, <code><ahref="../attribute/Attributable.html"title="interface in org.bukkit.attribute">Attributable</a></code>, <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="Creature.html"title="interface in org.bukkit.entity">Creature</a></code>, <code><ahref="Damageable.html"title="interface in org.bukkit.entity">Damageable</a></code>, <code><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></code>, <code><ahref="../../../io/papermc/paper/entity/Frictional.html"title="interface in io.papermc.paper.entity">Frictional</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="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a></code>, <code><ahref="../loot/Lootable.html"title="interface in org.bukkit.loot">Lootable</a></code>, <code><ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></code>, <code><ahref="Mob.html"title="interface in org.bukkit.entity">Mob</a></code>, <code><ahref="Monster.html"title="interface in org.bukkit.entity">Monster</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="../projectiles/ProjectileSource.html"title="interface in org.bukkit.projectiles">ProjectileSource</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>, <code><ahref="Zombie.html"title="interface in org.bukkit.entity">Zombie</a></code></dd>
extends <ahref="Zombie.html"title="interface in org.bukkit.entity">Zombie</a></span></div>
<divclass="block">Represents a <ahref="Zombie.html"title="interface in org.bukkit.entity"><code>Zombie</code></a> which was once a <ahref="Villager.html"title="interface in org.bukkit.entity"><code>Villager</code></a>.</div>
<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="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="../OfflinePlayer.html"title="interface in org.bukkit">OfflinePlayer</a></code></div>
<divclass="block">Gets the amount of ticks until this entity will be converted to a
Villager as a result of being cured.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="Villager.Profession.html"title="enum class in org.bukkit.entity">Villager.Profession</a></code></div>
<divclass="block">Returns the villager profession of this zombie.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="Villager.Type.html"title="enum class in org.bukkit.entity">Villager.Type</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setConversionPlayer(org.bukkit.OfflinePlayer)"class="member-name-link">setConversionPlayer</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="../OfflinePlayer.html"title="interface in org.bukkit">OfflinePlayer</a> conversionPlayer)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setVillagerProfession(org.bukkit.entity.Villager.Profession)"class="member-name-link">setVillagerProfession</a><wbr>(<ahref="Villager.Profession.html"title="enum class in org.bukkit.entity">Villager.Profession</a> profession)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setVillagerType(org.bukkit.entity.Villager.Type)"class="member-name-link">setVillagerType</a><wbr>(<ahref="Villager.Type.html"title="enum class in org.bukkit.entity">Villager.Type</a> type)</code></div>
<divclass="block">Sets the new type of this villager.</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.entity.Ageable">Methods inherited from interface org.bukkit.entity.<ahref="Ageable.html"title="interface in org.bukkit.entity">Ageable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.attribute.Attributable">Methods inherited from interface org.bukkit.attribute.<ahref="../attribute/Attributable.html"title="interface in org.bukkit.attribute">Attributable</a></h3>
<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.Damageable">Methods inherited from interface org.bukkit.entity.<ahref="Damageable.html"title="interface in org.bukkit.entity">Damageable</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-io.papermc.paper.entity.Frictional">Methods inherited from interface io.papermc.paper.entity.<ahref="../../../io/papermc/paper/entity/Frictional.html"title="interface in io.papermc.paper.entity">Frictional</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.entity.LivingEntity">Methods inherited from interface org.bukkit.entity.<ahref="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.loot.Lootable">Methods inherited from interface org.bukkit.loot.<ahref="../loot/Lootable.html"title="interface in org.bukkit.loot">Lootable</a></h3>
<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.entity.Mob">Methods inherited from interface org.bukkit.entity.<ahref="Mob.html"title="interface in org.bukkit.entity">Mob</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.projectiles.ProjectileSource">Methods inherited from interface org.bukkit.projectiles.<ahref="../projectiles/ProjectileSource.html"title="interface in org.bukkit.projectiles">ProjectileSource</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>
<h3id="methods-inherited-from-class-org.bukkit.entity.Zombie">Methods inherited from interface org.bukkit.entity.<ahref="Zombie.html"title="interface in org.bukkit.entity">Zombie</a></h3>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setVillagerProfession</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="Villager.Profession.html"title="enum class in org.bukkit.entity">Villager.Profession</a> profession)</span></div>
<divclass="block">Sets the villager profession of this zombie.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Zombie.html#setVillagerProfession(org.bukkit.entity.Villager.Profession)">setVillagerProfession</a></code> in interface <code><ahref="Zombie.html"title="interface in org.bukkit.entity">Zombie</a></code></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="Villager.Profession.html"title="enum class in org.bukkit.entity">Villager.Profession</a></span> <spanclass="element-name">getVillagerProfession</span>()</div>
<divclass="block">Returns the villager profession of this zombie.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Zombie.html#getVillagerProfession()">getVillagerProfession</a></code> in interface <code><ahref="Zombie.html"title="interface in org.bukkit.entity">Zombie</a></code></dd>
<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="Villager.Type.html"title="enum class in org.bukkit.entity">Villager.Type</a></span> <spanclass="element-name">getVillagerType</span>()</div>
<divclass="block">Gets the current type of this villager.</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setVillagerType</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="Villager.Type.html"title="enum class in org.bukkit.entity">Villager.Type</a> type)</span></div>
<divclass="block">Sets the new type of this villager.</div>
<divclass="block">Get if this entity is in the process of converting to a Villager as a
result of being cured.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Zombie.html#isConverting()">isConverting</a></code> in interface <code><ahref="Zombie.html"title="interface in org.bukkit.entity">Zombie</a></code></dd>
<divclass="block">Gets the amount of ticks until this entity will be converted to a
Villager as a result of being cured.
When this reaches 0, the entity will be converted.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Zombie.html#getConversionTime()">getConversionTime</a></code> in interface <code><ahref="Zombie.html"title="interface in org.bukkit.entity">Zombie</a></code></dd>
<dt>Returns:</dt>
<dd>conversion time</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - if <ahref="#isConverting()"><code>isConverting()</code></a> is false.</dd>
<divclass="block">Sets the amount of ticks until this entity will be converted to a
Villager as a result of being cured.
When this reaches 0, the entity will be converted. A value of less than 0
will stop the current conversion process without converting the current
entity.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Zombie.html#setConversionTime(int)">setConversionTime</a></code> in interface <code><ahref="Zombie.html"title="interface in org.bukkit.entity">Zombie</a></code></dd>
<dt>Parameters:</dt>
<dd><code>time</code> - new conversion time</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getConversionPlayer()">
<h3>getConversionPlayer</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="../OfflinePlayer.html"title="interface in org.bukkit">OfflinePlayer</a></span> <spanclass="element-name">getConversionPlayer</span>()</div>
<divclass="block">Gets the player who initiated the conversion.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the player, or <code>null</code> if the player is unknown or the
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setConversionPlayer</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="../OfflinePlayer.html"title="interface in org.bukkit">OfflinePlayer</a> conversionPlayer)</span></div>
<divclass="block">Sets the player who initiated the conversion.
<p>
This has no effect if this entity isn't converting currently.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>conversionPlayer</code> - the player</dd>