Uses of Enum
org.bukkit.event.entity.VillagerCareerChangeEvent.ChangeReason
Package
Description
-
Uses of VillagerCareerChangeEvent.ChangeReason in org.bukkit.event.entity
Modifier and TypeMethodDescriptionVillagerCareerChangeEvent.getReason()
Gets the reason for why the villager's career is changing.Returns the enum constant of this type with the specified name.VillagerCareerChangeEvent.ChangeReason.values()
Returns an array containing the constants of this enum type, in the order they are declared.ModifierConstructorDescriptionVillagerCareerChangeEvent(Villager what, Villager.Profession profession, VillagerCareerChangeEvent.ChangeReason reason)