Uses of Enum Class
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 class with the specified name.VillagerCareerChangeEvent.ChangeReason.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionVillagerCareerChangeEvent
(@NotNull Villager what, @NotNull Villager.Profession profession, @NotNull VillagerCareerChangeEvent.ChangeReason reason)