<dd><code><ahref="AbstractVillager.html"title="interface in org.bukkit.entity">AbstractVillager</a></code>, <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="Breedable.html"title="interface in org.bukkit.entity">Breedable</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="../inventory/InventoryHolder.html"title="interface in org.bukkit.inventory">InventoryHolder</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="../inventory/Merchant.html"title="interface in org.bukkit.inventory">Merchant</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="../Nameable.html"title="interface in org.bukkit">Nameable</a></code>, <code><ahref="NPC.html"title="interface in org.bukkit.entity">NPC</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></dd>
<divclass="col-second even-row-color"><code><ahref="Villager.Profession.html"class="type-name-link"title="enum class in org.bukkit.entity">Villager.Profession</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">Represents the various different Villager professions there may be.</div>
<divclass="col-second odd-row-color"><code><ahref="Villager.Type.html"class="type-name-link"title="enum class in org.bukkit.entity">Villager.Type</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">Represents Villager type, usually corresponding to what biome they spawn
in.</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="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="Villager.Profession.html"title="enum class in org.bukkit.entity">Villager.Profession</a></code></div>
<divclass="block">Gets the current profession of this villager.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager">Reputation</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#getReputation(java.util.UUID)"class="member-name-link">getReputation</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a> uniqueId)</code></div>
<divclass="block">Get the <ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager"><code>reputation</code></a>
for a specific player by <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link"><code>UUID</code></a>.</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="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><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a>,<wbr><ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager">Reputation</a>></code></div>
<divclass="block">Get all <ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager"><code>reputations</code></a>
for all players mapped by their <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link"><code>unique IDs</code></a>.</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="Villager.Type.html"title="enum class in org.bukkit.entity">Villager.Type</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setProfession(org.bukkit.entity.Villager.Profession)"class="member-name-link">setProfession</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="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="#setReputation(java.util.UUID,com.destroystokyo.paper.entity.villager.Reputation)"class="member-name-link">setReputation</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a> uniqueId,
<ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager">Reputation</a> reputation)</code></div>
<divclass="block">Set the <ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager"><code>reputation</code></a>
for a specific player by <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link"><code>UUID</code></a>.</div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setReputations(java.util.Map)"class="member-name-link">setReputations</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="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><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a>,<wbr><ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager">Reputation</a>> reputations)</code></div>
<divclass="block">Set all <ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager"><code>reputations</code></a>
for all players mapped by their <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link"><code>unique IDs</code></a>.</div>
<divclass="col-second even-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="https://javadoc.io/doc/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)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#sleep(org.bukkit.Location)"class="member-name-link">sleep</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="../Location.html"title="class in org.bukkit">Location</a> location)</code></div>
<divclass="block">Causes this villager to wake up if he's currently sleeping.</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="ZombieVillager.html"title="interface in org.bukkit.entity">ZombieVillager</a></code></div>
<divclass="block">Convert this Villager into a ZombieVillager as if it was killed by a
Zombie.</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.entity.AbstractVillager">Methods inherited from interface org.bukkit.entity.<ahref="AbstractVillager.html"title="interface in org.bukkit.entity">AbstractVillager</a></h3>
<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.entity.Breedable">Methods inherited from interface org.bukkit.entity.<ahref="Breedable.html"title="interface in org.bukkit.entity">Breedable</a></h3>
<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.inventory.Merchant">Methods inherited from interface org.bukkit.inventory.<ahref="../inventory/Merchant.html"title="interface in org.bukkit.inventory">Merchant</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>
<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="Villager.Profession.html"title="enum class in org.bukkit.entity">Villager.Profession</a></span> <spanclass="element-name">getProfession</span>()</div>
<divclass="block">Gets the current profession of this villager.</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setProfession</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="Villager.Profession.html"title="enum class in org.bukkit.entity">Villager.Profession</a> profession)</span></div>
<divclass="block">Sets the new profession of this villager.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>profession</code> - New profession.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getVillagerType()">
<h3>getVillagerType</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="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="https://javadoc.io/doc/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>
<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 level not between [1, 5]</dd>
<divclass="block">Sets the trading experience of this villager.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>experience</code> - new experience</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 experience < 0</dd>
A villager with a level of 1 and no experience is liable to lose its
profession.
<p>
A master villager has a level of 5 in its profession and
will unlock 10 trades (2 per level).</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>amount</code> - The amount of level</dd>
<dt>Returns:</dt>
<dd>Whether trades are unlocked</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 current level plus the amount
isn't between [1, 5] or the amount isn't positive</dd>
<divclass="block">Gives to this villager some potential new trades
based to its profession and level.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>amount</code> - The amount of trades to give</dd>
<dt>Returns:</dt>
<dd>Whether trades are added</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 amount isn't positive</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">sleep</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="../Location.html"title="class in org.bukkit">Location</a> location)</span></div>
<divclass="block">Attempts to make this villager sleep at the given location.
<br>
The location must be in the current world and have a bed placed at the
location. The villager will put its head on the specified block while
sleeping.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - the location of the bed</dd>
<divclass="block">Causes this villager to wake up if he's currently sleeping.</div>
<dlclass="notes">
<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 not sleeping</dd>
<divclass="block">Causes this villager to shake his head.</div>
</section>
</li>
<li>
<sectionclass="detail"id="zombify()">
<h3>zombify</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="ZombieVillager.html"title="interface in org.bukkit.entity">ZombieVillager</a></span> <spanclass="element-name">zombify</span>()</div>
<divclass="block">Convert this Villager into a ZombieVillager as if it was killed by a
Zombie.
<b>Note:</b> this will fire a EntityTransformEvent</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the converted entity <ahref="ZombieVillager.html"title="interface in org.bukkit.entity"><code>ZombieVillager</code></a> or null if the
<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="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager">Reputation</a></span> <spanclass="element-name">getReputation</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a> uniqueId)</span></div>
<divclass="block">Get the <ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager"><code>reputation</code></a>
for a specific player by <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link"><code>UUID</code></a>.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>uniqueId</code> - The <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link"><code>UUID</code></a> of the player to get the reputation of.</dd>
<dt>Returns:</dt>
<dd>The player's copied reputation with this villager.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getReputations()">
<h3>getReputations</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="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><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a>,<wbr><ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager">Reputation</a>></span> <spanclass="element-name">getReputations</span>()</div>
<divclass="block">Get all <ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager"><code>reputations</code></a>
for all players mapped by their <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link"><code>unique IDs</code></a>.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>All <ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager"><code>reputations</code></a> for all players
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setReputation</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a> uniqueId,
<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="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager">Reputation</a> reputation)</span></div>
<divclass="block">Set the <ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager"><code>reputation</code></a>
for a specific player by <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link"><code>UUID</code></a>.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>uniqueId</code> - The <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link"><code>UUID</code></a> of the player to set the reputation of.</dd>
<dd><code>reputation</code> - The <ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager"><code>reputation</code></a> to set.</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setReputations</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="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><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a>,<wbr><ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager">Reputation</a>> reputations)</span></div>
<divclass="block">Set all <ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager"><code>reputations</code></a>
for all players mapped by their <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link"><code>unique IDs</code></a>.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>reputations</code> - All <ahref="../../../com/destroystokyo/paper/entity/villager/Reputation.html"title="class in com.destroystokyo.paper.entity.villager"><code>reputations</code></a>
for all players mapped by their <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link"><code>unique IDs</code></a>.</dd>