Uses of Class
org.bukkit.entity.Villager.Profession
-
Packages that use Villager.Profession Package Description org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld, including all players, monsters, projectiles, etc. -
-
Uses of Villager.Profession in org.bukkit.entity
Methods in org.bukkit.entity that return Villager.Profession Modifier and Type Method Description Villager.ProfessionVillager.Career. getProfession()Get theVillager.ProfessionthisVillager.Careerbelongs to.Villager.ProfessionVillager. getProfession()Gets the current profession of this villager.Villager.ProfessionZombie. getVillagerProfession()Deprecated.Villager.ProfessionZombieVillager. getVillagerProfession()Returns the villager profession of this zombie.static Villager.ProfessionVillager.Profession. valueOf(String name)Returns the enum constant of this type with the specified name.static Villager.Profession[]Villager.Profession. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bukkit.entity with parameters of type Villager.Profession Modifier and Type Method Description static List<Villager.Career>Villager.Career. getCareers(Villager.Profession profession)Get an immutable list ofVillager.Careers that can be used with a givenVillager.ProfessionvoidVillager. 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.
-