| Package | Description | 
|---|---|
| org.bukkit.entity | 
 Interfaces for non-voxel objects that can exist in a  
world, including all players, monsters, projectiles, etc. | 
| Modifier and Type | Method and Description | 
|---|---|
Villager.Profession | 
Villager.getProfession()
Gets the current profession of this villager. 
 | 
Villager.Profession | 
Villager.Career.getProfession()
Get the  
Villager.Profession this Villager.Career belongs to. | 
Villager.Profession | 
ZombieVillager.getVillagerProfession()
Returns the villager profession of this zombie. 
 | 
Villager.Profession | 
Zombie.getVillagerProfession()
Deprecated.  
 | 
static Villager.Profession | 
Villager.Profession.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Villager.Profession[] | 
Villager.Profession.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static List<Villager.Career> | 
Villager.Career.getCareers(Villager.Profession profession)
Get an immutable list of  
Villager.Careers that can be used with a
 given Villager.Profession | 
void | 
Villager.setProfession(Villager.Profession profession)
Sets the new profession of this villager. 
 | 
void | 
ZombieVillager.setVillagerProfession(Villager.Profession profession)
Sets the villager profession of this zombie. 
 | 
void | 
Zombie.setVillagerProfession(Villager.Profession profession)
Deprecated.  
 | 
Copyright © 2022. All rights reserved.