| Package | Description | 
|---|---|
| org.bukkit.event.entity | 
| Modifier and Type | Method and Description | 
|---|---|
VillagerCareerChangeEvent.ChangeReason | 
VillagerCareerChangeEvent.getReason()
Gets the reason for why the villager's career is changing. 
 | 
static VillagerCareerChangeEvent.ChangeReason | 
VillagerCareerChangeEvent.ChangeReason.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static VillagerCareerChangeEvent.ChangeReason[] | 
VillagerCareerChangeEvent.ChangeReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Constructor and Description | 
|---|
VillagerCareerChangeEvent(Villager what,
                         Villager.Profession profession,
                         VillagerCareerChangeEvent.ChangeReason reason)  | 
Copyright © 2021. All rights reserved.