Uses of Class
org.bukkit.event.entity.VillagerCareerChangeEvent.ChangeReason
Package | Description |
---|---|
org.bukkit.event.entity |
-
Uses of VillagerCareerChangeEvent.ChangeReason in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return VillagerCareerChangeEvent.ChangeReason Modifier and Type Method 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.Constructors in org.bukkit.event.entity with parameters of type VillagerCareerChangeEvent.ChangeReason Constructor Description VillagerCareerChangeEvent(Villager what, Villager.Profession profession, VillagerCareerChangeEvent.ChangeReason reason)