Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method and Description |
---|---|
@NotNull 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(@NotNull Villager what,
@NotNull Villager.Profession profession,
@NotNull VillagerCareerChangeEvent.ChangeReason reason) |
Copyright © 2021. All rights reserved.