Uses of Enum Class
Modifier and TypeMethodDescriptionVillagerCareerChangeEvent.
()Gets the reason for why the villager's career is changing.VillagerCareerChangeEvent.ChangeReason.
String name)(Returns the enum constant of this class with the specified name.VillagerCareerChangeEvent.ChangeReason.
()Returns an array containing the constants of this enum class, in the order they are declared.