Package | Description |
---|---|
org.bukkit.event.entity |
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.
|
Constructor | Description |
---|---|
VillagerCareerChangeEvent(Villager what,
Villager.Profession profession,
VillagerCareerChangeEvent.ChangeReason reason) |
Copyright © 2020. All rights reserved.