Uses of Enum Class
org.bukkit.entity.Villager.Profession
Packages that use Villager.Profession
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.-
Uses of Villager.Profession in org.bukkit
Fields in org.bukkit with type parameters of type Villager.ProfessionModifier and TypeFieldDescriptionstatic final Registry<Villager.Profession>Registry.VILLAGER_PROFESSIONVillager profession. -
Uses of Villager.Profession in org.bukkit.entity
Methods in org.bukkit.entity that return Villager.ProfessionModifier and TypeMethodDescriptionVillager.getProfession()Gets the current profession of this villager.Zombie.getVillagerProfession()Deprecated.ZombieVillager.getVillagerProfession()Returns the villager profession of this zombie.static Villager.ProfessionReturns the enum constant of this class with the specified name.static Villager.Profession[]Villager.Profession.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.bukkit.entity with parameters of type Villager.ProfessionModifier and TypeMethodDescriptionvoidVillager.setProfession(Villager.Profession profession) Sets the new profession of this villager.voidZombie.setVillagerProfession(Villager.Profession profession) Deprecated.voidZombieVillager.setVillagerProfession(Villager.Profession profession) Sets the villager profession of this zombie. -
Uses of Villager.Profession in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return Villager.ProfessionModifier and TypeMethodDescriptionVillagerCareerChangeEvent.getProfession()Gets the future profession of the villager.Methods in org.bukkit.event.entity with parameters of type Villager.ProfessionModifier and TypeMethodDescriptionvoidVillagerCareerChangeEvent.setProfession(Villager.Profession profession) Sets the profession the villager will become from this event.Constructors in org.bukkit.event.entity with parameters of type Villager.ProfessionModifierConstructorDescriptionVillagerCareerChangeEvent(Villager what, Villager.Profession profession, VillagerCareerChangeEvent.ChangeReason reason)