| 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 and Description | 
|---|---|
static Registry<Villager.Type> | 
Registry.VILLAGER_TYPE
Villager type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Villager.Type | 
ZombieVillager.getVillagerType()
Gets the current type of this villager. 
 | 
@NotNull Villager.Type | 
Villager.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 and Description | 
|---|---|
void | 
ZombieVillager.setVillagerType(Villager.Type type)
Sets the new type of this villager. 
 | 
void | 
Villager.setVillagerType(@NotNull Villager.Type type)
Sets the new type of this villager. 
 | 
Copyright © 2022. All rights reserved.