| Package | Description | 
|---|---|
| org.bukkit | The root package of the Bukkit API, contains generalized API classes. | 
| org.bukkit.entity | Interfaces for non-voxel objects that can exist in a  world, including all players, monsters, projectiles, etc. | 
| Modifier and Type | Field | Description | 
|---|---|---|
| static Registry<Villager.Type> | Registry. VILLAGER_TYPE | Villager type. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull Villager.Type | Villager. getVillagerType() | Gets the current type of this villager. | 
| Villager.Type | ZombieVillager. getVillagerType() | Gets the current type of this villager. | 
| static Villager.Type | Villager.Type. valueOf(String name) | Returns the enum constant of this type with the specified name. | 
| static Villager.Type[] | Villager.Type. values() | Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | Villager. setVillagerType(@NotNull Villager.Type type) | Sets the new type of this villager. | 
| void | ZombieVillager. setVillagerType(Villager.Type type) | Sets the new type of this villager. | 
Copyright © 2020. All rights reserved.